awingnut: > On 4/14/2013 10:43 AM, Wietse Venema wrote: > > awingnut: > >> smtp_generic_maps = hash:/etc/postfix/generic > > ... > >> smtp unix - - n - - smtp > >> relay unix - - n - - smtp > >> -o smtp_fallback_relay= > > What is the output from: > > > > $ postmap -s hash:/etc/postfix/generic > > > > This should be in the form > > > > user1@site1 user@site2 > > > > i.e. no ":" after the user1@site1, and no other garbage. > > > > Wietse > > > > > Yes, that is what I get. > > myaddr...@mydomain.com otheraddr...@mydomain.com
This sends mail from me to me, but smtp_generic_maps replaces all the addresses with postmaster. Commands: % postconf smtp_generic_maps smtp_generic_maps = hash:/etc/postfix/generic % postmap -q wie...@porcupine.org hash:/etc/postfix/generic postmas...@porcupine.org % date | mail wie...@porcupine.org Logging: Apr 14 12:29:29 hades postfix/qmgr[2326]: 60F3FABFF10: from=<wie...@porcupine.org>, size=327, nrcpt=1 (queue active) Apr 14 12:29:35 hades postfix/smtp[2625]: > spike.porcupine.org[168.100.189.2]:25: MAIL FROM:<postmas...@porcupine.org> SIZE=327 ... Apr 14 12:29:35 hades postfix/smtp[2625]: > spike.porcupine.org[168.100.189.2]:25: RCPT TO:<postmas...@porcupine.org> Message: To: postmas...@porcupine.org Message-Id: <20130414162929.60f3fabf...@hades.porcupine.org> Date: Sun, 14 Apr 2013 12:29:29 -0400 (EDT) From: postmas...@porcupine.org (Wietse Venema) Sun Apr 14 12:29:29 EDT 2013 Wietse