I'm trying to better understand the use cases for relay_domains vs virtual_mailbox_domains.
In my current setup, when mail arrives, Postfix performs SMTP checks and then hands it over to Dovecot which uses it own proprietary userdb, passdb, and mdbox storage. I specifically do not want Postfix to get involved with mail storage and mail boxes, as that responsibility stays with Dovecot. Currently I have this configurations: main.cf: relay_domains = hash:/etc/postfix/relay_domains transport_maps = hash:/etc/postfix/transport_maps, $relay_domains # cat relay_domains example.com lmtp:unix:private/dovecot-lmtp So Postfix sits in front and then relays any mail for specific domains to Dovecot. Some Dovecot documentation suggests using virtual_mailbox_domains like this: main.cf: virtual_mailbox_domains = example.com virtual_alias_maps = hash:/etc/postfix/virtual virtual_transport = lmtp:unix:private/dovecot-lmtp So what would be the advantage of virtual_mailbox_domains instead of relay_domains? Is virtual_mailbox_domains mainly used when both Postfix and Dovecot need read/write access to the same mail boxes on a local file system, rather than using LMTP? _______________________________________________ Postfix-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
