unable to run sa-learn utility as non-root user

2007-10-03 Thread Srilatha
Hi, I am using SpamAssassin 3.2.1 sa-learn utility is taking user name but it is not running as the given user did anyone observe this issue ? regards, Srilatha This email message (including any attachments) is

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

2007-10-03 Thread Matus UHLAR - fantomas
On 03.10.07 13:00, Srilatha wrote: I am using SpamAssassin 3.2.1 sa-learn utility is taking user name but it is not running as the given user did anyone observe this issue ? do you execute it with root privileges? Otherwise it can't run under specified user (of course unless you run it

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

2007-10-03 Thread Matt Kettler
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. It

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

2007-10-03 Thread Srilatha
Hi, Even though we run the utility as root, we can specify any user name with option '-u'. Even though we specify a valid user name, it is not running in the given user context. When i did code walk through of sa-learn code, it is observed that there is no code in sa-learn utility to set

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

2007-10-03 Thread Jonathan Armitage
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