Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-12-2008, 06:48 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
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

Satish kori

Last edited by satish_k; 03-12-2008 at 06:49 AM. Reason: missed some info
Old 03-12-2008, 11:53 PM   #2
Registered: Oct 2007
Location: Nanaimo
Distribution: Red Hat 5
Posts: 39

Rep: Reputation: 15
Sounds like you want to look into the /etc/mail/ 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:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Restricting local users from sending external mail (except for one domain) iolames Linux - Newbie 1 03-15-2006 10:57 AM
block specific users in squid alan.belizario Linux - Security 4 09-10-2005 12:43 AM
sending mail from my new domain name BU5T4 Linux - Newbie 1 12-12-2003 06:22 PM
Sendmail. Any way to block people from sending mail as me ForumKid Linux - Software 1 08-28-2003 01:32 PM
Port 80 -- How to block from one specific domain? (RedHat 7.0) jcroft Linux - Security 1 02-17-2002 04:50 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration