LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-20-2012, 06:40 AM   #1
piradeep
LQ Newbie
 
Registered: May 2012
Distribution: RedHat/CentOS
Posts: 27

Rep: Reputation: Disabled
Sendmail - Block emails from other domains


Hi, I have configured sendmail and it is running. I need to block all incoming/outgoing emails from other domain. Emails should be sent only within the domain. Can you guys show me a way? Thanks
 
Old 09-20-2012, 08:03 AM   #2
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 549
Blog Entries: 5

Rep: Reputation: Disabled
Hi

Look after the below link.

http://www.cyberciti.biz/faq/sendmai...cess-database/

Last edited by arun5002; 09-20-2012 at 08:05 AM.
 
Old 09-20-2012, 08:25 AM   #3
piradeep
LQ Newbie
 
Registered: May 2012
Distribution: RedHat/CentOS
Posts: 27

Original Poster
Rep: Reputation: Disabled
Thank you. This gives me an idea to block a specific domain.

I need to allow incoming/outgoing emails only within the domain and block all.
 
Old 09-21-2012, 11:20 AM   #4
piradeep
LQ Newbie
 
Registered: May 2012
Distribution: RedHat/CentOS
Posts: 27

Original Poster
Rep: Reputation: Disabled
By using /etc/mail/access, is it possible to block all domains and allow only the primary domain?
 
Old 09-21-2012, 12:09 PM   #5
piradeep
LQ Newbie
 
Registered: May 2012
Distribution: RedHat/CentOS
Posts: 27

Original Poster
Rep: Reputation: Disabled
Solved.
 
  


Reply

Tags
sendmail


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
How to Block domains in sendmail?? lhx820000 Linux - Newbie 2 06-17-2009 06:22 AM
Multiple emails accounts(with different from domains) on multiple domains on 1 server locoputo Linux - Server 0 04-12-2009 07:29 PM
Postfix: reject emails for list of recipient domains zaheer99 Linux - Server 1 01-02-2008 09:10 PM
404 emails for other domains walidaly Linux - Server 9 07-21-2007 04:07 PM
Sendmail, Adding new emails on different domains on Fedora Core 2 Ampex Linux - Software 0 02-18-2005 04:06 AM


All times are GMT -5. The time now is 10:03 AM.

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