Should you be using -Q ?
Alberto Catagni wrote:
> dear eric...
> I followed the installation of squirrelmail sasql plugin... for setting spam
> per user prefs on mysql server...
> everything works fine..
> but when spamd tries to load preferences from mysql it loads the preference
> from the user "clamav"...
> probably this is because simscan use this user...
>
> I modified /var/qmail/supervise/spamd/run command with:
> exec /usr/bin/spamd -q -x -u vpopmail -s stderr -s local3 2>&1
>
> and everytime the user is clamav not my vitualuser I tried to force the check
> on my user in the sql query in local.cf of spamassassin and the preferences
> are loaded correctly...
>
> Have you got some suggestion to fix the problem?
> thanks
>
> ________________________________
>
> Da: Eric "Shubes" [mailto:[EMAIL PROTECTED]
> Inviato: mar 27/02/2007 18.27
> A: [email protected]
> Oggetto: Re: [qmailtoaster] R: - Re: [qmailtoaster] spamassassin per user
>
>
>
> This sounds like good stuff, Buzzz. Would you care to update the wiki with
> what you've done?
>
> Buzzz wrote:
>>> But... :(
>>> In my opinion maybe is better to put all SpamAssassin user prefs in
>>> mysql...
>> Yes it's the better thing you could do .
>> Spamd itself i see has some support for vpopmail , but i would prefer use
>> sql based preference .
>>
>> There are a lot of plugin for squirrelmail to integrate the sa userpref ,
>> i've used one
>> and have modified to fit in the toaster .
>>
>> There is a perl script bundled with this plugin that traverse the
>> /home/vpopmail/domains and
>> train the bayes db .
>>
>> Feel free to mail me if you want some of my work . (and feel free to speak
>> italian ... i'm italian)
>>
>>> But in this case I do not know how to retrive them with the toaster..
>>> Should I use spamc instead of spamd in
>>> /var/qmail/supervise/spamd/run ???
>>> This is mine...
>>> exec /usr/bin/spamd -x -u vpopmail -s mail 2>&1
>>>
>> Well it's spamc that has to be called with -u parameters in order to pass
>> the user to spamd .
>> I think this could be enabled by enable the --enable-spamc-user in simscan .
>>
>>
>> Bye,
>> Davide
>>
>
>
> --
>
> -Eric 'shubes'
>
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]