Roundcube Community Forum
Release Support => Pending Issues => Topic started by: robertkwild on July 27, 2015, 05:55:27 PM
-
hi all,
i cant login roundcube
i attach a link of my attachment
http://www.filedropper.com/roundcubeconfig
i have tried
robert.wild and robert.wild@robina.ddns.net my full email address
any help much appreciated
thanks
rob
-
Most likely your imap_auth_type config options is wrong.
-
What config file do I need to change for that
-
The option can be set in the config.inc.php
-
awesome thank you SKaero i will try this tonight
-
having no luck at all
i have entered in two new lines under my IMAP section (see link, the last two lines)
http://www.filedropper.com/roundcubeconfig_1
i have used "check" "plain" "auth" "null" and "LOGIN" but when i used null i get the error "connection to imap server failed" all the others just say "login failure"
any help please
thanks
rob
-
If you remove that config line and enable imap_debug in the Roundcube config was does the log say?
-
what added line should i delete of the two?
is the enable imap debug line in the same config file as this file or is it somewhere else
after i enable it im guessing if i do a tail -f /var/www/html/rc/logs i will find the error
thanks in advanced for your help much appreciated
-
damn i think i know whats wrong
stupidly i unticked the box, "auto create users", so im guessing im going to have to go inot the config file and add it in there
also shall i add the line for "username_domain" and enter in my default domain name "robina.ddns.net" ?
-
You can remove $config['auto_create_user'] = false; from the config.inc.php and it should be enabled again.
-
i deleted it from the config file, and i could successfully log in on the web, your awesome SKaero
just out of interest where do the users get created on the roundcube database, where is the location?
-
mmm, i have noticed something (i attach link to picture)
http://www.filedropper.com/roundcubecantsend
my from box appears as robert.wild@localhost, instead of my domain @robina.ddns.net
how do i change this for all my users so its user@robina.ddns.net
i know i can change this in "edit identities" but i really want it as default to all my users
-
just out of interest where do the users get created on the roundcube database, where is the location?
The users are keep in the Roundcube data in the users table. The Roundcube user is needed for settings and contacts.
how do i change this for all my users so its user@robina.ddns.net
Change the username_domain config option to your domain.
-
so in the config file do i add a new line under the IMAP section
rcmail_config['username_domain'] = 'robina.ddns.net';
-
Yes.
-
i add that line in
$rcmail_config['username_domain'] = 'robina.ddns.net';
i get a login failure, as soon as i delete the line and write quit, i can log in again so its not working
-
ive read the instructions for "username_domain" and this is only for IMAP server logins so if you login as user@domain.com, it will just be user
my problem is when i send an email to someone the from field in roundcube says robert.wild@localhost instead of my actual email address which is robert.wild@robina.ddns.net
-
Sorry you should set mail_domain not username_domain.
-
Nice one i will try this tonight when I get back from work, what section do I put this under or doesn't it matter?
-
You just need to put it in the config.inc.php.
-
ok so in my config file at the bottom i enter in a new line
$rcmail_config['mail_domain'] = 'robina.ddns.net';
write quite the file and go on my roundcube web mail and login but i still get the from field showing as locahost instead of robina.ddns.net
-
mmm do you think i should change my server hostname to be my public dns name to post.robina.ddns.net because atm it is post.robina.private, my internal dns name
and then change
$config['default_host'] = '%d';
$config['smtp_server'] = '%d';
i imagine the %d will be the robina.ddns.net or am i wrong?
-
worked it out
all i did was edit my /etc/hosts file and add at the end "robina.ddns.net" for both lines 127.0.0.1 and ::1
once i did that i changed both my IMAP server and my SMTP server in config.inc.php to
IMAP
$config['default_host'] = 'robina.ddns.net';
SMTP
$config['smtp_server'] = 'robina.ddns.net';
now when i log in to roundcube web mail when i compose email the from field is robert.wild@robina.ddns.net
is this a good way of doing it or will i end up with problems in the long run
-
That a fine way of doing it. The reason why mail_domain config option didn't work is you used $rcmail_config instead of $config.