LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-01-2008, 11:51 AM   #1
Ghostwheel
LQ Newbie
 
Registered: Jun 2004
Location: Mid Michigan
Distribution: CentOS
Posts: 28

Rep: Reputation: 0
Postfix Configuration: smtpd_recipient_restrictions parameter sanity check


I am setting up postfix as a store & forward server for my main mail domain. I am fairly satisfied with the rest of the configuration but I wanted to run this past other people.

My goal: stop spam at the backup server before it is relayed.

snip of main.cf
Code:
smtpd_recipient_restrictions =
	reject_unauth_destination,
	permit_mynetworks,
	reject_invalid_hostname, 
	reject_non_fqdn_hostname,
	reject_non_fqdn_sender,
	reject_non_fqdn_recipient,
	reject_unknown_sender_domain,
	reject_unknown_recipient_domain,
	reject_rbl_client list.dsbl.org,
	reject_rbl_client zen.spamhaus.org,
	reject_rbl_client cbl.abuseat.org,
	reject_rbl_client dul.dnsbl.sorbs.net,
	check_relay_domains,
	permit
Thoughts? Suggestions?
 
Old 08-01-2008, 12:07 PM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
See my comments in the first scrolling box here:
http://www.linuxquestions.org/questi...t_restrictions

Usually you have (the default order):

Code:
	permit_mynetworks,
	reject_unauth_destination,
 
  


Reply

Tags
postfix


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
help with postfix smtpd_recipient_restrictions JustinHoMi Linux - Server 6 08-07-2007 11:58 PM
Sanity Check DotHQ Linux - General 6 03-31-2006 09:24 PM
cpp sanity check alexrait1 Slackware 6 04-24-2005 08:43 AM
postfix configuration check Robin01 Linux - Software 0 01-28-2004 06:33 PM
IPTables Sanity Check Crashed_Again Linux - Networking 3 03-06-2003 08:49 PM


All times are GMT -5. The time now is 04:00 PM.

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