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. > > [email protected] [email protected]
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 [email protected] hash:/etc/postfix/generic [email protected] % date | mail [email protected] Logging: Apr 14 12:29:29 hades postfix/qmgr[2326]: 60F3FABFF10: from=<[email protected]>, 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:<[email protected]> SIZE=327 ... Apr 14 12:29:35 hades postfix/smtp[2625]: > spike.porcupine.org[168.100.189.2]:25: RCPT TO:<[email protected]> Message: To: [email protected] Message-Id: <[email protected]> Date: Sun, 14 Apr 2013 12:29:29 -0400 (EDT) From: [email protected] (Wietse Venema) Sun Apr 14 12:29:29 EDT 2013 Wietse
