Four Lines That Should Be In Your Postfix Configuration

by gary on Sat, 11/17/2007 - 20:51

EHLO lolucanhazspam happening too often for your tastes?

Have Postfix respond with, "u sent me spam, but i ated it":

smtpd_helo_required = yes
smtpd_delay_reject = no
disable_vrfy_command = yes
smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, reject_unknown_hostname, reject_non_fqdn_hostname

Over the past hour, I've seen this minor config change slay 60% of spam inbound to my personal mailserver.

Remember: Default software configs given to you by your favorite Linux distribution will usually suck. Modify 'em.

Tags: emailpostfixspam

gary's blog  
    Delicious  Digg  Reddit  Technorati  

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options