Displaying 20 results from an estimated 164 matches for "antispam_spam".
2008 Apr 12
2
Delete antispam emails
I'm using dovecot with the antispam plugin to allow for training, but
how do I delete emails once they've been trained? If I delete them from
the folder using an email client they get retrained as valid emails when
they're moved to the trash folder! D'oh.
I'm looking, ideally, for a solution that doesn't need a script to be
run per user as I have a number of users using
2013 Apr 30
2
dovecot antispam plugin is not woking
...client;--user vmail
? antispam_dspam_binary = /usr/bin/dspam
? antispam_dspam_notspam = --class=innocent
? antispam_dspam_result_header = X-DSPAM-Result
? antispam_dspam_spam = --class=spam
? antispam_mail_tmpdir = /tmp
? antispam_signature = X-DSPAM-Signature
? antispam_signature_missing = error
? antispam_spam = Spam
}
dspam bin path:
[root at sogo ~]# which dspam
/usr/bin/dspam
but my dspam plugin
configuration is not working. and I am not getting any log from
dspam. My dspam server is working prefect.
cna anyone help me
Regard's
Ravi Kanchan Sharma
2010 Aug 04
1
Shared mailboxes errors
...atus
> #antispam_signature_missing = move
>
> antispam_mail_sendmail = /usr/local/bin/sa-learn
> antispam_mail_sendmail_args = --username=%u;--debug;all
> antispam_mail_spam = --spam
> antispam_mail_notspam = --ham
> antispam_mail_tmpdir = /tmp
> antispam_spam = Spam
> antispam_unsure = Virus
> antispam_trash = Trash
>
First of all - what OS is this ? BSD ? And how did you install your spamassassin (ports\compiling from source)?
Show your local.cf file (/etc/mail/spamassassin or /usr/local/etc/mail/spamassasin).
After reading perldoc...
2016 Apr 12
6
antispam plugin, pipe backend, how to make it work?
...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_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 $* &...
2008 Dec 03
1
Antispam plugin + scriptsieve
...uot;blocked" folder, is appended a rule in
the script sieve of this user.
If the message is deleted or moved out that folder, the rule is removed too.
The setup is very simple:
(after setup antispam plugin)
Change this in dovecot.conf:
protocol imap {
mail_plugins = antispam
}
plugin {
antispam_spam = Blocked
antispam_mail_sendmail = /usr/libexec/dovecot/blockthis.py
antispam_mail_sendmail_args = -u;%u
antispam_mail_spam = -a
antispam_mail_notspam = -d
}
Hooo... this script create a "include global script" statament in
script sieve...
If you don't want this feature, just...
2010 Jan 03
2
Problems getting the antispam-plugin to work
...#39;) to work.
Unfortunately dovecot always says "antispam plugin not configured"
moving spam into the spam-folder.
My config:
protocol imap {
mail_plugins = antispam
}
plugin {
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = error
antispam_trash = Trash
antispam_spam = Spam
antispam_dspam_binary = /usr/bin/dspam
antispam_dspam_args = --deliver=;--user;%u
}
Thanks in advance
Malte Schirmacher
2013 Sep 12
1
Plugin antispam - mailtrain realtime sa-learn
...t support pipped input, but that is supported
since SpamAssassin 2.6 at least. As far as I can see and test, the
following config makes it work without a wrapper script. Can someone
confirm it before the wiki is updated?
plugins {
antispam_backend = pipe
antispam_trash = Trash
antispam_spam = Junk
antispam_mail_spam = --spam
antispam_mail_notspam = --ham
antispam_mail_sendmail = /usr/bin/sa-learn
}
Hans
[1] http://wiki2.dovecot.org/Plugins/Antispam
2014 Mar 16
1
dovecot2-antispam segfault
...gt;
???????:
> Hello,
> I've got a segfault with postfix2-antispam.
> Versions:
> Linux: Arch Linux x86_64
> Dovecot: 2.2.11
> Antispam: latest hg (revision 51)
>
> Antispam configuration:
> antispam_backend = dspam
> antispam_allow_append_to_spam = YES
> antispam_spam = Spam;Junk
> antispam_trash = trash;Trash
> antispam_signature = X-DSPAM-Signature
> antispam_signature_missing = error
> antispam_dspam_binary = /usr/bin/dspamc
> antispam_dspam_args =
> --user;%Ln;--deliver=spam,innocent;--source=error;--signature=%%s
> antispam_...
2014 Oct 03
0
Configure antispam plugin with private namespaces
...type = private
list = yes
location = maildir:/var/mail.spam/%d/%n
subscriptions = yes
prefix = "SPAM."
mailbox Filtrados {
auto = subscribe
}
}
plugin {
antispam_backend = mailtrain
antispam_verbose_debug = 1
antispam_debug_target = syslog
# the above NOT works
antispam_spam = SPAM.Filtrados
# the above works
#antispam_spam = Filtrados
antispam_signature = X-VERTICAL-IP-Quarantine-ID
antispam_mail_sendmail = /usr/local/bin/mail_spam.sh
antispam_mail_spam = --spam
antispam_mail_notspam = --notspam
acl = vfile
mail_log_events = delete undelete expunge c...
2015 Jul 20
2
[Dovecot Antispam] Can't seem to load plugin
...recase 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
- christian
2014 Jul 15
1
Dovecot2 Antispam MAILTRAIN backend with SpamAssassin
...}
mailbox virtual/All {
auto = no
special_use = All
}
prefix =
separator = /
}
passdb {
args = /mail/%d/dovecot_passwd
driver = passwd-file
}
plugin {
antispam_backend = MAILTRAIN
antispam_mail_notspam = --ham
antispam_mail_sendmail = /mail/sa-learn-pipe.sh
antispam_mail_spam = --spam
antispam_spam = Junk
antispam_trash = Trash
quota_rule = *:storage=8GB
sieve = /mail/%d/%u/dovecot.sieve
sieve_dir = /mail/%d/%u
sieve_global_dir = /mail/sieve
sieve_global_path = /mail/sieve/globalfilter.sieve
}
protocols = imap pop3 lmtp sieve
service auth {
unix_listener auth-client {
group = mail
mo...
2015 Jan 15
2
[SERVERBUG] failed to send mail with SA and antispam plugin
...ckend = 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_rule = *:storage=1G
quota_rule2 = INBOX.Trash:storage=+100M
quota_warning = storage=95%%...
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:
2010 Jul 22
1
NFS Maildirs
...socket:
type: listen
client:
path: /opt/redknot/var/run/dovecot/auth-client
mode: 432
master:
path: /opt/redknot/var/run/dovecot/auth-master
mode: 384
plugin:
antispam_signature: X-DSPAM-Signature
antispam_signature_missing: error
antispam_trash: Trash
antispam_spam: Junk
antispam_allow_append_to_spam: yes
antispam_dspam_binary: /opt/redknot/bin/dspam
antispam_dspam_args: --deliver;--user;%u;--debug
antispam_dspam_result_header: X-DSPAM-Result
antispam_dspam_result_blacklist: Virus
YoungGuns
Kasteleinenkampweg 7b
5222 AX 's-Hertogenbosch
T. 073...
2012 Jan 04
0
migrate dovecot files 1.2.16 to 2.0.13 (OpenBSD 5.0)
...Sent
autocreate4 = Drafts
autosubscribe = Trash
autosubscribe2 = Spam
autosubscribe3 = Sent
autosubscribe4 = Drafts
}
plugin {
antispam_signature = X-Spam-Flag
antispam_signature_missing = move # move
silently without training
antispam_trash = trash;Trash;Deleted Items;
Deleted Messages
antispam_spam = SPAM;Spam;spam;Junk;junk
antispam_mail_sendmail = /usr/local/bin/sa-learn
antispam_mail_sendmail_args = --username=%u
antispam_mail_spam = --spam
antispam_mail_notspam = --ham
antispam_mail_tmpdir = /tmp
}
###############::::::::dovecot-sql.conf:::::::##################################
dr...
2008 Mar 28
1
Dovecot Startup error on FreeBSD
...driver: static
args: uid=vxmail gid=vxmail home=/var/MailRoot/domains/%d/%n
allow_all_users=yes
socket:
type: listen
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vxmail
plugin:
antispam_signature: X-DSPAM-Signature
antispam_trash: Trash
antispam_spam: SPAM
antispam_dspam_binary: /usr/local/bin/dspam
antispam_dspam_args: --user;%u
I googled and found similar post at
http://www.mail-archive.com/dovecot at dovecot.org/msg01793.html,
http://www.mail-archive.com/dovecot at dovecot.org/msg01798.html and
http://www.mail-archive.com/dovecot a...
2009 Feb 03
4
Dovecot-antispam does not work
...ispam and configured it this way (as in the doc)
with the dspam exe:
protocol imap {
mail_plugins = antispam
mail_plugin_dir = /usr/lib64/dovecot/imap
}
plugin {
# For dovecot-antispam:
antispam_signature = X-DSPAM-Signature
antispam_trash = trash;Trash;Deleted Items
antispam_spam = SPAM;Junk
#antispam_unsure = unsure
antispam_dspam_binary = /usr/bin/dspam
antispam_dspam_args = --deliver=;--user;%u
antispam_mail_tmpdir = /tmp
}
But it does not work and really I cannot figure it out for two days, because
I can find no log wherever, where it...
2011 Nov 29
1
can't get sieve to sort virus into spam
...args = scheme=CRYPT username_format=%u /etc/dovecot/users
driver = passwd-file
}
plugin {
antispam_backend = dspam-exec
antispam_dspam_args = --deliver;--user;%u
antispam_dspam_binary = /usr/bin/dspam
antispam_signature = X-DSPAM-Signature
antispam_signature_missing = error
antispam_spam = Spam
antispam_trash = trash;Trash;Deleted Items; Deleted Messages
sieve = /home/vmail/%d/%n/dovecot.sieve.script
sieve_dir = /home/vmail/%d/%n/dovecot.sieve/
sieve_global_dir = /var/lib/dovecot/sieve/global/
sieve_global_path = /var/lib/dovecot/sieve/default.sieve
}
service auth {...
2018 Feb 17
1
trying to enable sieve
...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 97 %u
quota_warning3 = storage=95%% quota-warning 95 %u
quota_...
2015 Mar 31
2
Need a bit of help with the antispam plugin
...# 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 something to Junk, I get the
following in my syslog:
Mar 31 18:27:16 anony...