[Dovecot] dovecot antispam plugin is not woking
Eugene Paskevich
eugene at raptor.kiev.ua
Tue Apr 30 14:47:40 EEST 2013
On Tue, 30 Apr 2013 12:36:44 +0300, Ravi Kanchan
<ravi_kanchan2004 at yahoo.com> wrote:
> I am using dovecot version 2.0.9
> DSPAM Anti-Spam Suite 3.10.2 (agent/library)
> ClamAV 0.97.7/17102
>
> and dspam antispam plugin
> dovecot-antispam-plugin-43880985e3dd
That is quite an old revision.
However, there were no significant changes since then.
If you update to the latest revision you might need to revert 5e8351bcfb29,
given your dovecot version.
> and plugin configuration is given below:
>
> protocol imap {
> mail_plugins = " antispam autocreate"
> }
> protocol pop3 {
> mail_plugins = antispam autocreate
> }
I'm not sure this plugin could be used with POP3.
> plugin {
> antispam_allow_append_to_spam = YES
> antispam_backend = dspam
> antispam_crm_args = --config=/home/vmail
This line isn't used for dspam backend.
> antispam_dspam_args = --client;--user vmail
"--user vmail" is treated like a single argument due to missing semicolon.
That is definitely not what you want. Put it like "--client;--user;vmail".
Also, you might consider adding these two:
"--source=error;--signature=%%s".
But I've never used dspam, so can't know for sure.
> antispam_dspam_binary = /usr/bin/dspam
> antispam_dspam_notspam = --class=innocent
These are default, could be removed.
> antispam_dspam_result_header = X-DSPAM-Result
> antispam_dspam_spam = --class=spam
This last line could also be removed because it's default.
> antispam_mail_tmpdir = /tmp
No such setting at all for this plugin.
> antispam_signature = X-DSPAM-Signature
> antispam_signature_missing = error
Again, default.
> antispam_spam = Spam
> }
>
> dspam bin path:
>
> [root at sogo ~]# which dspam
> /usr/bin/dspam
>
> but my dspam plugin
> configuration is not working. and I am not getting any log from
> dspam. My dspam server is working prefect.
>
> cna anyone help me
Please fix antispam_dspam_args and let me know whether it works.
--
Eugene Paskevich | *==)----------- | Plug me into
eugene at raptor.kiev.ua | -----------(==* | The Matrix
More information about the dovecot
mailing list