Displaying 20 results from an estimated 140 matches for "antispam_trash".
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
2010 Aug 04
1
Shared mailboxes errors
...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 Mail::SpamAssassin::Conf add to your local.cf for debugging:
ba...
2010 Jan 03
2
Problems getting the antispam-plugin to work
...9;1.2+20090702-1~bpo50+3') 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
...sa-learn as it shouldn'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
...#39;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_dspam_spam = --class=spam
> a...
2016 Apr 12
6
antispam plugin, pipe backend, how to make it work?
...g_name = value
sieve=~/.dovecot.sieve
sieve_dir=~/sieve
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...
2010 Jan 14
1
antispam plugin
First off, I have to say I really like the antispam plugin. I am
running a (relatively) new freebsd 8.0 server with
postfix/dovecot/dspam/squirrelmail and it works great. Create a SPAM
folder and tell the dovecot antispam plugin to use INBOX.SPAM as the
spam folder and drag messages from INBOX to the spam folder and they are
trained as spam. Here is the problem though: after training
2015 Jul 20
2
[Dovecot Antispam] Can't seem to load plugin
...e 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
...l {
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
mode = 0660
user = postf...
2015 Jan 15
2
[SERVERBUG] failed to send mail with SA and antispam plugin
...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%% quota-warning 95 %u
quota_warning2 = s...
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
...erdb:
driver: passwd
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 '...
2012 Jan 04
0
migrate dovecot files 1.2.16 to 2.0.13 (OpenBSD 5.0)
...ugin {
autocreate = Trash
autocreate2 = Spam
autocreate3 = 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
}
###############:::::::...
2008 Mar 28
1
Dovecot Startup error on FreeBSD
...ot_xmail
userdb:
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.ma...
2011 Nov 29
1
can't get sieve to sort virus into spam
...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 {
unix_listener auth-use...
2018 Feb 17
1
trying to enable sieve
...lugin {
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_warning4 = storage=90%%...
2015 Mar 31
2
Need a bit of help with the antispam plugin
...ared 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 something to Junk, I get the
following in my syslog...
2008 Aug 07
2
dovecot-antispam: Failed to read mail beginning, Next message unexpectedly lost
...api plain
executable:
/packages/run.64/dovecot-1.1.2/libexec/dovecot/dovecot-auth
krb5_keytab: /etc/krb5.imap
verbose: yes
debug: yes
passdb:
driver: pam
args: dovecot
userdb:
driver: passwd
plugin:
antispam_spam: mailbox.spam
antispam_trash: trash;Trash;Deleted Items
antispam_mail_spam: spam at mysite.org
antispam_mail_notspam: notspam at mysite.org
antispam_mail_sendmail: /home/username/fake_sendmail
Dovecot is version 1.1.2, dovecot-antispam is the latest snapshot.
Running on Red Hat Enterprise Linux Server releas...
2017 Feb 05
2
dovecot/auth CPU spikes
...refix =
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
antispam_backend = pipe
antispam_mail_notspam = learn_ham
antispam_mail_sendmail = /usr/bin/rspamc
antispam_mail_sendmail_args = -h;localhost:11334;-P;q1
antispam_mail_spam = learn_spam
antispam_spam = Junk
antispam_trash = Trash
fts = solr
fts_solr = break-imap-search url=http://localhost:8080/solr/
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = /var/lib/dovecot/sieve.d/
}
postmaster_address = postmaster at domain.net
protocols = imap lmtp sieve pop3
service auth-worker {
unix_listener auth-worker...
2018 Jul 26
2
mdbox_deleted proper syntax
...b {
args = cache_key=%u%r%l *
driver = bsdauth
}
plugin {
antispam_backend = mailtrain
antispam_mail_notspam = learn_ham
antispam_mail_sendmail = /usr/local/bin/rspamc
antispam_mail_sendmail_args = -h;127.0.0.1:11334;-P;q1
antispam_mail_spam = learn_spam
antispam_spam = caughtspam
antispam_trash = trash
fts = solr
fts_autoindex = yes
fts_solr = url=http://127.0.0.1:8983/solr/dovecot/
recipient_delimiter = +
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = /var/dovecot/sieve/before/
sieve_default = /var/dovecot/sieve/default.sieve
sieve_extensions = +spamtest +spa...