Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
postfix [2007/01/16 09:38]
greebo
postfix [2012/07/31 12:45] (current)
greebo old revision restored
Line 1: Line 1:
 ====== Postfix ====== ====== Postfix ======
 +
  
 ==== Useful links ==== ==== Useful links ====
Line 7: Line 8:
   * [[http://www.acme.com/mail_filtering/]]   * [[http://www.acme.com/mail_filtering/]]
   * [[http://www.pantz.org/os/openbsd/postfix-spamd-dovecot.shtml|Some useful postfix rules]]   * [[http://www.pantz.org/os/openbsd/postfix-spamd-dovecot.shtml|Some useful postfix rules]]
 +  * [[http://blog.dkorunic.net/|Spam Ninjas - Dinko Korunic’s blog]]
 +
  
 ===== TODO ===== ===== TODO =====
Line 25: Line 28:
   unverified_recipient_reject_code = 550   unverified_recipient_reject_code = 550
   unverified_sender_reject_code = 550   unverified_sender_reject_code = 550
 +
 +
 +
 +smtpd_discard_ehlo_keywords = silent-discard, ETRN  VRFY
  
 ===== Different Setups ===== ===== Different Setups =====
Line 32: Line 39:
   * [[postfix:asrelay|Postfix as relaying server (to Exchaneg/Domino)]]   * [[postfix:asrelay|Postfix as relaying server (to Exchaneg/Domino)]]
   * [[postfix:advance|Advance postfix hacks]]   * [[postfix:advance|Advance postfix hacks]]
 +
  
 ===== Cool :) postifx hacks ===== ===== Cool :) postifx hacks =====
 here are some tips .. here are some tips ..
 +
 +==== Making postfix only send through 'smart relayhost' when direct connection is not available ====
 +
 +I use this construction to have a fallback option when the direct connected ADSL-line is down: replace '**''relayhost''**' in '**main.cf**' by '**''smtp_fallback_relay''**'.
  
 ==== Hide internal/intranet address ==== ==== Hide internal/intranet address ====
Line 56: Line 68:
     /^((Resent-)?From|To|Cc|Date|Return-Path|Message-ID):/ OK     /^((Resent-)?From|To|Cc|Date|Return-Path|Message-ID):/ OK
     /./ IGNORE     /./ IGNORE
 +
  
  
Line 62: Line 75:
 ''Be aware that if your IMAP server receives messages over LMTP, over-quota situations won't be discovered until after Postfix has accepted the message, so it will have to be bounced. If you want to reject mail for users over their quotas, you'll have to use an access table listing users who are over their quotas.'' ''Be aware that if your IMAP server receives messages over LMTP, over-quota situations won't be discovered until after Postfix has accepted the message, so it will have to be bounced. If you want to reject mail for users over their quotas, you'll have to use an access table listing users who are over their quotas.''
  
- +2008-02-06 (b) Not necessarily. If you use reject_unverified_recipient, cyrus LMTP rejects mail for over-quota mailbox and Postfix rejects them at SMTP stage.
  
 ---------------- ----------------
Line 165: Line 177:
  240.0.0.0/5 REJECT Domain MX in class E reserved network  240.0.0.0/5 REJECT Domain MX in class E reserved network
  248.0.0.0/5 REJECT Domain MX in reserved network  248.0.0.0/5 REJECT Domain MX in reserved network
 +
 +source - IPv4 bogon list - http://www.cymru.com/Documents/bogon-bn-agg.txt
  
 ========== ==========
postfix.1168936705.txt.gz · Last modified: 2009/05/25 00:34 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready