|FROM ||Phil Biggs
|SUBJECT ||Subject: [Hangout - NYLXS] Virtual users with postfix and dovecot
I have a lot of email addresses of the form mbYYMMDD-at- (just like the one I'm
sending from here). They're unique to a specific site/purpose and have
accumulated over nearly 20 years.
My current windows-based MSA allows the MUA user "ml-postfix-users" to login
and receive emails using the above email address. I'm only using POP3/SMTP and
outbound is all from the MSA via postfix.
To ease migration from the Windows server to Dovecot I would like to be able to
keep the MUA using the existing user names, rather than manually editing every
MUA account manually.
I can't figure out how to do this username-emailaddress mapping with Dovecot,
so I'm looking at using virtual in postfix. Here's what I have so far.
# Route inbound for valid recipients to dovecot
virtual_transport = lmtp:unix:/var/spool/postfix/private/dovecot-lmtp
virtual_mailbox_domains = pjb.cc
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
lmtp_use_tls = no
# +LOTS of others
The Dovecot users file includes:
Hoping someone here can tell me whether I'm on the right track with the above
or (perhaps more likely) that I'm going about this in entirely the wrong way.
Hangout mailing list