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/08/03 22:21] greebo |
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 ===== | ||
+ | |||
+ | How to use different [[http:// | ||
+ | |||
+ | Create aliases for groups of access restrictions in ''/ | ||
+ | |||
+ | smtpd_restriction_classes = policy1, | ||
+ | policy2, | ||
+ | policy1 = check_policy_service inet: | ||
+ | policy2 = check_policy_service inet: | ||
+ | |||
+ | Create “''/ | ||
+ | |||
+ | # echo “127.0.0.1 policy1″ > / | ||
+ | # echo “127.0.0.2 policy1″ >> / | ||
+ | # 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 verification ===== | ||
+ | |||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
==== MySQL Proxy ==== | ==== MySQL Proxy ==== | ||
Line 70: | 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 107: | Line 138: | ||
exit $? | exit $? | ||
+ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | |||
- | //TODO// |