How To Stop All SMTP Traffic to a Domain?
I want to disable all incoming and outgoing SMTP traffic to a specific domain on my Postfix email server. Right now I do NOT want users to be able to send to a specific domain nor do I want my email server to accept messages from that domain. Has anyone done this and can assist me in setting this parameter up on my Postfix server?
|
add a couple lines to /etc/mail/access (assuming thats the location on your server)
Code:
badbadbad.com ERROR:5.0.0:550 We dont like you ooh shoot! i didn't see "postfix" till after i submitted. I hate ADD somtimes |
So this will not work for Postfix?
|
Or you can simply just remove the MX records for that domain, that's like rejecting the mail at the post office instead of at your own mailbox (server).
|
All times are GMT -5. The time now is 04:40 PM. |