-   Linux - Software (
-   -   Authenticate as alias via IMAP (Dovecot / Postfix) (

winairmvs 03-17-2010 11:42 AM

Authenticate as alias via IMAP (Dovecot / Postfix)

We are trying to get our IMAP (Dovecot) based webmail client to authenticate the username "" as well as any aliases of that user configured in postifx. We can login using the local system user name without the suffix, but once we add the to the username the login fails. We are not sure if this is a problem with IMAP, with postfix aliasing, or even the webmail client (roundcube).

Any help would be greatly appreciated. Thanks.

rweaver 03-17-2010 12:19 PM

Well you can test each step if you know a little about the protocols--

SMTP - (great resource for that particular item)


telnet server 110
user username (or username@domain.tld, or whatever you want to test.)
pass password


telnet server 143
LOGIN username password
LIST "" *

If you want to post your configs we could likely be of more assistance, but without knowing what you have configured and how it's hard to diagnose and correct any issues that may exist.

winairmvs 03-17-2010 12:30 PM

I guess I am confused as to what software is handling the login process. I look in roundcube's configuration file and I see a setting for looking up virtual users in postfix:

// Path to a virtuser table file to resolve user names and e-mail addresses
//$rcmail_config['virtuser_file'] = '/etc/postfix/virtusertable';
$rcmail_config['virtuser_file'] = '/etc/aliases';

I also see many functions inside dovecot.conf that would look at the type of login such as:


And there is the aliasing in postfix. I really don't have a clue what I am supposed to be configuring.

All times are GMT -5. The time now is 10:01 PM.