RE: [exim] Per-User SpamAssassin config

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Richard Hobbs
Fecha:  
A: exim-users
Asunto: RE: [exim] Per-User SpamAssassin config
Hello,

I can change the transport all I like, but spamd still runs as root. Should
this be the case?

Also, what about the autolearn failure? What can do to get autolearn working
in spamd?

Thanks again,
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: Oliver Egginger [mailto:oliver.egginger@dvz.fh-giessen.de]
> Sent: 20 July 2005 12:05
> To: Richard Hobbs
> Cc: exim-users@???
> Subject: RE: [exim] Per-User SpamAssassin config
>
> This happens due to the fact that the spamc programm (which
> gets called
> in the sa_spamcheck transport) runs under root rights.
>
> > 2005-07-18 09:50:34 1DuRKc-0005AK-MO User 0 set for sa_spamcheck 
>                                           ^^^^
> Don't run spamc with root rights, for example use "user = 
> spamcheck" in
> your transport. 

>
> - oliver
>
>
> Am Mittwoch, den 20.07.2005, 09:21 +0100 schrieb Richard Hobbs:
> > Hello,
> >
> > I now have an almost-working solution with SpamAssassin,
> but I have one
> > small problem:
> >
> > 2005-07-18 09:50:34 1DuRKc-0005AK-MO <= hobbs@???
> > H=mail19.messagelabs.com [193.109.254.3] P=smtp S=3092
> > id=20050718095022.glbz0z3tti8gooo4@???
> > 2005-07-18 09:50:34 1DuRKc-0005AK-MO User 0 set for
> sa_spamcheck transport
> > is on the never_users list
> > 2005-07-18 09:50:34 1DuRKc-0005AK-MO == rhobbs@???
> > <richard.hobbs@???> R=sa_router T=sa_spamcheck defer
> (-29): User 0
> > set for sa_spamcheck transport is on the never_users list
> > 2005-07-18 09:53:00 1DuRMy-0005Bz-FY <= hobbs@???
> > H=mail14.messagelabs.com [212.125.75.19] P=smtp S=2332
> > id=20050718095301.tigtt7io7u8sck8w@???
> > 2005-07-18 09:53:00 1DuRMy-0005Bz-FY User 0 set for
> sa_spamcheck transport
> > is on the never_users list
> > 2005-07-18 09:53:00 1DuRMy-0005Bz-FY == rhobbs@???
> > <richard.hobbs@???> R=sa_router T=sa_spamcheck defer
> (-29): User 0
> > set for sa_spamcheck transport is on the never_users list
> >
> > Also, a mailq returns both emails:
> >
> >  3m  3.0K 1DuRKc-0005AK-MO <hobbs@???>
> >           richard.hobbs@???

> >
> >  1m  2.3K 1DuRMy-0005Bz-FY <hobbs@???>
> >           richard.hobbs@???

> >
> > Do you know why this is happening?
> >
> > I have a spamassassin setup using a router and transport,
> which checks
> > "/etc/spamassassinUsers" for a list of usernames of people
> who want spam
> > checking to be done. Also, spamassassin is configured to ignore user
> > preferences.
> >
> > All email for users not listed in "/etc/spamassassinUsers"
> seems to be
> > getting through, but not for me. I am the only person
> listed in the users
> > file at the moment.
> >
> > Also, just in case it is relevant, when testing
> 'spamassassin', autolearn
> > seems to work, but when testing 'spamc' autolearn does says
> "failed". How
> > can I get this working, or at least turn it off?
> >
> > Thanks in advance,
> > 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

> >
> >
> >
> >
> _____________________________________________________________________
> > 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
> >
> --
> Oliver Egginger
> FH Giessen-Friedberg
> DV-Zentrum
> Wiesenstrasse 14
> 35390 Giessen
> Tel. +49 641 309-1283
> Fax +49 641 309-1288
> Mail: Oliver.Egginger@???
>
>
> _____________________________________________________________________
> 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