MESSAGE
DATE | 2022-01-11 |
FROM | Phil Biggs
|
SUBJECT | Subject: [Hangout - NYLXS] Virtual users with postfix and dovecot
|
Hello all,
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.
main.cf includes:
# 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
vmailbox contains: mb170712-at-pjb.cc ml-postfix-users # +LOTS of others
virtual contains: -at-pjb.cc all
The Dovecot users file includes: ml-postfix-users-at-pjb.cc:,:10043:10000:
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.
-- Thanks, Phil _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout
|
|