LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sendmail - Block emails from other domains (http://www.linuxquestions.org/questions/linux-newbie-8/sendmail-block-emails-from-other-domains-4175428186/)

piradeep 09-20-2012 05:40 AM

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

arun5002 09-20-2012 07:03 AM

Hi

Look after the below link.

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

piradeep 09-20-2012 07:25 AM

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.

piradeep 09-21-2012 10:20 AM

By using /etc/mail/access, is it possible to block all domains and allow only the primary domain?

piradeep 09-21-2012 11:09 AM

Solved.


All times are GMT -5. The time now is 06:24 PM.