I was looking at mailbox_transport_maps = hash:/etc/postfix/transports to transport 1 specific email address to another server.
postfix mta with antispam etc. => fwd to postfix mta for local imap delivery.
The second postfix has a domain @domain.test (example) and local users (passwd) with imap directories.
Now, I have one other mailserver for a testcase and I want to forward exactly 1 email address to this new server. But this email address also exists on the postfix-imap-server.
I tried with the mailbox_transport_maps which should do this but I seem to err somewhere there.
the transports is just a file like this:
it has been transformed to db with "postmap /etc/postfix/transports" and the transports.db exists.
How can I forward one email address? I know how to transport a virtual domain but this I cannot find.
postfix info: http://www.postfix.org/postconf.5.ht...transport_maps
Optional lookup tables with per-recipient message delivery transports to use for local(8) mailbox delivery, whether or not the recipients are found in the UNIX passwd database
for me this looks like it should work but instead the mail is only delivered locally on the postfix-imap-server and not forwarded to the testcase server.
note: if I do a telnet mailtest from the postfix-imap-server to the testcase server and try a mail, it works. email@example.com
is deliverable on the testcase server.