I need some help working out why my postfix 2.10.1 is removing the
sender address when I send mail from a $mynetworks host using a
non-$mydestination sender address. I have a very standard installation
and I am not knowingly rewriting the sender address. I have the following:
mydestination = $mydomain, $myhostname, localhost
smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated,
defer_unauth_destination
relay_domains = $mydestination
The notes in main.cf state:
# By default, Postfix relays mail
# - from "trusted" clients (IP address matches $mynetworks) to any
destination,
Using my mail client on a $mynetworks address sending from a $mydomain
address, the problem does not occur.
Using my mail client on a $mynetworks address sending from an address
which is (both) non-$mydestination and non-$mydomain, I see the
following logging which I think could be relevant:
postfix/trivial-rewrite[30908]: match_list_match:
PROBLEMSENDERDOMAIN.com: no match
When postfix tries to send the email to the upstream smarthost, it's
rejected as it has a null sender (I've confirmed this with a network
trace). I am wondering what I should check next to nail the problem.
Thanks!