Displaying 20 results from an estimated 54 matches for "antispam_verbose_debug".
2012 Sep 27
7
Antispam plugin problem (CRM114)
...gh .qmail default correctly tag with
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-27CA1CFB
X-CRM114-CacheID: sfid-20120927_105129_798028_B0035817
X-CRM114-Status: GOOD ( 28.64 ) headers
dovecot.conf is as follow:
plugin {
. . .
antispam_signature = X-CRM114-CacheID
antispam_verbose_debug = 1
antispam_debug_target = stderr
antispam_backend = crm114
antispam_signature_missing = error
antispam_trash = Trash
antispam_spam = SPAM
antispam_unsure = UNSURE
antispam_crm_binary = /opt/crm114/mailreaver.crm
antispam_crm_args = --fileprefix=/opt/crm114/
. . .
}
pro...
2015 Jul 20
2
[Dovecot Antispam] Can't seem to load plugin
...db/
antispam_crm_binary = /usr/local/etc/dovecot/filter/mailreaver.crm
antispam_debug_target = syslog
antispam_signature = X-CRM114-CacheID
antispam_spam = Spam
antispam_trash = Trash
antispam_unsure = INBOX/Suspect
i don't know crm114 but this looks ok to me.
you could try
antispam_verbose_debug = 1
to get more verbose logging from the antispam plugin
regards
- christian
2016 Apr 12
6
antispam plugin, pipe backend, how to make it work?
..._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_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-...
2014 Jul 29
3
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...ogram = /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 %u %d
quota_warning2 = storage=95%% quota-warning 95 %u %d
quota_warning3 = storage=80...
2012 Sep 05
1
Trouble implementing Antispam plug-in for Dovecot
...m using the following configuration options:
/etc/dovecot/dovecot.conf
--------------------
## IMAP specific settings
protocol imap {
mail_executable = /usr/lib/dovecot/rawlog /usr/lib/dovecot/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...
2015 Jul 20
0
[Dovecot Antispam] Can't seem to load plugin
...Archive
.Drafts
.Notes
.Sent
.Spam
.Suspect
.Trash
cur
dovecot-uidlist
dovecot-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-%%...
2015 Aug 21
2
plugin antispam sa-learn run program failed with exit code -1
...gt; /tmp/sendmail-msg-$$.txt
> /usr/bin/sa-learn $* /tmp/sendmail-msg-$$.txt && rm -f
> /tmp/sendmail-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 c...
2015 Jan 15
2
[SERVERBUG] failed to send mail with SA and antispam plugin
...ispam_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_rule = *:storage=1G
quota_rule2 = INBOX.Trash:storage=+100M
quota_warning = storage=95%% quota-warning 95 %u
quota_warning2 = storage=80%% quota-warning 80 %u
sieve = ~/.dovecot.sieve
sieve_after = /etc/dovecot/sieve/after.d
sieve_before = /etc/dovecot/sieve/bef...
2020 Mar 24
2
dovecot-2.2.36-4 and antispam
...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 $@ >> /tmp/spam.txt
if [ "x$1" = "x--spam" ]; then
??? /usr/bin/pyzor report >> /tmp/spam.txt 2>&1
fi
if [ "x$1" = "x--ham" ]; then
??? /us...
2018 Feb 17
1
trying to enable sieve
...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 97 %u
quota_warning3 = storage=95%% quota-warning 95 %u
quota_warning4 = storage=90%% quota-warning 90 %u
quota_warni...
2015 Mar 31
2
Need a bit of help with the antispam plugin
...r from each IP
address.
# NOTE: The username is compared case-sensitively.
# Default is 10.
# Increase it to avoid issue like below:
# "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 som...
2013 Nov 25
1
Dovecot 2.2.7/2.2.8 failing to call dspam with antispam
...ecot upgrade).
I've set dspam to debug, and mail_debug to yes.
uid 1001 is user vmail (dovecot is running under vmail)
gid 12 is group mail (vmail is a member, with
mail,postfix,dspam,dovecot,apache)
All the necessary users are trusted in dspam configuration.
Here's my plugin settings :
antispam_verbose_debug = 1
antispam_debug_target = syslog
antispam_backend = dspam
antispam_allow_append_to_spam = NO
antispam_skip_from_line = NO
antispam_spam = Spam
antispam_trash = Trash
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = error
antispam_dspam_binary = /usr/bin/dspam
antispam_dspam_arg...
2015 Jan 15
2
[SERVERBUG] failed to send mail with SA and antispam plugin
...-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 does the Plugin log?
[cut]
> service quota-warning {
> executable = script /usr/local/bin/quota-warning.sh
> unix_listener quota-warning {
> user = vmail
> }
> user = vmail
> }
You seem to use a virtual user configuration, so the antispam plugin
executes spamc as u...
2016 Apr 12
2
antispam plugin, pipe backend, how to make it work?
...s wrongly, but the debugging output doesn't reveal
the actual command, so it'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...
2013 Jun 19
3
Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect
...sr/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%% quota-warning 80 %u %d
quota_warning3 = -storage=100%% quota-below below %u %d
sieve =...
2015 Apr 07
2
Need a bit of help with the antispam plugin
...sensitively.
>> # Default is 10.
>> # Increase it to avoid issue like below:
>> # "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_a...
2016 Nov 03
2
dovecot-antispam plugin not work
...XIM-unix
root at vsrv78105:/etc/dovecot# ls -la /etc/dovecot/sa-learn-pipe.sh
-rwxr-xr-x 1 root root 769 Nov 3 19:38 /etc/dovecot/sa-learn-pipe.sh
#########################
config
###
90-plugin.conf
plugin {
#setting_name = value
antispam_backend = pipe
antispam_debug_target = syslog
antispam_verbose_debug = 1
# antispam_mail_sendmail_args= --username=%u
antispam_mail_spam_arg = --spam
antispam_mail_notspam_arg = --ham
antispam_mail_program = /etc/dovecot/sa-learn-pipe.sh
antispam_spam = Spam;SPAM;z_SPAM
antispam_trash = Trash;trash
}
###
s...
2016 Aug 19
2
antispam plugin pipe script seems not to be called when it "should be"
...ogram = /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 %u %d
quota_warning2 = storage=95%% quota-warning 95 %u %d
quota_warning3 = storage=80...
2014 Jul 29
0
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...spam_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+jQuqx+t/V+uN/jRffFpp98aUA4rR9rZ6
AJ3HJfPTyf11Pi9cCG8EhqmY9amPRFrp1Ox+NCg4Jt2liUPzmdtPe6+OUR+QlUdR...
2016 Nov 23
0
antispam plugin not working correctly
...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