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 <= [EMAIL PROTECTED]
> H=mail19.messagelabs.com [193.109.254.3] P=smtp S=3092
> [EMAIL PROTECTED]
> 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 == [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> 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 <= [EMAIL PROTECTED]
> H=mail14.messagelabs.com [212.125.75.19] P=smtp S=2332
> [EMAIL PROTECTED]
> 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 == [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
>           [EMAIL PROTECTED]
> 
>  1m  2.3K 1DuRMy-0005Bz-FY <[EMAIL PROTECTED]>
>           [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]


-- 
## 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/

Reply via email to