Hi,

I'd like to have an ACCEPT action for *header_checks and body_checks.
This was requested before:

http://archives.neohapsis.com/archives/postfix/2005-02/1116.html

I've read the replies in that thread, and I continue to think that
adding an ACCEPT action for *header_checks and body_checks is a good
idea - for whitelisting mail based on individual headers or message
body lines.  Specifically, I'd like to whitelist PGP-encrypted mail on a
certain Postfix server, and going for an SMTP proxy or Milter based
filter sounds like overkill for that should-be trivial task.  I'd use
ACCEPT in body_checks if it were available.  I almost feel like adding
ACCEPT support to Postfix would be quicker for me to do than going for
those external filters.

Am I missing some other easy way to do it?

Also nice to have:

- Ability to specify a default action (e.g., be able to use
default-REJECT for header_checks, then ACCEPT only messages with lines
matching one of the patterns).

- A fix for this documented limitation (in BUGS): "A decision made for
one line is not carried over to the next line."  It could be fixed e.g.
by adding a MARK action (similar to its meaning with iptables) and
ability to match based on line regexp in conjunction with such marks.
Then ability to negate a match ("no mark" and/or "regexp not matched")
would also be needed.

Any comments?

Thanks,

Alexander

Reply via email to