Hello, I'm running into an issue with DSPAM and Dovecot with this setup : - Ubuntu Server 14.04.1
- Dovecot 2.2.9 with dovecot-antispam plugin { antispam_allow_append_to_spam = YES antispam_backend = dspam antispam_debug_target = syslog antispam_dspam_args = --deliver;--user;%u;--source=error;--signature=%%s antispam_dspam_binary = /usr/bin/dspam antispam_dspam_result_header = X-DSPAM-Result antispam_signature = X-DSPAM-Signature antispam_signature_missing = error antispam_skip_from_line = NO antispam_spam = Spam antispam_trash = Trash sieve = ~/.dovecot.sieve sieve_default = /etc/dovecot/sieve/global.sieve sieve_dir = ~/sieve sieve_global_dir = /etc/dovecot/sieve/ sieve_global_path = /etc/dovecot/sieve/global.sieve } - DSPAM 3.10.2 Configuration parameters: '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--sysconfdir=/etc/dspam' '--disable-dependency-tracking' '--enable-split-configuration' '--enable-static' '--enable-external-lookup' '--enable-syslog' '--with-logdir=/var/log/dspam/' '--with-dspam-home=/var/spool/dspam' '--enable-domain-scale' '--with-delivery-agent=/usr/bin/procmail' '--enable-daemon' '--with-mysql-includes=/usr/include/mysql' '--with-pgsql-includes=/usr/include/postgresql' '--with-storage-driver=hash_drv,mysql_drv,pgsql_drv,sqlite3_drv' '--enable-debug' '--enable-virtual-users' '--enable-preferences-extension' '--enable-clamav' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,defs -Wl,--as-needed' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' TrainingMode teft TestConditionalTraining off Feature noise Feature whitelist Algorithm graham burton Tokenizer osb Preference "spamAction=tag" Preference "signatureLocation=headers" # 'message' or 'headers' Preference "showFactors=off" Preference "trainingMode=TEFT" Preference "spamSubject=[SPAM] " AllowOverride trainingMode AllowOverride spamAction spamSubject AllowOverride statisticalSedation AllowOverride enableBNR AllowOverride enableWhitelist AllowOverride signatureLocation AllowOverride showFactors AllowOverride optIn optOut AllowOverride whitelistThreshold When I'm moving a spam from my Spam folder to another folder (or from another folder to my Spam folder), I got this error : Signature retrieval for '%s' failed. Unable to find a valid signature. Aborting. Here's the concerned email header : X-DSPAM-Result: Spam X-DSPAM-Processed: Mon Jan 5 15:05:07 2015 X-DSPAM-Confidence: 0.9982 X-DSPAM-Probability: 1.0000 X-DSPAM-Signature: 54aa9a1318642065924526 With debug mode enabled, i have more details : input args: /usr/bin/dspam --source=error --class=innocent --signature=54aa9a1318642065924526 --deliver --user XXXXXXX --source=error --signature=%s Running this command works fine (as root, i got nothing printed as dspam) : $ dspam --user XXXXX --class=innocent --source=error --signature=54aa9a1318642065924526 --stdout --deliver=summary X-DSPAM-Result: XXXXXX; result="Innocent"; class="Innocent"; probability=0.0000; confidence=0.00; signature=54aa9a1318642065924526 I updated my dovecot antispam_dspam_args parameter to this, hoping to remove the second signature parameter : --deliver;--user;%u But it still the same issue. Maybe this extra signature=%s comes from dovecot-antispam ? Regards, Guillaume ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user