Le 11/09/2010 00:41, Stan Hoeppner a écrit :
Is there a way to have locally submitted mail (my_networks) bypass
header_checks when using a single master.cf smtpd instance?
one smtpd => one cleanup => one header checks
Since implementing Sahil's fine checkdbl.pl tcp server in header_checks,
I've noticed a 1-3 second delay when submitting from my workstation MUA.
means you're doing a lot of checks....
Prior to this submission was instantaneous.
If implementing a submission smtpd is the only way to solve this, is
there an easy one line parameter to instruct it to bypass all
header_checks and smtp_foo_restrictions and simply permit everything
from 192.168.100.0/24?
for header_checks, the option is no_header_body_checks:
http://www.postfix.org/postconf.5.html#receive_override_options
for smtpd restrictions:
-o smtpd_foo_restrictions=blahblah
if you want per smtpd header checks, then you need to setup multiple
cleanup services and use cleanup_service_name:
submission ...
-o cleanup_service_name=submission_cleanup
...
submission_cleanup ...
-o header_checks=pcre:/etc/postfix/submission_header.pcre
...