[Dovecot] AntiSpam Plugin

Leander S. leander.schaefer at googlemail.com
Wed Jul 28 20:24:01 EEST 2010


  I was now only able to get some more interesting log file:




Jul 28 18:51:27 server imap: antispam: plugin initialising (1.2-notgit)
Jul 28 18:51:27 server imap: antispam: "Trash" is exact match trash folder
Jul 28 18:51:27 server imap: antispam: "Spam" is exact match spam folder
Jul 28 18:51:27 server imap: antispam: "Virus" is exact match unsure folder
Jul 28 18:51:27 server imap: antispam: mail backend spam address --spam
Jul 28 18:51:27 server imap: antispam: mail backend not-spam address --ham
Jul 28 18:51:27 server imap: antispam: mail backend sendmail 
/usr/local/bin/sa-learn
Jul 28 18:51:27 server imap: antispam: mail backend tmpdir /tmp
Jul 28 18:51:40 server imap: antispam: mailbox_is_unsure(Spam): 0
Jul 28 18:51:40 server imap: antispam: mailbox_is_trash(INBOX): 0
Jul 28 18:51:40 server imap: antispam: mailbox_is_trash(Spam): 0
Jul 28 18:51:40 server imap: antispam: mail copy: from trash: 0, to trash: 0
Jul 28 18:51:40 server imap: antispam: mailbox_is_spam(INBOX): 0
Jul 28 18:51:40 server imap: antispam: mailbox_is_spam(Spam): 1
Jul 28 18:51:40 server imap: antispam: mailbox_is_unsure(INBOX): 0
Jul 28 18:51:40 server imap: antispam: mail copy: src spam: 0, dst spam: 
1, src unsure: 0
Jul 28 18:51:40 server imap: antispam: running mailtrain backend program 
/usr/local/bin/sa-learn
Jul 28 18:51:40 server imap: antispam: running mailtrain backend program 
/usr/local/bin/sa-learn
Jul 28 18:51:41 server imap: antispam: run program failed with exit code 9



"run program failed with exit code 9" --> unfortunately is nothing 
mentioned in the dovecot antspam man.
Antispam manual: http://johannes.sipsolutions.net/files/antispam.html#lbAL





Could anybody give me a hint where to look up this exit code? Or is 
there a general meaning for exit codes?
i.e.: 0 means normal ; 5 internal error ; and 9 maybe means syntax issue 
... or whatever ?!



Thanks in advance & Regards

    Leander











2


Am 28.07.10 17:02, schrieb Tom Hendrikx:
> On 28/07/10 16:40, Leander S. wrote:
>> Has anyone got the chance to get this running? I'm permanently getting
>> this Serverbug error ... ;(
>>
> Lots of people on this list are running antispam plugin without issues.
>
> Please post latest config of your dovecot 1.2.13 setup, and relevant log
> entries. It seems sa-learn returns some error code when called.
>
> --
> Regards,
> 	Tom



More information about the dovecot mailing list