The antispam plugin is meant to take effect when messages are moved in
and out of certain folders via IMAP. It makes no sense in lmtp context
and should not be loaded.
>From
http://hg.dovecot.org/dovecot-antispam-plugin/raw-file/tip/doc/dovecot-antispam.7.txt
:
INSTALLATION
Open your dovecot configuration file (usually
/etc/dovecot/dovecot.conf)
and add the antispam plugin to the imap protocol section:
protocol imap {
mail_plugins = $mail_plugins antispam
}
If you set it up that way, you won't have this problem, although it's
better for a segfault not to occur in any case.
On 03/15/2014 10:23 PM, Nikolay Amiantov wrote:> I'm sorry for messing up postfix and dovecot in the title, I have a
good
> lack of sleep today. ^_^
> 16 ????? 2014 ?. 6:09 ???????????? "Nikolay Amiantov"
<nikoamia at gmail.com>
> ???????:
>
>> Hello,
>> I've got a segfault with postfix2-antispam.
>> Versions:
>> Linux: Arch Linux x86_64
>> Dovecot: 2.2.11
>> Antispam: latest hg (revision 51)
>>
>> Antispam configuration:
>> antispam_backend = dspam
>> antispam_allow_append_to_spam = YES
>> antispam_spam = Spam;Junk
>> antispam_trash = trash;Trash
>> antispam_signature = X-DSPAM-Signature
>> antispam_signature_missing = error
>> antispam_dspam_binary = /usr/bin/dspamc
>> antispam_dspam_args >>
--user;%Ln;--deliver=spam,innocent;--source=error;--signature=%%s
>> antispam_dspam_spam = --class=spam
>> antispam_dspam_notspam = --class=innocent
>> antispam_dspam_result_header = X-DSPAM-Result
>> mail_plugins = antispam fts fts_lucene
>>
>> GDB log with lmtp commands:
http://bpaste.net/show/s2Ol7YyQH0a72QpyK9YN/
>>
>> Bug is easily reproducible, ask my if you need additional information.
>> Thanks for your hard work on the dovecot,
>> Nikolay.
>>