Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-17-2010, 11:42 AM   #1
Registered: Aug 2009
Posts: 42

Rep: Reputation: 16
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.
Old 03-17-2010, 12:19 PM   #2
Senior Member
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 166Reputation: 166
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.
Old 03-17-2010, 12:30 PM   #3
Registered: Aug 2009
Posts: 42

Original Poster
Rep: Reputation: 16
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dovecot, postfix pop3/imap server issue konduktorn Linux - Server 3 02-19-2010 05:41 PM
Unable to start up Imap/Pop3 Service with Dovecot on RHEL5 and Postfix 2.3.3 bono00 Linux - Enterprise 1 05-04-2009 01:47 PM
Dovecot+Postfix+Apple IMAP+Pine Problems dilseymgr Linux - Software 0 09-10-2007 04:40 PM
postfix/dovecot imap - sent messages stay local yogaboy Linux - Software 1 02-07-2007 01:06 AM
imap pop 3 issue with postfix and dovecot on fc2 hush Fedora 0 10-30-2004 01:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration