On Sun, Jun 24, 2007 at 02:34:47AM +0200, Mark Martinec wrote:
> One possibility that comes to mind is: add rules to detect keywords
> to SpamAssassin rules, and associate a near-zero score with them.
> Then set tag_level at undef which will cause X-Spam-Status header
> fields to be unconditionally inserted. This header field lists
> all matching rule names, so your downstream blocker could check for
> presence of particular rule names in that header field. This will
> work correctly even for multi-recipient messages with recipients
> under different realms, as long as the downstream blockers are
> positioned at a mail delivery stage (after domain spliting by MTA).
You're right. I had to stop and think a moment, but I guess this
could work, even where the rules are being added dynamically. The
back-end to the GUI could be made to convert them into SA rules,
deposit them in an appropriate directory, and trigger a reload of
amavisd. That last is a bit heavyweight, but it shouldn't happen too
often. I don't think I would have hit on this approach as I'm used to
thinking of the SA rules more or less static between upgrades.
I already do force inclusion of the X-Spam-Status header, as I use it
to rescore SA rules downstream of amavisd.
Thanks for the suggestion; I'll contemplate this a bit, but I think
your suggestion may indeed be a workable way to do it.
-- Clifton
--
Clifton Royston -- [EMAIL PROTECTED] / [EMAIL PROTECTED]
President - I and I Computing * http://www.iandicomputing.com/
Custom programming, network design, systems and network consulting services
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/