Hi, > > I'm using postfix-2.10.3 on fedora20 and having trouble with > > outbound mail getting rejected due restrictions in my body_checks. I > > thought I had the ordering correct, but I apparently don't know how > > to allow mynetworks to be excluded from the body restrictions. > > There is no bypass mechanism for header/body checks. > > Alternatives include: > > - edit or remove the offending rule.
This is what I've done, and added it to my local URIBL. > - edit the master.cf submission service to add "-o > receive_override_options=no_header_body_checks" to completely > disable those checks on the submission port. This requires that all > local mail use the submission port and not the general purpose port > 25 (a good idea regardless). > http://www.postfix.org/postconf.5.html#receive_override_options Unfortunately it's a remote relay for the domain, not for individual clients. > - use multiple postfix instances to separate inbound and outbound > controls. > http://www.postfix.org/MULTI_INSTANCE_README.html I did that with these systems about ten years ago because it was easier to do spam scanning for specific domains at the time, but became too difficult to manage. Thankfully it's not a critical issue that would warrant that overhead here. > - Use one of the external postfix interfaces to do the checks in > some external software that has per user or per client controls. > Which method to use depends on your goals. > http://www.postfix.org/SMTPD_POLICY_README.html > http://www.postfix.org/CONTENT_INSPECTION_README.html This might be one worth considering in the future. Thanks so much. Alex