* Viktor Dukhovni <postfix-us...@dukhovni.org>:
> On Sat, Sep 28, 2013 at 12:47:22PM +0200, Peer Heinlein wrote:
> > Use dovecot with a simple passwd-file-setup in /etc/dovecot/userdb and a
> > simple relay-domains setup in Postfix and you'll be ready after half an
> > hour.
> 
> Generally, with dovecot delivery to local files, the destination domain
> should be a virtual mailbox domain, not a relay domain.

Can you explain the main differences with those two setups? Whether
the domain that is served by dovecot is in virtual_mailbox_domains or
relay_domains doesn't seem to make much of a difference.

virtual_mailbox_domains = example.com
virtual_mailbox_maps = ${map}vmbox
virtual_transport = dovecot

relay_domains = example.com
relay_recipient_maps = ${map}vmbox
transport_maps = ${map}/foo
# and there: "example.com dovecot:" or
# "example.com lmtp:..."

Granted, when LMTP delivery is used, the second setup makes it easier
to use dynamic recipient verification, but apart from that, with maps
available for Postfix... what's the difference? Both solutions seem
pretty equivalent to me.


Stefan

Attachment: signature.asc
Description: Digital signature

Reply via email to