[Dspam-user] dovecot antispam and dspam

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Dspam-user] dovecot antispam and dspam

Joshua Boyd
I am trying to configure antispam with dspam for retraining when moving from SPAM -> INBOX and vice versa.

I receive the following error when moving messages:

May 15 15:55:23 GARV-MX01 imap: antispam: /usr/bin/dspam --source=error --class=spam --signature=536d01bc29381952369248 --user dspam --deliver=spam,innocent
May 15 15:55:23 GARV-MX01 dspam[10853]: Unable to determine the destination user

When I execute that same command from the console, it works fine.

Below is my plugin configuration:

plugin {
   # Antispam (DSPAM)
   antispam_debug_target = syslog
   antispam_verbose_debug = 1
   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 = move
   antispam_dspam_binary = /usr/bin/dspam
   antispam_dspam_args = --user dspam;--deliver=spam,innocent
   antispam_dspam_spam = --class=spam
   antispam_dspam_notspam = --class=innocent
   antispam_dspam_result_header = X-DSPAM-Result
}

I use only a single user for dspam, as all accounts on the server are my own.

TIA

Josh

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|

Re: [Dspam-user] dovecot antispam and dspam

Tom Hendrikx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 16-05-14 20:16, Joshua Boyd wrote:

> I am trying to configure antispam with dspam for retraining when
> moving from SPAM -> INBOX and vice versa.
>
> I receive the following error when moving messages:
>
> May 15 15:55:23 GARV-MX01 imap: antispam: /usr/bin/dspam
> --source=error --class=spam --signature=536d01bc29381952369248
> --user dspam --deliver=spam,innocent May 15 15:55:23 GARV-MX01
> dspam[10853]: Unable to determine the destination user
>
> When I execute that same command from the console, it works fine.
>
> Below is my plugin configuration:
>
> plugin { # Antispam (DSPAM) antispam_debug_target = syslog
> antispam_verbose_debug = 1 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 = move
> antispam_dspam_binary = /usr/bin/dspam antispam_dspam_args = --user
> dspam;--deliver=spam,innocent

There cannot be a space character here, its a separate argument. try:

antispam_dspam_args = --user;dspam;--deliver=spam,innocent

> antispam_dspam_spam = --class=spam antispam_dspam_notspam =
> --class=innocent antispam_dspam_result_header = X-DSPAM-Result }
>
> I use only a single user for dspam, as all accounts on the server
> are my own.
>
> TIA
>
> Josh
>
>
> ------------------------------------------------------------------------------
>
>
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE

> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing
> platform available Simple to use. Nothing to install. Get started
> now for free." http://p.sf.net/sfu/SauceLabs
>
>
>
> _______________________________________________ Dspam-user mailing
> list [hidden email]
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTdlp8AAoJEJPfMZ19VO/1qC8P/1TA8RC6TO5phxrJI1Fh1ZS1
FeJQKq9oSfPhH8F/6asIgRnEuT7xTzKvIt5edxYdPcx5WaiiU5SXSG98o4Va5nbT
NIt+fm2vB3GSSwoTxNd7JiFwpQG2vEE4bNlwqok25QoiH2db1wzcJK97xh32pXT6
hpakVKEt/LXGN5xiTDIBT4AHDE+v4/XhP0W+ZmEgpsJRCLmQufvz6S35tIeyyyME
DIpqFpRRtMRlIy0pPxyxOiSZkap4CyzXR7QcMVboNaK+wra3y0gPpFyAiIAQLWM/
cxOrSTYEfn8gMWdH9nJVUgyjthVJtk0+1nK/nUYbb2gpJ4Eu5GGYwqtK3VCxqcfP
JjBpNt/+A9yOeg+9UGmFfDGGZAHD1MkzYqR6aQunNnKrkuRnF6dMnfMpfTpfH88L
4/Sz9tQZAz38ZcbxGWikfphDyZ+09K10gm43T87pc2Bnpqo4n3raAzexEjHBQ0cF
w//8n1eyLjLLVr52eE/CiO0SNFBZKj2+Snrv7qGjenO47qi4OuMyF9EIALlYSXNi
vF8wfs09z/K7yvdiegfXZjUvVAyQgl7HK1TdIuTRfFmIXZVKJaAYKFzP7KId0bSY
dOe/4fuj2vzMHG8rSNGXpeGrZ5hkKAnbplGcUJuq17KLUUtWRfLzUxovZ+LZzH/y
rZ+0ep65kPZ2Mc2DE/mj
=ExLS
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user
Reply | Threaded
Open this post in threaded view
|

Re: [Dspam-user] dovecot antispam and dspam

Joshua Boyd
On 05/16/2014 02:35 PM, Tom Hendrikx wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 16-05-14 20:16, Joshua Boyd wrote:
>> I am trying to configure antispam with dspam for retraining when
>> moving from SPAM -> INBOX and vice versa.
>>
>> I receive the following error when moving messages:
>>
>> May 15 15:55:23 GARV-MX01 imap: antispam: /usr/bin/dspam
>> --source=error --class=spam --signature=536d01bc29381952369248
>> --user dspam --deliver=spam,innocent May 15 15:55:23 GARV-MX01
>> dspam[10853]: Unable to determine the destination user
>>
>> When I execute that same command from the console, it works fine.
>>
>> Below is my plugin configuration:
>>
>> plugin { # Antispam (DSPAM) antispam_debug_target = syslog
>> antispam_verbose_debug = 1 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 = move
>> antispam_dspam_binary = /usr/bin/dspam antispam_dspam_args = --user
>> dspam;--deliver=spam,innocent
> There cannot be a space character here, its a separate argument. try:
>
> antispam_dspam_args = --user;dspam;--deliver=spam,innocent
>
>> antispam_dspam_spam = --class=spam antispam_dspam_notspam =
>> --class=innocent antispam_dspam_result_header = X-DSPAM-Result }
>>
>> I use only a single user for dspam, as all accounts on the server
>> are my own.
>>
>> TIA
>>
>> Josh
>>
>>
>> ------------------------------------------------------------------------------
>>
>>
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
>> Instantly run your Selenium tests across 300+ browser/OS combos.
>> Get unparalleled scalability from the best Selenium testing
>> platform available Simple to use. Nothing to install. Get started
>> now for free." http://p.sf.net/sfu/SauceLabs
>>
>>
>>
>> _______________________________________________ Dspam-user mailing
>> list [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/dspam-user
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJTdlp8AAoJEJPfMZ19VO/1qC8P/1TA8RC6TO5phxrJI1Fh1ZS1
> FeJQKq9oSfPhH8F/6asIgRnEuT7xTzKvIt5edxYdPcx5WaiiU5SXSG98o4Va5nbT
> NIt+fm2vB3GSSwoTxNd7JiFwpQG2vEE4bNlwqok25QoiH2db1wzcJK97xh32pXT6
> hpakVKEt/LXGN5xiTDIBT4AHDE+v4/XhP0W+ZmEgpsJRCLmQufvz6S35tIeyyyME
> DIpqFpRRtMRlIy0pPxyxOiSZkap4CyzXR7QcMVboNaK+wra3y0gPpFyAiIAQLWM/
> cxOrSTYEfn8gMWdH9nJVUgyjthVJtk0+1nK/nUYbb2gpJ4Eu5GGYwqtK3VCxqcfP
> JjBpNt/+A9yOeg+9UGmFfDGGZAHD1MkzYqR6aQunNnKrkuRnF6dMnfMpfTpfH88L
> 4/Sz9tQZAz38ZcbxGWikfphDyZ+09K10gm43T87pc2Bnpqo4n3raAzexEjHBQ0cF
> w//8n1eyLjLLVr52eE/CiO0SNFBZKj2+Snrv7qGjenO47qi4OuMyF9EIALlYSXNi
> vF8wfs09z/K7yvdiegfXZjUvVAyQgl7HK1TdIuTRfFmIXZVKJaAYKFzP7KId0bSY
> dOe/4fuj2vzMHG8rSNGXpeGrZ5hkKAnbplGcUJuq17KLUUtWRfLzUxovZ+LZzH/y
> rZ+0ep65kPZ2Mc2DE/mj
> =ExLS
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Dspam-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/dspam-user
>

Thank you. That fixed it.

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Dspam-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dspam-user