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 will NOT cause sa-learn to setuid itself, so it will not work if
you're using db_files in the users home directory for bayes storage.

---------------------
       -u username, --username=username
           If specified this username will override the username taken from
           the runtime environment.  You can use this option to specify
users
           in a virtual user configuration when using SQL as the Bayes back-
           end.

           NOTE: This option will not change to the given username, it will
           only attempt to act on behalf of that user.  Because of this you
           will need to have proper permissions to be able to change files
           owned by username.  In the case of SQL this generally is not a
           problem.
------------------------


Reply via email to