This doesn't cover the bounce message but it will take care of the
blocking.
#smtpd.conf
table senders file:/etc/mail/senders
accept sender ! <senders> from any for domain
I first tried "reject sender <senders>" but that didn't work. Is that a
bug or not applied correctly?
#/etc/mail/senders
@hotmail.com
@gmail.com
@whatever.com
This will send a delivery status notification(failure). There may be a
way to change this, but I'm not sure.
Reporting-MTA: dns;BLU004-OMC4S14.hotmail.com
Received-From-MTA: dns;BLU436-SMTP179
Arrival-Date: Sat, 28 Feb 2015 19:20:00 -0800
Final-Recipient:rfc822;[email protected]
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;550 Invalid recipient
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]