I have a mail server set up on a Debian 7.2 machine running Dovecot 2.1.7 and Postfix 2.9.6. I have both Dovecot and Postfix set up to load virtual users from a database populated by Postfixadmin.
Currently the mailboxes are stored at /var/mail/example.com/username
for each user for each domain, and Dovecot (IMAP) requires the full username@example.com
to be given for authentication.
Would it be at all possible to add the ability to add alternative logins for certain e-mail addresses? Such as being able to login with admin
instead of admin@example.com
?
Best Answer
Dovecot: Adding missing domain to login
Have you tried to use auth_default_realm configuration option to fill missing domain?
http://wiki2.dovecot.org/DomainLost