RE: [exim] Per-User SpamAssassin config

Inizio della pagina
Delete this message
Reply to this message
Autore: Richard Hobbs
Data:  
To: exim-users
Oggetto: RE: [exim] Per-User SpamAssassin config
Hello,

OK, 'strings /usr/sbin/exim4 | grep spam' produces the following result:

rejected. Refusing MAIL FROM:<> does not help fight spam, disregards

I guess exiscan is included in my exim build by default given the
information mentions previously, but I don't know how to find out if I'm
running heavy or light exim...

I presume this is what I need to do from this point on:

- Find out if I'm running exim heavy or not, and if not, run it.

- Once exim heavy is running (and exiscan is therefore enabled) I need to
setup the ACL stuff to allow exim to run spamassassin, but only if the
user's preferences exist.

- I then need to create some user preferences for particular people.

Also, as I may have said before, spamd is running with the following
options:

--create-prefs --max-children 5 --helper-home-dir -d
--pidfile=/var/run/spamd.pid

Is this correct considering some people don't want spam checking to be done
at all? I'm looking at the create-prefs bit...

Thanks again people... For some reason I'm finding this really complicated!
Surely it's just a case of telling exim to put each email into spamd, and
then telling spamd to check for preferences and spamcheck accordingly,
right?

Thanks again for all your help... Hopefully I'll get there eventually.

Richard.

-- 
Richard Hobbs (Systems Administrator)
Toshiba Research Europe Ltd. - Speech Technology Group
Web: http://www.toshiba-europe.com/research/
Email: richard.hobbs@???
Tel: +44 1223 376964        Mobile: +44 7811 803377 


> -----Original Message-----
> From: exim-users-bounces@???
> [mailto:exim-users-bounces@exim.org] On Behalf Of Marc Sherman
> Sent: 11 July 2005 15:08
> To: exim-users@???
> Subject: 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
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
> _____________________________________________________________________
> This e-mail has been scanned for viruses by MCI's Internet
> Managed Scanning Services - powered by MessageLabs. For
> further information visit http://www.mci.com
>




_____________________________________________________________________
This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com