Displaying 20 results from an estimated 45 matches for "antispam_pipe_tmpdir".
2016 Apr 12
6
antispam plugin, pipe backend, how to make it work?
...l/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_debug = 1
antispam_debug_target = syslog
antispam_pipe_tmpdir = /tmp
}
I have tried the following wrapper script:
#!/bin/bash
# set -x
LOGFILE=/tmp/sa-learn-pipe.log
echo "$$-start ($*)" >> $LOGFILE
#echo $* > /tmp/sendmail-parms.txt
cat<&0 >> /tmp/sendmail-msg-$$.txt
/usr/bin/sa-learn $* -D /tmp/sendmail-msg-$$.txt >> $...
2014 Jul 29
3
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...tc/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=+100M
quota_rule3 = Junk:ignore
quota_rule4 = INBOX:storage=+100M
quota...
2015 Jan 15
2
[SERVERBUG] failed to send mail with SA and antispam plugin
...ss = 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;Deleted Messages
antispam_verbose_debug = 1
quota = maildir:User quota
quota...
2020 Mar 24
2
dovecot-2.2.36-4 and antispam
...{
??? special_use = \Junk
? }
? mailbox Trash {
??? special_use = \Trash
? }
....
90-plugin.conf:
.....
?antispam_backend = MAILTRAIN
? #antispam_mail_sendmail_args? = --for;%u
? antispam_mail_spam = --spam
? antispam_mail_notspam = --ham
? antispam_mail_sendmail = /usr/local/bin/spam-learn.sh
? antispam_pipe_tmpdir = /tmp
? antispam_spam_pattern_ignorecase = spam;inbox.spam;Unwanted
? antispam_trash_pattern_ignorecase = trash;Deleted
*;Junk*;wiadomo&AVs-ci-&AVs-mieci;kosz
? antispam_debug_target = syslog
? antispam_verbose_debug = 1
script to learn
cat /usr/local/bin/spam-learn.sh
#!/bin/sh
date...
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:
2015 Jan 15
2
[SERVERBUG] failed to send mail with SA and antispam plugin
...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 Items;INBOX.Deleted Messages;Deleted Messages
> antispam_verbose_debug = 1
What d...
2016 Apr 12
2
antispam plugin, pipe backend, how to make it work?
...s just guesswork.
Cheers,
Johannes
>
>
>> antispam_trash = trash;Trash;Deleted Items;Deleted Messages
>> antispam_spam = SPAM;Junk
>> antispam_backend = pipe
>> antispam_verbose_debug = 1
>> antispam_debug_target = syslog
>> antispam_pipe_tmpdir = /tmp
>> }
>>
>> I have tried the following wrapper script:
>> #!/bin/bash
>> # set -x
>> LOGFILE=/tmp/sa-learn-pipe.log
>> echo "$$-start ($*)" >> $LOGFILE
>> #echo $* > /tmp/sendmail-parms.txt
>> cat<&0 >> /tmp...
2013 Jun 19
3
Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect
.../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=+100M
quota_rule3 = Junk:ignore
quota_warning = storage=95%% quota-warnin...
2014 Feb 20
1
dovecot with maildir not using mtime on reindex
...:%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 copy mailbox_delete mailbox_rename flag_change append
mail_log_fields = uid box msgid...
2013 Jan 02
2
Trouble with expire plugin
...vecot/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 = Junk
autosubscribe3 = Drafts
autosubscribe4 = Sent
expire = Trash...
2016 Aug 19
2
antispam plugin pipe script seems not to be called when it "should be"
...tc/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=+100M
quota_rule3 = Junk:ignore
quota_rule4 = INBOX:storage=+100M
quota...
2014 Jul 29
0
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...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-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBU9dJrnz1H7kL/d9rAQIskggAt2Otvh4sHZPrmYNm2a...
2016 Nov 23
0
antispam plugin not working correctly
...D 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
...ispam 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:
"J47 NO [CANNOT] Failed to copy to temporary file (0.000 + 0.000
secs).?....
2020 Mar 24
0
dovecot-2.2.36-4 and antispam
...al_use = \Trash
> ? }
> ....
>
>
> 90-plugin.conf:
> .....
> ?antispam_backend = MAILTRAIN
> ? #antispam_mail_sendmail_args? = --for;%u
> ? antispam_mail_spam = --spam
> ? antispam_mail_notspam = --ham
> ? antispam_mail_sendmail = /usr/local/bin/spam-learn.sh
> ? antispam_pipe_tmpdir = /tmp
>
> ? antispam_spam_pattern_ignorecase = spam;inbox.spam;Unwanted
> ? antispam_trash_pattern_ignorecase = trash;Deleted
> *;Junk*;wiadomo&AVs-ci-&AVs-mieci;kosz
>
> ? antispam_debug_target = syslog
> ? antispam_verbose_debug = 1
>
>
> script to learn
>...
2020 Oct 23
0
antispam plugin again
...-------------
In older version dovecot I use antispam_plugin + simple script:
---------------- old from 2.2.36.4 + antispam plugin ----------
?...
?antispam_backend = MAILTRAIN
? antispam_mail_spam = --spam
? antispam_mail_notspam = --ham
? antispam_mail_sendmail = /usr/local/bin/spam-learn.sh
? antispam_pipe_tmpdir = /tmp
? antispam_spam_pattern_ignorecase = spam;inbox.spam;Unwanted
? antispam_trash_pattern_ignorecase = trash;Deleted *;Junk*;kosz
? antispam_debug_target = syslog
? antispam_verbose_debug = 1
-------------------------
How do I change the bash file to make it work like on the old system (I
us...
2011 Dec 15
1
dovecot-antispam: pipe backend with spamc failing to parse args
...< $file 2>&1 > /dev/null
now, i'm using dovecot-antispam 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 grosb...
2015 Jan 15
0
[SERVERBUG] failed to send mail with SA and antispam plugin
...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 Items;INBOX.Deleted Messages;Deleted Messages
> antispam_verbose_debug = 1
What d...
2016 Apr 13
2
antispam plugin, pipe backend, how to make it work?
...gt;
>> Johannes
>>
>>>
>>>
>>>> antispam_trash = trash;Trash;Deleted Items;Deleted Messages
>>>> antispam_spam = SPAM;Junk antispam_backend = pipe
>>>> antispam_verbose_debug = 1 antispam_debug_target = syslog
>>>> antispam_pipe_tmpdir = /tmp }
>>>>
>>>> I have tried the following wrapper script: #!/bin/bash # set
>>>> -x LOGFILE=/tmp/sa-learn-pipe.log echo "$$-start ($*)" >>
>>>> $LOGFILE #echo $* > /tmp/sendmail-parms.txt cat<&0 >>
>>>>...
2012 Nov 15
0
emails are not displayed
.../var/mail/vhosts/auth.d/%d/shadow
driver = passwd-file
}
plugin {
acl = vfile
antispam_allow_append_to_spam = no
antispam_backend = pipe
antispam_pipe_program = /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 = Spam
antispam_trash = Trash
sieve = /var/mail/vhosts/sieve/users/%d/%n/.dovecot.sieve
sieve_before = /var/mail/vhosts/sieve/%d/before
sieve_dir = /var/mail/vhosts/sieve/users/%d/%n
sieve_global_dir = /var/mail/vhosts/sieve/%d/global
sieve_user_log = /var/...