On 08/07/2020 13:57, Viktor Dukhovni wrote:
NO!  The RHS value in virtual(5) tables is an*address*, not
a filename.  The correct syntax is:

        @test.com @example.com
        joe.blo...@test.com  joe.blo...@test.com

Delivering that to a particular file is done via aliases(5)
or virtual_mailbox_maps, depending on whether that address
resolves to local(8) or virtual(8).  It could also be handed
off via LMTP to Cyrus IMAP or Dovecot, in which case the
mailbox location is configured outside of Postfix.

Got it.

Do I keep or change any of these?

mydestination = mail.test.com, test.com, localhost.localdomain, localhost, 
localdomain
myhostname = mail.test.com
myorigin = /etc/mailname (test.com)

Thanks,

Paul

Reply via email to