Discussion Locked

block email id on sendmail

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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 ?

1 reply

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.