block email id on sendmail
am using SENDMAIL on my linux server, how do i block emails from certain email id on the server itself. i don't want certain mails to reach the email recipent. i ant to block all junk mails.
how do i do this on sendmail ?
Linux
am using SENDMAIL on my linux server, how do i block emails from certain email id on the server itself. i don't want certain mails to reach the email recipent. i ant to block all junk mails.
how do i do this on sendmail ?
by rouse01
You can block incomming mail from individuals or whole domains by adding an entry to your /etc/mail/access that looks like:
evilspammer.com REJECT
Then you need to regenerate the access.db file.
If you don't have it, I'd recommend you install webmin on your linux box. This graphical interface lets you make changes like above a snap.
Hope this hels.
This discussion is closed to new replies.
Sort by Trending