Displaying 20 results from an estimated 59 matches for "antispam_debug_target".
2012 Sep 27
7
Antispam plugin problem (CRM114)
...g 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/
. . .
}
protocol imap {
. . .
mail...
2015 Jul 20
2
[Dovecot Antispam] Can't seem to load plugin
...the filesystem? The case matches?
I use antispam_{spam,trash}_pattern_ignorecase and don't care about the
case of the folders...
plugin {
antispam_backend = crm114
antispam_crm_args = --fileprefix=/home/%u/spamdb/
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
- christ...
2016 Apr 12
6
antispam plugin, pipe backend, how to make it work?
...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-$$.txt
/usr/bin/sa-learn $* -D...
2014 Jul 29
3
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy 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_ign...
2012 Sep 05
1
Trouble implementing Antispam plug-in for Dovecot
...es are required, or similar.
I am 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, t...
2015 Jul 20
0
[Dovecot Antispam] Can't seem to load plugin
...g:/home/james.lott/mail # ls -1
.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...
2015 Aug 21
2
plugin antispam sa-learn run program failed with exit code -1
...sendmail-parms.txt cat<&0 >> /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...
2020 Mar 24
2
dovecot-2.2.36-4 and antispam
...il_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 $@ >> /tmp/spam.txt
if [ "x$1" = "x--spam" ]; then
??? /usr/bin/pyzor report >> /tmp/spam.txt 2>&1
fi
if [ "x$1" =...
2018 Feb 17
1
trying to enable sieve
...uot;Sent Messages" {
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
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_ru...
2015 Mar 31
2
Need a bit of help with the antispam plugin
...MAP connections allowed for a user 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 s...
2013 Dec 10
1
undoing a zlib test
...\Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = /opt/local/etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
antispam_backend = dspam
antispam_debug_target = syslog
antispam_dspam_args = --user;%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-Signat...
2013 Nov 25
1
Dovecot 2.2.7/2.2.8 failing to call dspam with antispam
...t 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_args = --user;%u;--deliver=;-...
2016 Apr 12
2
antispam plugin, pipe backend, how to make it work?
...'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
>> #echo $* > /tmp/sendmail-pa...
2013 Jun 19
3
Calling dovecot-lda from within Antispam pipe script (bash) seems to have no effect
...2.6.32-042stab076.8 x86_64 Ubuntu 12.04.2 LTS
auth_mechanisms = plain login
disable_plaintext_auth = no
listen = *,[::]
log_timestamp = "%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_p...
2014 Feb 20
1
dovecot with maildir not using mtime on reindex
...lags copy include variables body enotify environment mailbox date ihave
mmap_disable = yes
namespace inbox {
inbox = yes
location =
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
anti...
2015 Apr 07
2
Need a bit of help with the antispam plugin
...# 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/...
2016 Nov 03
2
dovecot-antispam plugin not work
...root 4096 Nov 1 14:16 .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;tra...
2016 Aug 19
2
antispam plugin pipe script seems not to be called when it "should be"
...in login
disable_plaintext_auth = no
listen = *,[::]
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_max_userip_connections = 100
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_ign...
2014 Jul 29
0
Exit status code 134; what is it, in the context of Dovecot Antispam plug-in?
...rk around it? It looks to
> be some kind of "temporary failure exception", but that is less than
> informative in this context.
>
> # 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
>...
2016 Nov 23
0
antispam plugin not working correctly
...z-51.de 80.187.96.201 UID MOVE]: antispam: running mailtrain backend program /usr/bin/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 =...