Re: [exim] spam acl condition syntax

Pàgina inicial
Delete this message
Reply to this message
Autor: Magnus Holmgren
Data:  
A: exim-users
Assumpte: Re: [exim] spam acl condition syntax
On Friday 13 October 2006 10:02, Stuart Gall took the opportunity to say:
> Hello,
> The documentation on the spam = acl condition is a bit sparse. It
> says alot about what you can do, but not much on how you do it.
> Nothing much in the FAQ
> It claims you can implement a per domain or per user spam setting.
>
> spam = X
>
> What is X is it envelope to local part ? How then do I do per domain
> filtering?


As the specification says, "The right-hand side of the spam condition
specifies the username that SpamAssassin should scan for", and nothing else.
It is the same as the -u parameter to spamc. What this username means is to
some extent configurable (at least if you use a database to store user
settings and bayes data). I recommend that you read the SpamAssassin
documentation (Mail::SpamAssassin::Conf(3pm)) if this is what you need.

Otherwise, to exempt some local parts from scanning you use separate ACL
conditions, like "local_parts" or the general "condition".

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)