|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Nicolas Riendeau (knightr
sympatico.ca)Date: Sat Apr 13 2002 - 09:45:29 CDT
Clifton Royston wrote:
> On Fri, Apr 12, 2002 at 08:42:01AM +0100, Josep M. wrote:
>
>>Hello.
>>
>>I´m doing spam filters,I would like know if is possible that when Postfix detect one of these messages
>>using headers_check or body_check will add to the message one header with a warning or similar.
>
>
> Not at present, except by using the content filter facility to do this
> in an external program.
> -- Clifton
>
Hi!
A quick glance at the code SEEMS to suggest (but take this with a grain of salt, I'm no *nix/C/Postfix programming
guru) that it should be possible to add an header more or less "on the fly" when an header "fails" header_checks
but that it would be a major pain to do the same thing for body_checks... (I think it would require to do a second
pass into what was just written to add the header (not for all messages, only the ones who fail body_checks...))
Even if it would only work for header_checks it would be nice though... (we could use that additionnal header to
filter using the MUA, procmail, etc...).
Have a nice day!
Nick
-
To unsubscribe, send mail to majordomo
postfix.org with content
(not subject): unsubscribe postfix-users
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]