Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
postfix:advance [2006/06/21 09:05] greebo |
postfix:advance [2006/11/03 17:54] a addvrfy info |
||
---|---|---|---|
Line 7: | Line 7: | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
+ | |||
+ | |||
+ | ===== Address verification ===== | ||
+ | |||
+ | address_verify_positive_expire_time (31d) | ||
+ | The time after which a successful probe expires | ||
+ | from the address verification cache. | ||
+ | |||
+ | | ||
+ | The time after which a successful address verifica- | ||
+ | tion probe needs to be refreshed. | ||
+ | |||
+ | | ||
+ | Enable caching of failed address verification probe | ||
+ | results. | ||
+ | |||
+ | | ||
+ | The time after which a failed probe expires from | ||
+ | the address verification cache. | ||
+ | |||
+ | | ||
+ | The time after which a failed address verification | ||
+ | probe needs to be refreshed. | ||
+ | |||
+ | ==== MySQL Proxy ==== | ||
+ | |||
+ | Performance and reliability under high load will be much improved if you use the Postfix proxymap service with your MySQL interface. This allows MySQL query connections to be shared among Postfix smtpd processes; without it, you will need much higher-end database hardware as Postfix will need to spawn a number of SQL connections for every smtpd or cleanup process. This problem typically only shows up under high load, just when you least want to see it. | ||
+ | |||
+ | To access MySQL via proxymap, change the MySQL maps lines above to read (example): | ||
+ | |||
+ | virtual_alias_maps = proxy: | ||
+ | virtual_mailbox_domains = proxy: | ||
+ | virtual_mailbox_maps = proxy: | ||
===== More RBL lists and stuff ===== | ===== More RBL lists and stuff ===== | ||
- | >> | + | reject_rbl_client relays.ordb.org, |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
- | >> | + | |
==== signature ==== | ==== signature ==== | ||
If you haven' | If you haven' | ||
- | (postfix: master.cf | + | |
- | send ' | + | |
In this case, the default is to filter. | In this case, the default is to filter. | ||
- | But, if coming in through 127.0.0.1 (already filtered, amavis-> | + | But, if coming in through 127.0.0.1 (already filtered, amavis-> |
- | and back) no filter. | + | |
- | smtp inet n | + | smtp inet n |
- | -o content_filter=dfilt: | + | |
127.0.0.1: | 127.0.0.1: | ||
- | + | dfilt | |
- | dfilt | + | |
- | | + | |
- | ${sender} -- ${recipient} | + | |
---/ | ---/ | ||
- | # Localize these. | ||
- | INSPECT_DIR=/ | ||
- | SENDMAIL=/ | ||
- | # Exit codes from < | + | |
- | EX_TEMPFAIL=75 | + | |
- | EX_UNAVAILABLE=69 | + | |
- | # Clean up when done or when aborting. | + | |
- | trap "rm -f in.$$" 0 1 2 3 15 | + | |
+ | EX_UNAVAILABLE=69 | ||
- | # Start processing. | + | # Clean up when done or when aborting. |
- | cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit | + | trap "rm -f in.$$" 0 1 2 3 15 |
- | $EX_TEMPFAIL; | + | |
+ | | ||
+ | cd $INSPECT_DIR || { echo $INSPECT_DIR does not exist; exit | ||
+ | $EX_TEMPFAIL; | ||
- | cat >in.$$ || { echo Cannot save mail to file; exit $EX_TEMPFAIL; | + | |
- | / | + | |
| | ||
- | | + | |
- | http:// | + | { echo Message content rejected; exit $EX_UNAVAILABLE; |
- | { echo Message content rejected; exit | + | |
- | $EX_UNAVAILABLE; | + | |
- | $SENDMAIL " | + | |
- | exit $? | + | |
//TODO// | //TODO// | ||
- | |||
- |