[Dovecot] Antispam plugin problem (CRM114)

Davide davide.marchi at mail.cgilfe.it
Mon Oct 1 18:46:53 EEST 2012


I made an experiment because iwasn't able to output some error to syslog 
or stderr about my configuration...
I've installed antispam plugin in a parallel server with the program of 
johannes Bergs that seem now upgraded to function with 2.X and i have 
same problem ("Failed to call crm114 binary.." in antispam dovecot from 
your program, Eugene, and "Failed to call reaver.." from Johannes 
program) but now i'm able to output to log with this config:

   antispam_debug_target = syslog
   antispam_debug_target = stderr
   antispam_verbose_debug = 1
   antispam_backend = crm114
   antispam_spam_pattern_ignorecase = spam*
   antispam_trash_pattern_ignorecase = trash*
   antispam_unsure_pattern_ignorecase = unsure*
   antispam_signature = X-CRM114-CacheID
   antispam_signature_missing = error
   antispam_crm_binary = /usr/local/bin/piper_log.sh
   antispam_crm_spam_arg = --spam
   antispam_crm_notspam_arg = --good
#  antispam_crm_binary = /opt/crm114/mailreaver.crm
   antispam_crm_args = -u;%h;--fileprefix=/opt/crm114/
#  antispam_signature = X-CRM114-CacheID

in dovecot-err.log now i have
2012-10-01 17:39:35 imap: Error: antispam: plugin initialising 
(2.0-4-g83b0b4b-dirty)
2012-10-01 17:39:35 imap: Error: antispam: verbose debug enabled
2012-10-01 17:39:35 imap: Error: antispam: "SPAM" is exact match spam folder
2012-10-01 17:39:35 imap: Error: antispam: "UNSURE" is exact match 
unsure folder
2012-10-01 17:39:35 imap: Error: antispam: "Trash" is exact match trash 
folder
2012-10-01 17:39:35 imap: Error: antispam: reaver binary set to 
/usr/local/bin/piper_log.sh
2012-10-01 17:39:35 imap: Error: antispam: reaver extra arg -u
2012-10-01 17:39:35 imap: Error: antispam: reaver extra arg 
/home/vpopmail/domains/mail.cgilfe.it/davide.marchi
2012-10-01 17:39:35 imap: Error: antispam: reaver extra arg 
--fileprefix=/opt/crm114/
2012-10-01 17:39:35 imap: Error: antispam: signature header line is 
"X-CRM114-CacheID"
2012-10-01 17:39:39 imap: Error: antispam: plugin initialising 
(2.0-4-g83b0b4b-dirty)
2012-10-01 17:39:39 imap: Error: antispam: verbose debug enabled
. . .
2012-10-01 17:39:42 imap: Error: antispam: mail copy: from trash: 0, to 
trash: 0
2012-10-01 17:39:42 imap: Error: antispam: mailbox_is_spam(SPAM): 1
2012-10-01 17:39:42 imap: Error: antispam: mailbox_is_spam(INBOX): 0
2012-10-01 17:39:42 imap: Error: antispam: mailbox_is_unsure(SPAM): 0
2012-10-01 17:39:42 imap: Error: antispam: mail copy: src spam: 1, dst 
spam: 0, src unsure: 0

(i moved a mail from SPAM to INBOX)

this is the output for "call command crm args"
/opt/crm114/mailreaver.crm --good -u 
/home/vpopmail/domains/mail.cgilfe.it/davide.marchi 
--fileprefix=/opt/crm114/

if i exec this command with user vpopmail in console the command is 
successful


Il 01/10/2012 14:04, Eugene Paskevich ha scritto:
> On Mon, 01 Oct 2012 14:48:31 +0300, Davide
> <davide.marchi at mail.cgilfe.it> wrote:
>
>> Can i attach compressed log in a post?
>
> If it's of the sane size :-)
> But I'm actually interested in the output which was triggered by the
> mail move itself.
>
>> I can produce output replacing crm binary with a script bash to ouput
>> command,user etc etc
>
> Wait a second... So the script is ran correctly but reaver isn't?
> That probably means that either reaver dislikes its arguments or its
> stdin...
>



More information about the dovecot mailing list