You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jonathan Armitage <jo...@hepworthband.co.uk> on 2007/10/03 21:31:52 UTC

[Fwd: Re: unable to run sa-learn utility as non-root user]

Matt Kettler wrote:
> Srilatha wrote:
>> Hi,
>>
>> I am using SpamAssassin 3.2.1
>>
>> sa-learn utility is taking user name but it is not running as the
>> given user
> First, I assume you're trying to use sa-learn -u.
> 
> If you read the docs closely, the -u parameter to sa-learn *ONLY* works
> for SQL and virtual configurations.
> 
Why not su - youruser -c "sa-learn --spam /whatever" ?

Jon

Sorry about that, Matt. I'll get the hang of this email thing eventually :)