roundcube username_domain @localhost
Posted on 2013-05-27
My Debian Postfix Dovecot mail server is nearly ready for delivery (installed with the latest versions and updates)
Rather than create virtual users (max 30 users), I opted for PAM authentication using system accounts because this allowed domain-less logins, and Usermin password management.
The snag is that Roundcube doesn't allow me to 'add' the @domain extension to the account name.
The result is that emails are then sent from name@localhost and upon arrival they seem to have swapped the @localhost part with the recipient's ISP own @domain
Thus you can't respond to the email, without retyping the correct domain name
I have tried using the following parameters in db.inc.php :
//$rcmail_config['username_domain'] = 'holinice.com';
//$rcmail_config['default_host'] = 'holinice.com';
...but then the user can't log in anymore because the login is seen as name@domain
I even tried to update the email address that is stored in the 'identities' table of the Roundcube database, but again, authentication fails
Any ideas ?