Actually ,i am using -u parameter in spam_buttons as shown in examples of spam_buttons config file...
I both used
$is_spam_shell_command = '/usr/bin/spamc -L spam -d localhost -u ###USERNAME###';
and
$is_spam_shell_command = '/usr/bin/sa-learn --spam --username=###USERNAME### configs.
And i can see it sends the username (or email address...doesnt matter) to spamc/d or with sa-learn but... as i said..my mail server is not on the same server with squirrelmail. And it gives the error user not found so switches to nobody user by default.
>
> Not effective because you didn't use the -u switch in your spamd/spamc
> command. The solution is right there in the error message.
>
>> This question might be about spamassassin more than squirrelmail but any
>> experiences regarding to this will be very helpful.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> -----
> squirrelmail-users mailing list
> Posting guidelines: http://squirrelmail.org/postingguidelines
> List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
> List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
> List info (subscribe/unsubscribe/change options):
> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
>
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
----- squirrelmail-users mailing list Posting guidelines: http://squirrelmail.org/postingguidelines List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List archives: http://news.gmane.org/gmane.mail.squirrelmail.user List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users