Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-25-2011, 04:26 PM   #1
LQ Newbie
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
Postfix: blocking OUTBOUND email to certain TLDs

I'm new to postfix. Trying to block OUTBOUND mail to certain TLDs. I have this in /etc/postfix/

smtpd_sender_restrictions = hash:/etc/postfix/access
reject_unauth_destination = hash:/etc/postfix/access
this in /etc/postfix/access:

I then rebuilt the database with: postmap /etc/postfix/access

and restarted postfix.

But I tried sending to one of the bad TLDs and it did deliver the message.

Any help is appreciated!


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
[SOLVED] blocking outbound traffic in promisc mode salimbaba Linux - Networking 4 08-20-2010 10:37 PM
How to block an email with extention like .exe to send to outbound only in Postfix niraj.kumar Linux - Server 1 11-05-2009 09:16 PM
Blocking outbound IPs with Firehol rozilla Linux - Networking 0 08-31-2008 10:01 AM
Blocking mails from specific email addresses/domains in postfix jomy Linux - Networking 1 07-15-2008 08:32 PM
Blocking specific outbound traffic - iptables mistersnorfles Linux - Security 5 08-08-2007 02:14 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:48 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