On Fri, 2008-11-14 at 11:40 +0100, Marko Weber wrote:
Hello Thorsten , Hello All in List,
i got to write again, ok : dspam workinng , dovecot-antispam working
moving mails to or out of spam seems to work and is listed in the logs; BUT the logs shows this on moving a mail to or from spam =
Nov 14 11:31:57 kraftwerk1 imap: antispam: /usr/bin/dspam --source=error --class=innocent --signature==?iso-8859-1?Q?1,491d521770551288576733=0D?= ... Nov 14 11:31:57 kraftwerk1 dspam[7203]: _ds_get_signature(): _mysql_drv_getpwuid(0) failed: aborting Nov 14 11:31:57 kraftwerk1 dspam[7203]: Signature retrieval for '=?iso-8859-1?Q?1,491d521770551288576733=0D?=' failed Nov 14 11:31:57 kraftwerk1 dspam[7203]: Unable to find a valid signature. Aborting. Nov 14 11:31:57 kraftwerk1 dspam[7203]: process_message returned error -5. dropping message.
incoming mails are scanned by user clamav and mails are moved now by user clamav after the the Tip of Thorsten adding this to dovecot.conf =
antispam_dspam_args = --user;clamav
I just realized that you enabled MySQLUIDInSignature. Thus specifying the user is not strictly necessary.
You may also try to disable MySQLUIDInSignature.
the following point in the logs "mysql_drv_getpwuid(0)" , looks for me like dspam tries with User-ID 0 to work, but User clamav is in the mysql-db with User ID 1
do i have to set any special entires in dovecot.conf or dspam.conf ?
marko