| |||||||||||||||||||||||||||||||
|
http://www.postfix.org/RESTRICTION_CLASS_README.html Example: /etc/postfix/main.cf: smtpd_restriction_classes = restrictive, permissive # With Postfix < 2.3 specify reject_unknown_client. restrictive = reject_unknown_sender_domain reject_unknown_client_hostname ... permissive = permit smtpd_recipient_restrictions = permit_mynetworks reject_unauth_destination check_recipient_access hash:/etc/postfix/recipient_access /etc/postfix/recipient_access: joe permissive jane restrictive -- Is it also possible to do this with header checks? For example if the incoming connection uses a certain X-Mailer, is I would like it to be subject to a different set of rules. Example: header_checks.pcre: ================================================================== /^X-Mailer: XYZ Software/ dynamic_checks main.cf: ================================================================== smtpd_restriction_classes = dynamic_checks dynamic_checks = check_policy_service inet:127.0.0.1:60000 If this is not the right idea, in what way could I accomplish this task? Oct 21 06:11:32 box postfix/cleanup[10052]: warning: unknown command in mime_header_checks map: dynamic_checks Justin.
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com