LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to block users from sending e-mail to specific domain (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-block-users-from-sending-e-mail-to-specific-domain-627464/)

satish_k 03-12-2008 05:48 AM

How to block users from sending e-mail to specific domain
 
Hi Friends,
I want to block users from sending e-mail to specific domain using sendmail.For example I want users in my domain to stop sending e-mails to gmail,yahoo,rediff domain.
Plz help me asap

Regards
Satish kori

leebrent 03-12-2008 10:53 PM

Sounds like you want to look into the /etc/mail/sendmail.mc file. You are looking to work with blacklist_recipients.

Without knowing more about your setup/version, I cannot provide much more information, try out these two links:

http://www.sendmail.org/~ca/email/do.../features.html
http://www.sendmail.org/~ca/email/do...anti_spam.html


All times are GMT -5. The time now is 08:19 AM.