Roger Marquis wrote:
Magnus wrote:
 /^Received: from .*\.mx\.aol.com (.*\.mx\.aol\.com/ FILTER
 smtp:[127.0.0.1]:25
That still doesn't bypass the rest of the header checks.

Works for us, has for years.  Even tested it using the exact same pattern
and HOLD immediately after the FILTER.  The messages are delivered as per
usual never hitting the hold rule.

This is how we accept spam reports from external clients without having to
setup yet another postfix instance.

Try it.

The FILTER action doesn't take effect until after the mail has been queued, so no, it doesn't bypass header_checks.

In the header_checks file FILTER has the same effect as DUNNO; further checks on THAT HEADER are skipped. In your example HOLD matching on the same input would not be reached. Try:
/^Received.../ FILTER foo:
/./ HOLD
and see what happens (assuming some non-Received: headers).

There is no bypass mechanism for header_checks.



  -- Noel Jones

Reply via email to