On Thu, 2002-10-17 at 15:22, Jeremy Turner wrote:
> I have been working on installing SpamAssassin site-wide, but wanted to
> constrain it to a test group before launching it.  I'm also using exim
> as my MTA.  I created a system filter in exim that said basically if
> $recipients contains "[EMAIL PROTECTED]" or $recipients contains
> "[EMAIL PROTECTED]" or... then add a new header called 'X-Spam-Check:
> YES".  Then, in my exim configuration, if there exists a header named
> 'X-Spam-Check:' then run SpamAssassin.  Granted this works well for
> 10-15 people, but it could be a pain if you have 150 people who want it.

<shudder>
Running SA from a system filter, even indirectly, is likely to be a
practice best kept for the seriously masochistic :-)

If you run SA from a router (director in exim3), then add to the
condition you have on that router/director a lookup for the recipient in
a list of potential victims, or do something like make it conditional on
the existence of a particular file in the users home directory (look at
the condition and requires directives).

If you run SA from something like exiscan then modify the
exiscan_spamd_condition appropriately - this might be slightly more
difficult since you may not have a single recipient defined at this
stage, but you should be able to work round it....

Personally I would tend to scan *everything* and then make per-person
decisions later down the routing tree dependent on the outcome.

> The other thing I might suggest is make the options such that the
> subject is not re-written, and the SPAM lines are kept in the header,
> and HTML content emails are not destroyed, then go ahead and turn it on
> for everyone.  You won't break anything, then whoever wants the benefit
> of SpamAssassin can put in rules for the X-Spam-Flag.

Yeah - thats about it.
exiscan looks well worth trying (I have it running here now) - the MIME
file extension handling is useful in these days of Bugbear etc, without
running a real virus checker.

        Nigel.
-- 
[ Nigel Metheringham           [EMAIL PROTECTED] ]
[ - Comments in this message are my own and not ITO opinion/policy - ]



-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to