Am 01.09.2014 um 06:57 schrieb Valdemar Jakobsen: > Dear Postfix-Users, > > I’m using sender_canonical_maps to ensure that my envelope addresses > comply with SPF policies and also allow for a valid bounce address in > the event of non-delivery. > > My gateway mail servers are configured using sender_canonical_maps with > "sender_canonical_classes = envelope_sender” and this works as expected > for internet mail submission (i.e. smtpd:25), but not for local > submission on the gateway mail server.
You will need to provide your master.cf and information on how "local submission" works in your setup, and logging for a "failing" message, and possibly constrast it to your "working" smtpd-on-port-25 submission. master.cf setups often override some of the smtpd settings for local submission ports in order to require and permit authentication for relay, and this might override your canonical mapping.