Displaying 20 results from an estimated 63 matches for "antispam_pipe_program_notspam_arg".
2011 Dec 15
1
dovecot-antispam: pipe backend with spamc failing to parse args
...m and mdbox and have the following
configured:
antispam_backend = pipe
antispam_signature = X-Spam-Flag
antispam_signature_missing = error
antispam_trash_pattern = trash;Trash;Deleted *
antispam_spam_pattern_ignorecase = SPAM
antispam_pipe_tmpdir = /var/tmp
antispam_pipe_program_spam_arg = -L spam
antispam_pipe_program_notspam_arg = -L ham
antispam_pipe_program = /usr/bin/spamc
antispam_pipe_program_args = -d 10.0.1.109
Now, when I move a message to Spam, dovecot-antispam detects it and
attempts to run, but it fails:
Dec 14 16:22:45 grosbeak [username 10.0.1.74 uid]: antispam: run program
failed with exit code 64
Exit cod...
2016 Apr 12
6
antispam plugin, pipe backend, how to make it work?
...n by itself works, a manual call of sa-learn
works fine. Bayes data is stored in a mysql DB.
I have the following configuration in /etc/dovecot/conf.d/90-plugin.conf
plugin {
#setting_name = value
sieve=~/.dovecot.sieve
sieve_dir=~/sieve
antispam_pipe_program_spam_arg = --spam
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_program = /usr/local/bin/sa-learn-pipe.sh
antispam_pipe_program_args = --username=%u # % expansion done by
dovecot
antispam_trash = trash;Trash;Deleted Items;Deleted Messages
antispam_spam = SPAM;Junk
antispam_backend = pipe
antispam_verbose_deb...
2014 Jul 29
3
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...opy include variables body enotify
environment mailbox date ihave
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
antispam_backend = pipe
antispam_debug_target = syslog
antispam_pipe_program = /bin/bash
antispam_pipe_program_args = /usr/local/bin/sa-learn-pipe.sh
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_program_spam_arg = --spam
antispam_pipe_tmpdir = /tmp
antispam_spam_pattern_ignorecase = SPAM;JUNK
antispam_trash_pattern_ignorecase = trash;Deleted *
antispam_verbose_debug = 1
quota = dict:user::file:/var/vmail/%d/%n/.quotausage
quota_rule2 = Trash:storage=+100...
2015 Aug 21
2
plugin antispam sa-learn run program failed with exit code -1
...msg-$$.txt &
> echo "$$-end" >> /tmp/sa-learn-pipe.log
> exit 0
And to update my configuration like that:
>
> antispam_debug_target = syslog
> antispam_verbose_debug = 1
>
> antispam_backend = pipe
> antispam_pipe_program_spam_arg = --spam
> antispam_pipe_program_notspam_arg = --ham
> antispam_pipe_program = /usr/local/bin/sa-learn-pipe.sh
> antispam_pipe_program_args = --username=%Lu
Now, this seems better, no error, the email is correctly moved in /Junk/
and I have no error
> Aug 21 16:31:05 mail imap: antispam: mailbox_is_unsure(Junk): 0
> Aug 21...
2015 Jan 15
2
[SERVERBUG] failed to send mail with SA and antispam plugin
...r = .
}
passdb {
args = /etc/dovecot/master-users
driver = passwd-file
master = yes
pass = yes
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
antispam_backend = pipe
antispam_pipe_program = /usr/bin/spamc
antispam_pipe_program_args = -d;my-mx-server.domain.com;-u;amavis
antispam_pipe_program_notspam_args = -L;ham
antispam_pipe_program_spam_args = -L;spam
antispam_pipe_tmpdir = /tmp
antispam_signature = X-Spam-Flag
antispam_signature_missing = error
antispam_spam = INBOX.Spam;INBOX.Junk
antispam_trash = INBOX.trash;trash;INBOX.Trash;Trash;INBOX.Deleted Items;Deleted Items;INBOX.Deleted Messages;Del...
2015 Nov 08
2
antispam plugin pipe backend error when moving multiple emails
Hi,
I've got some trouble with the dovecot antispam plugin and the pipe backend.
I'm using dovecot 2.2.18 with maildirs and zlib compression enabled.
When moving 2 or more emails at once from the Junk folder to another one, I always have the following error : "Failed to copy to temporary file"
In the server logs :
imap(vvv at vvv.vvv): Error:
2018 Feb 17
1
trying to enable sieve
...}
prefix =
}
passdb {
driver = pam
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
antispam_allow_append_to_spam = no
antispam_backend = pipe
antispam_debug_target = syslog
antispam_pipe_program = /usr/bin/sa-learn
antispam_pipe_program_args = --no-sync
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_program_spam_arg = --spam
antispam_spam = Junk
antispam_trash = Trash
antispam_verbose_debug = 1
quota = dict:%u::proxy::quota
quota_rule = *:storage=10M:messages=1000
quota_warning = storage=99%% quota-warning 99 %u
quota_warning2 = storage=97%% quota-warning...
2015 Mar 31
2
Need a bit of help with the antispam plugin
...# "Maximum number of concurrent IMAP connections exceeded"
mail_max_userip_connections = 20
plugin {
antispam_debug_target = syslog
antispam_verbose_debug = 1
antispam_backend = pipe
antispam_trash = Trash
antispam_spam = Junk
antispam_pipe_program_spam_arg = --spam
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_program = /usr/bin/sa-learn
antispam_pipe_program_args = --username=%Lu
}
}
For some reason, when I try to move something to Junk, I get the
following in my syslog:
Mar 31 18:27:16 anonymail imap: antispam: plugin initialising (2.0-notgit)
Mar 31 18:27:16 anonymail imap:...
2015 Jan 15
2
[SERVERBUG] failed to send mail with SA and antispam plugin
...; [SERVERBUG] failed to send mail
> # 2.1.7: /etc/dovecot/dovecot.conf
> # OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.8 ext4
[cut]
> plugin {
> antispam_backend = pipe
> antispam_pipe_program = /usr/bin/spamc
> antispam_pipe_program_args = -d;my-mx-server.domain.com;-u;amavis
> antispam_pipe_program_notspam_args = -L;ham
> antispam_pipe_program_spam_args = -L;spam
> antispam_pipe_tmpdir = /tmp
> antispam_signature = X-Spam-Flag
> antispam_signature_missing = error
> antispam_spam = INBOX.Spam;INBOX.Junk
> antispam_trash = INBOX.trash;trash;INBOX.Trash;Trash;INBOX.Deleted Items;Deleted It...
2016 Apr 12
2
antispam plugin, pipe backend, how to make it work?
...in a mysql DB.
>>
>> I have the following configuration in /etc/dovecot/conf.d/90-plugin.conf
>>
>> plugin {
>> #setting_name = value
>> sieve=~/.dovecot.sieve
>> sieve_dir=~/sieve
>> antispam_pipe_program_spam_arg = --spam
>> antispam_pipe_program_notspam_arg = --ham
>> antispam_pipe_program = /usr/local/bin/sa-learn-pipe.sh
>> antispam_pipe_program_args = --username=%u # % expansion done by
>> dovecot
> You need to specify the argument list as a list seperated by semicolons,
> per example on the wiki:
>
> antisp...
2013 Jun 19
3
Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect
...;%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
antispam_backend = pipe
antispam_debug_target = syslog
antispam_pipe_program = /usr/bin/sa-learn-pipe.sh
antispam_pipe_program_args = --debug;--username=amavis
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_program_spam_arg = --spam
antispam_pipe_tmpdir = /tmp
antispam_spam_pattern_ignorecase = SPAM;JUNK
antispam_trash_pattern_ignorecase = trash;Deleted *
antispam_verbose_debug = 1
quota = dict:user::file:/var/vmail/%d/%n/.quotausage
quota_rule2 = Trash:storage=+100...
2014 Feb 20
1
dovecot with maildir not using mtime on reindex
...=
prefix =
}
passdb {
args = host=localhost port=1143 username=%L{user}::%L{service}::%L{rip}::%L{session}
driver = imap
}
plugin {
antispam_backend = pipe
antispam_debug_target = syslog
antispam_pipe_program = /he/dovecot/utils/he_spamtrain.pl
antispam_pipe_program_args = --user=%u
antispam_pipe_program_notspam_arg = --falsepositive
antispam_pipe_program_spam_arg = --missed
antispam_pipe_tmpdir = /var/run/dovecot_as_tmp
antispam_signature_missing = move
antispam_spam = Spam;Inbox.Spam;INBOX.Spam;Junk;INBOX.Junk
antispam_trash_pattern_ignorecase = trash
mail_log_events = delete undelete expunge cop...
2013 Dec 07
1
dovecot-imapd eating 100% cpu every once in a while
...mailbox Spam {
special_use = \Junk
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = scheme=SHA512-CRYPT username_format=%n /etc/dovecot/users
driver = passwd-file
}
plugin {
antispam_backend = pipe
antispam_pipe_program = /usr/local/bin/spamc_wrapper
antispam_pipe_program_notspam_args = -L;ham
antispam_pipe_program_spam_args = -L;spam
antispam_spam = Spam
antispam_trash = Trash;Papierkorb
fts = lucene
fts_lucene = whitespace_chars=@.
quota = dict:User quota::file:%h/quota
quota_rule = *:storage=1G
quota_rule2 = Trash:storage=+100M
sieve = ~/.dovecot.sieve
si...
2013 Jan 02
2
Trouble with expire plugin
...location =
prefix =
separator = /
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
antispam_backend = pipe
antispam_pipe_program = /usr/bin/ssh
antispam_pipe_program_args =
-l;spamd;-i;/etc/dovecot/sareport.key;mx1.xxxxxxx.com
antispam_pipe_program_notspam_arg = revoke
antispam_pipe_program_spam_arg = report
antispam_pipe_tmpdir = /tmp
antispam_spam = Junk
antispam_trash_pattern_ignorecase = trash;Deleted *
autocreate = Trash
autocreate2 = Junk
autocreate3 = Drafts
autocreate4 = Sent
autosubscribe = Trash
autosubscribe2 = Ju...
2015 Apr 07
2
Need a bit of help with the antispam plugin
...x_userip_connections = 20
>>
>> plugin {
>> antispam_debug_target = syslog
>> antispam_verbose_debug = 1
>>
>> antispam_backend = pipe
>> antispam_trash = Trash
>> antispam_spam = Junk
>> antispam_pipe_program_spam_arg = --spam
>> antispam_pipe_program_notspam_arg = --ham
>> antispam_pipe_program = /usr/bin/sa-learn
>> antispam_pipe_program_args = --username=%Lu
>> }
>> }
>
> replace the value of antispam_pipe_program with a script:
>
> ======
> #/bin/bash
>
> (
> set -x
> id -a
> date
> /usr/bin/...
2016 Aug 19
2
antispam plugin pipe script seems not to be called when it "should be"
...0
mail_plugins = " quota"
mail_privileged_group = vmail
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
antispam_backend = pipe
antispam_debug_target = syslog
antispam_pipe_program = /bin/bash
antispam_pipe_program_args = /usr/local/bin/sa-learn-pipe.sh
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_program_spam_arg = --spam
antispam_pipe_tmpdir = /tmp
antispam_spam_pattern_ignorecase = SPAM;JUNK
antispam_trash_pattern_ignorecase = trash;Deleted *
antispam_verbose_debug = 1
quota = dict:user::file:/var/vmail/%d/%n/.quotausage
quota_rule2 = Trash:storage=+100...
2014 Jul 29
0
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...>
> # 2.2.9: /etc/dovecot/dovecot.conf
> # OS: Linux 3.13.0-32-generic x86_64 Ubuntu 14.04.1 LTS
> plugin {
> antispam_backend = pipe
> antispam_debug_target = syslog
> antispam_pipe_program = /bin/bash
> antispam_pipe_program_args = /usr/local/bin/sa-learn-pipe.sh
> antispam_pipe_program_notspam_arg = --ham
> antispam_pipe_program_spam_arg = --spam
> antispam_pipe_tmpdir = /tmp
> antispam_spam_pattern_ignorecase = SPAM;JUNK
> antispam_trash_pattern_ignorecase = trash;Deleted *
> antispam_verbose_debug = 1
> }
>
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Versi...
2016 Nov 23
0
antispam plugin not working correctly
...n/sa-learn-pipe.sh
Nov 23 18:36:49 daedalus imap [fzielcke at z-51.de 80.187.96.201 UID MOVE]: antispam: running mailtrain backend program parameter 1 --ham
# doveconf -n |grep antispam
antispam_backend = pipe
antispam_debug_target = syslog
antispam_pipe_program = /usr/bin/sa-learn-pipe.sh
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_program_spam_arg = --spam
antispam_pipe_tmpdir = /tmp
antispam_spam_pattern_ignorecase = SPAM
antispam_trash_pattern_ignorecase = trash;Deleted *
antispam_verbose_debug = 1
mail_plugins = acl zlib quota imap_zlib imap_acl imap_quota antispam
2016 Apr 18
0
antispam plugin pipe backend error when moving multiple emails
Hello,
I'm bumping this because it still occurs with dovecot 2.2.22.
my dovecot-antispam plugin configuration :
antispam_allow_append_to_spam = no
antispam_backend = pipe
antispam_pipe_program = /usr/bin/rspamc
antispam_pipe_program_args = -h;127.0.0.1:11334;-P;********
antispam_pipe_program_notspam_arg = learn_ham
antispam_pipe_program_spam_arg = learn_spam
antispam_pipe_tmpdir = /var/tmp
antispam_spam = Junk
antispam_trash = trash;Trash;Deleted Items;Deleted Messages
zlib enabled:
zlib_save = gz
zlib_save_level = 9
When moving 2 or more messages from inbox to the Junk folder...
2017 Jun 29
0
Error: vsize-hdr has invalid size
...ot/dovecot-ldaps.conf.ext
driver = ldap
}
protocol lmtp {
mail_plugins = quota sieve
}
protocol imap {
mail_max_userip_connections = 50
mail_plugins = " quota imap_quota antispam"
plugin {
antispam_backend = pipe
antispam_pipe_program = /fbc/bin/mail/sa-learn-pipe.sh
antispam_pipe_program_notspam_arg = --ham
antispam_pipe_program_spam_arg = --spam
antispam_spam = Junk
antispam_trash = Trash
}
}
protocol sieve {
mail_debug = yes