Re: [exim] Per-User SpamAssassin config

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Marc Sherman
Fecha:  
A: exim-users
Asunto: Re: [exim] Per-User SpamAssassin config
Richard Hobbs wrote:
>
> ============================================================
> 2005-07-11 12:15:47 Exim configuration error in line 130 of
> /etc/exim4/exim4.conf:
> main option "spamd_address" unknown
>
> Warning! Invalid configuration file for exim4. Exiting.
> ============================================================


Are you running exim4-daemon-heavy? The default is -light, which does
not include exiscan.

Jakob Hirsch wrote:
>
> Depends on how your users are set up on your machine. If they are all
> system users, you might e.g. check for $HOME/.spamcheck in ACL
> conditions:
>
> condition = ${if {exists {/home/$local_part/.spamcheck})}
>
> (note that Exim needs rx rights to the users' home directories then)
>
> or put all spamassassin-users in a file /etc/exim/spam_free_users:
>
> local_parts = /etc/exim/spam_free_users
>
> just make sure the additional condition is put _before_ the spam
> condition.


This advice is incorrect. local_parts= is not available in the DATA
acl, which is the only place that spam= is available. To do
user-profile controlled spam checking in ACLs, you have to use a more
complex solution, like the one described at:
http://www.exim.org/eximwiki/ExiscanExamples?highlight=%28user%29%7C%28spam%29#head-962411f515d3c420ace6c0672cd70e91224f4355

- Marc