mouss wrote:
> Leeman Strout a écrit :
>
>> I am trying to get a dovecot plugin to work with re-classifying mail via
>> dspam. Since my users are virtual via mysql tables dovecot processes
>> are running as user virtual. The virtual user is in the trusted users
>> list and the mail group. Here's my results:
>>
>> 110 is the uid of virtual, then there's the command line with the
>> correct virtual user specified at --user.
>>
>> user.log:Mar 3 13:05:50 mail-mooluv imap: 110 /usr/bin/dspam --user
>> me@mooluv.com --source=error --stdout --class=spam
>> --signature=4408804b233631181113218
>> syslog:Mar 3 13:05:50 mail-mooluv dspam[23732]: No source was specified
>> for this class
>> syslog:Mar 3 13:05:50 mail-mooluv dspam[23732]: DSPAM agent
>> misconfigured: aborting
>>
>>
>> The above command will work if run from the command line as root. It
>> will not work when logged in as virtual. (testing ensued) It works
>> logged in as virtual now that virtual has a valid home directory. It
>> still does not work as virtual being run from the dovecot imap
>> process. Same error messages.
>>
>>
>> Any idea where to go next?
>
> did you try adding the user that runs this command as trusted in dspam.conf?
>
Yup, mentioned that in the subject... but yes, virtual is in trusted
users, also stuck it in the dspam_virtual_uids table with a new UID to
see if that helped any.
Leeman
Received on Sat Mar 4 14:29:49 2006
This archive was generated by hypermail 2.1.8 : Sun Mar 05 2006 - 00:00:02 EST