Hello. I have mail server named "mx.example.com" that handles mail in "example.com" (virtual) domain. I use postfix 3.4.6 for this server. When something wrong happens, mail is dropped to postmaster with "double-bou...@mx.example.com" envelope sender and "mailer-dae...@mx.example.com" in the "From" header, which leads to SPF failure and spam filter triggering, because mx.example.com is not intended for using as ordinary mail domain.
So I tried to change myorigin, but this not help. I used this settings: append_at_myorigin = yes myorigin = $mydomain myhostname = mx.example.com Is it possible to change domain name for double_bounce_sender and empty_address_recipient without touching myhostname? Seems that append_at_myorigin does not work for those special purpose addresses.