Displaying 20 results from an estimated 49 matches for "antispam_spam_pattern_ignorecase".
2012 Jun 09
1
Dovecot antispam plugin bug: got an empty message
...lugin needs a
> slightly different config.
>
> I use the config below with dovecot 2.0.17 and a git checkout for
> dovecot-antispam:
>
> ===8<========
> plugin {
> antispam_signature = X-DSPAM-Signature
> antispam_signature_missing = move
> antispam_spam_pattern_ignorecase = Junk;Junk.*
> antispam_trash_pattern_ignorecase = Trash;Deleted Items;Deleted
> Messages
>
> # Backend specific
> antispam_backend = dspam
> antispam_dspam_binary = /usr/bin/dspamc
> antispam_dspam_args =
> --user;%u;--deliver=;--so...
2014 Jul 29
3
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...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_warning = storage=100%% quota-reached 100...
2012 Sep 05
1
Trouble implementing Antispam plug-in for Dovecot
...ot/imap
mail_plugins = quota imap_quota antispam
}
# [...]
plugin {
antispam_debug_target = syslog
antispam_verbose_debug = 1
antispam_backend = pipe
antispam_pipe_program = /usr/bin/sa-learn-pipe.sh
antispam_pipe_program_spam_arg = --spam
antispam_pipe_program_notspam_arg = --ham
antispam_spam_pattern_ignorecase = spam;junk
}
--------------------
For what it's worth, the logging directives seem not to have any effect
(and perhaps the rest of the directives do not, either, hence the
problem I'm having).
I tried changing the above directives to their older directive names (I
also changed the order...
2015 Jul 20
2
[Dovecot Antispam] Can't seem to load plugin
On 2015-07-20 08:20, Christian Kivalo wrote:
>>
>> That seems to be about all I get though. Still nothing to indicate
>> errors, and
>> nothing to indicate that anything is being done when I move messages
>> into
>> spam. I suppose that probably means I've configured the folder paths
>> incorrectly. I'll have to keep beating my head against it
2020 Mar 24
2
dovecot-2.2.36-4 and antispam
...? 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 >> /tmp/spam.txt
echo $@ >> /t...
2013 Jan 16
1
dovecot + antispam plugin - no retraining
...pe
antispam_mail_notspam = ham at example.org
antispam_mail_sendmail = /usr/sbin/sendmail
antispam_mail_sendmail_args = -f;%u at example.org
antispam_mail_spam = spam at example.org
antispam_mail_tmpdir = /tmp
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = error
antispam_spam_pattern_ignorecase = SPAM;Junk
antispam_trash = trash;Trash;Deleted Items; Deleted Messages
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = " imap sieve pop3"
service auth {
unix_listener /var/spool/postfix/pri...
2013 Dec 10
1
undoing a zlib test
...u;--deliver=;--source=error;--signature=%%s
antispam_dspam_binary = /opt/local/bin/dspamc
antispam_dspam_notspam = --class=innocent
antispam_dspam_result_header = X-DSPAM-Result
antispam_dspam_spam = --class=spam
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = move
antispam_spam_pattern_ignorecase = junk;spam;junk *
antispam_trash_pattern_ignorecase = trash;deleted *
mail_log_events = flag_change append delete undelete expunge copy
sieve = ~/dovecot.sieve
sieve_before = /Volumes/mail/vmail/%d/global/global.sieve
sieve_dir = ~/sieve
}
protocols = imap pop3 lmtp sieve
sendmail_path =...
2013 Jun 19
3
Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect
...ql
}
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-warning 95 %u %d
quota_warning2 = storage=80%%...
2016 Aug 19
2
antispam plugin pipe script seems not to be called when it "should be"
...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_warning = storage=100%% quota-reached 100...
2014 Jul 29
0
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...tispam_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/d9rAQIskggAt2Otvh4sHZPrmYNm2aSiUwJqarmZmiLV
KrXuMwuvDs33Wd60Bihqjykw96fwz3v...
2016 Nov 23
0
antispam plugin not working correctly
...ltrain 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
2020 Mar 24
0
dovecot-2.2.36-4 and antispam
...>
> 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/...
2020 Oct 23
0
antispam plugin again
...n 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
use pyzor) like:
cat /usr/local/bin/spam-lea...
2011 Jan 02
2
Error copying >1 message to virtual mailbox
....subscriptions
mail_max_userip_connections = 20
namespace {
inbox = yes
location =
prefix =
separator = /
}
namespace {
location = virtual:~/Maildir/!
prefix = !/
separator = /
}
passdb {
driver = pam
}
plugin {
antispam_backend = dspam
antispam_signature = X-DSPAM-Signature
antispam_spam_pattern_ignorecase = *spam
}
protocols = imap
ssl = required
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
protocol imap {
mail_plugins = " virtual"
}
Thanks.
--
Nicholas Riley <njriley at illinois.edu>
2011 Dec 15
1
dovecot-antispam: pipe backend with spamc failing to parse args
...e maildir:
spamc -d 10.0.1.109 -L ham < $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 f...
2014 Jun 03
0
stats error
...error;--user;%u;--deliver=
antispam_dspam_binary = /usr/bin/dspamc
antispam_dspam_notspam = --class=innocent
antispam_dspam_result_header = X-DSPAM-Result
antispam_dspam_spam = --class=spam
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = move
antispam_spam = Junk
antispam_spam_pattern_ignorecase = Junk;Junk.*
antispam_trash = trash;Trash;Deleted Items;Deleted Messages
fts = lucene
fts_lucene = whitespace_chars=@.
quota = maildir:User quota
quota_rule2 = Trash:storage=+100M
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
sie...
2010 Jul 25
0
AntiSpam Plugin issue
...bscribe4: Spam
autosubscribe5: Virus
sieve: ~/.dovecot.sieve
sieve_dir: ~/sieve
sieve_global_path: /usr/local/etc/dovecot/sieve/default.sieve
antispam_mail_sendmail: /usr/local/bin/sa-learn
antispam_mail_spam: --spam
antispam_mail_notspam: --ham
antispam_mail_tmpdir: /tmp
antispam_spam_pattern_ignorecase: junk;spam
antispam_trash_pattern_ignorecase: trash;Deleted *
Thanks
2015 Jul 20
0
[Dovecot Antispam] Can't seem to load plugin
...ecot-uidvalidity
dovecot-uidvalidity.55a4236f
dovecot.index
dovecot.index.cache
dovecot.index.log
dovecot.index.log.2
dovecot.index.thread
dovecot.mailbox.log
new
subscriptions
tmp
plugin {
antispam_debug_target = syslog
antispam_verbose_debug = 1
antispam_trash_pattern_ignorecase = Trash
antispam_spam_pattern_ignorecase = Spam
antispam_unsure_pattern_ignorecase = Suspect
antispam_backend = spool2dir
antispam_spool2dir_spam = /home/%u/unprocessed/spam-%%lu-%%lu
antispam_spool2dir_notspam = /home/%u/unprocessed/ham-%%lu-%%lu
}
After reloading with this configuration and moving a piece of spam into the
s...
2013 Apr 30
2
dovecot antispam plugin is not woking
?Hi All,
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
and plugin configuration is given below:
protocol imap {
? mail_plugins = " antispam autocreate"
}
protocol pop3 {
? mail_plugins = antispam autocreate
}
plugin {
? antispam_allow_append_to_spam = YES
?
2017 Aug 22
2
imapsieve: failed to read mailbox attribute
...d
driver = passwd-file
}
plugin {
antispam_backend = pipe
antispam_crm_binary = /bin/false
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 *
fts = lucene
fts_lucene = whitespace_chars=@.
imapsieve_mailbox1_before = file:/usr/lib/dovecot/sieve/learn-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Spam
imapsieve_mailbox2_before = file:/usr/lib/d...