Stefan Foerster:
> * Viktor Dukhovni <[email protected]>:
> > 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.
mydestination, virtual_mailbox_domains are preferred for final
delivery. Here. Postfix is the final MTA. Example: postfix->dovecot.
relay_domains is preferred for transit mail. Here, Postfix is not
the final MTA. Example: postfix->exchange.
Under the covers it is all bits and you can hook up Dovecot or Exchange
in any address class, virtual, relay, whatever.
Wietse