Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
postfix:advance [2006/11/03 17:54] a addvrfy info |
postfix:advance [2009/05/25 00:35] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Postfix advance lavel ====== | ====== Postfix advance lavel ====== | ||
- | //see also article:// **[[postfix|Postfix]]**, | + | //see also article:// |
===== Getting rid off spam/virus mails ===== | ===== Getting rid off spam/virus mails ===== | ||
Line 8: | Line 8: | ||
* http:// | * http:// | ||
+ | ===== Different Postfix Access Policy Delegation ===== | ||
- | ===== Address verification ===== | + | How to use different [[http:// |
- | address_verify_positive_expire_time (31d) | + | Create aliases for groups of access restrictions in ''/ |
- | The time after which a successful probe expires | + | |
- | from the address verification cache. | + | |
- | | + | smtpd_restriction_classes = policy1, |
- | The time after which a successful address verifica- | + | |
- | tion probe needs to be refreshed. | + | |
+ | policy2 = check_policy_service inet: | ||
- | | + | Create “''/ |
- | Enable caching of failed address verification probe | + | |
- | results. | + | |
- | | + | # echo “127.0.0.1 policy1″ > / |
- | The time after which a failed probe expires from | + | # echo “127.0.0.2 policy1″ >> / |
- | the address verification | + | # echo “0.0.0.0/ |
+ | |||
+ | Add “'' | ||
+ | |||
+ | In this scenario you can have different access policies based on the client ip. It is also possible to base it on client reverse dns with help of pcre maps and recipient/ | ||
+ | |||
+ | ===== Address | ||
- | | + | * **'' |
- | The time after which a failed address verification | + | * **'' |
- | probe needs to be refreshed. | + | * **'' |
+ | * **'' | ||
+ | * **'' | ||
==== MySQL Proxy ==== | ==== MySQL Proxy ==== | ||
Line 92: | Line 98: | ||
If you haven' | If you haven' | ||
- | | + | (postfix: master.cf |
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-> | ||
- | smtp inet n | + | smtp inet n |
- | 127.0.0.1: | + | |
- | dfilt | + | |
- | argv=/ | + | |
- | ---/ | + | '' |
+ | ---- | ||
+ | < | ||
+ | <pre> | ||
# Localize these. | # Localize these. | ||
INSPECT_DIR=/ | INSPECT_DIR=/ | ||
Line 129: | Line 138: | ||
exit $? | exit $? | ||
+ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | |||
- | //TODO// |