wiskbr...@hotmail.com wrote:
Recently I've been getting a ton of email for a new domain we've registered and
have begun receiving email for. Our users in this new domain are either
1. receiving email with a From address identical to their own, or
2. receiving email with a From address of one of our other three domains, none
of the emails are valid and the real sender is sending the email from the
internet and through an external postfix gateway/relay box.
Here is a sample of my main.cf:
smtpd_recipient_restrictions =
permit_mynetworks,
reject_unauth_destination,
check_sender_access dbm:/etc/postfix/blocked_senders,
reject_rbl_client CLIENT-LICENSE.mail-abuse.com
Here are the contents of my /etc/postfix/blocked_senders file:
"operator#...@somephishingbanksite\.com" REJECT
The above line is the wrong syntax and will never match
anything. Wildcards are not allowed in dbm or other indexed
files, and quotes should never be used.
mydomain.com 554 mydomain.com sender? But you're not in my network ...
Yes, this will reject your own domain when used outside
$mynetworks.
-- Noel Jones