Displaying 20 results from an estimated 60 matches for "antispam_mail_notspam".
2010 Aug 04
1
Shared mailboxes errors
...any backend requiring a signature)
> #antispam_signature = X-Spam-Status
> #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/spama...
2008 Dec 03
1
Antispam plugin + scriptsieve
...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 comment this 2 lines:
sievelist.append('require ["fileinto", "include"];\n')
sievelist.append('include :global "global.s...
2013 Sep 12
1
Plugin antispam - mailtrain realtime sa-learn
...assin 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 Jul 15
1
Dovecot2 Antispam MAILTRAIN backend with SpamAssassin
...lbox Sent {
auto = subscribe
special_use = Sent
}
mailbox Trash {
auto = subscribe
special_use = Trash
}
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.s...
2020 Mar 24
2
dovecot-2.2.36-4 and antispam
...special_use = \Drafts
? }
? mailbox Junk {
??? special_use = \Junk
? }
? mailbox SPAM {
??? special_use = \Junk
? }
? 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
? antispa...
2012 Jan 04
0
migrate dovecot files 1.2.16 to 2.0.13 (OpenBSD 5.0)
...ag
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:::::::##################################
driver
= mysql
connect = host=localhost dbname=mail user=postfix
password=postfix
default_pass_scheme = PLAIN
password_query = SELECT email
as user, password FROM users WHERE e...
2008 Aug 07
2
dovecot-antispam: Failed to read mail beginning, Next message unexpectedly lost
...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 release 5.2, x86_64,
filesystem is ext3 (on lvm).
Attached is the strace -p of the session.
The code see...
2017 Feb 05
2
dovecot/auth CPU spikes
...= Junk
}
mailbox Sent {
auto = subscribe
special_use = Sent
}
mailbox "Sent Messages" {
special_use = Sent
}
mailbox Trash {
auto = subscribe
special_use = Trash
}
prefix =
}
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=~/.dove...
2013 Jan 16
1
dovecot + antispam plugin - no retraining
...eject envelope encoded-character
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy
include variables body enotify environment mailbox date ihave
namespace inbox {
inbox = yes
location =
prefix =
}
passdb {
driver = pam
}
plugin {
antispam_backend = pipe
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_igno...
2018 Jul 26
2
mdbox_deleted proper syntax
...refix =
separator = /
subscriptions = yes
type = private
}
passdb {
args = /etc/dovecot/dovecot-pgsql.conf
driver = sql
}
passdb {
args = /etc/dovecot/dovecot-pgsql2.conf
driver = sql
}
passdb {
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/
rec...
2014 Feb 19
3
Enable mail logger plugin
...Messages" {
special_use = \Sent
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
mailbox name {
special_use = \Drafts \Junk \Sent \Trash
}
prefix =
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
antispam_backend = mailtrain
antispam_mail_notspam = --ham
antispam_mail_sendmail = /usr/local/bin/sa-learn-pipe.sh
antispam_mail_spam = --spam
antispam_spam = Junk
antispam_trash = Trash
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
mail_log_fields = uid box msgid size
quota = dict:user::file:/var/vmail...
2018 Mar 10
1
quota-status: Issues with uppercase recipient address
...essages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = /usr/local/etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
acl = vfile
acl_shared_dict = file:/srv/mail/dovecot/shared-mailboxes
antispam_backend = mailtrain
antispam_mail_notspam = learn_ham
antispam_mail_sendmail = /usr/local/bin/rspamc
antispam_mail_sendmail_args = -h;10.0.110.27:11334;-P;[REDACTED]
antispam_mail_spam = learn_spam
antispam_spam = Junk
antispam_trash = Trash
fts = solr
fts_autoindex = yes
fts_solr = url=http://127.0.0.1:8983/solr/dovecot/...
2014 Aug 18
1
antispam plugin crash
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 17 Aug 2014, Thomas Witt wrote:
> the dovecot antispam plugin crahses here on a nullpointer dereference in
> antispam_copy() at mailbox.c
does it crashes all of the time or for specific messages, mailboxes,
etc.pp? What version of Dovecot and which configuration do you use?
>
> The crash tracks back to a call of
>
2014 Aug 18
2
antispam plugin crash
...time or for specific messages, mailboxes,
>> etc.pp? What version of Dovecot and which configuration do you use?
>
> Dovecot version is 2.2.13. It crashes on every incoming mail as long as
> the antispam plugin is activated.
>
> plugin {
> antispam_backend = mailtrain
> antispam_mail_notspam = --ham
> antispam_mail_sendmail = /usr/bin/sa-learn
> antispam_mail_spam = --spam
> antispam_spam = Junk
> antispam_trash = Trash
As far as I know sa-learn requires a filename at command line, therefore
http://wiki2.dovecot.org/Plugins/Antispam spools the message to a file
befor...
2020 Mar 24
0
dovecot-2.2.36-4 and antispam
...? mailbox SPAM {
> ??? special_use = \Junk
> ? }
>
> ? 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
>
> ? an...
2020 Oct 23
0
antispam plugin again
...refix=expire/
---------------------------------------------------------------------------------------
In older version 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
--------------...
2008 Mar 06
0
two problems with dovecot and antispam-plugin and qmail/vpopmail
...older I get an error (could not
execute dspam).
If I remove de data directory, it works... I can move the message and by
doing this de data directory is re-created.
So I decided to try mail training backend.
My configuration is:
antispam_mail_tmpdir = /tmp
antispam_mail_spam = spam@%d
antispam_mail_notspam = nospam@%d
antispam_mail_sendmail = /opt/qmail/bin/sendmail
# antispam_mail_sendmail_args = -f;%u
But an error occurs. (Failed to send mail)
I tried to use qmail-inject instead but the same error occurs. Then i tried
to use de args commented (-f;%u) but didn't work yet.
I also tried...
2014 Oct 03
0
Configure antispam plugin with private namespaces
...m_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 copy mailbox_delete
mailbox_rename flag_change save mailbox_create
mail_log_fields = uid box msgid from subject size vsize
quota = maildir:DefaultQuota
quota_exceeded_message = O destinatario desta mensagem esta com a caixa...
2010 Jul 25
0
AntiSpam Plugin issue
...sh
autosubscribe2: Sent
autosubscribe3: Drafts
autosubscribe4: 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 Feb 01
0
[Bug ?] IMAP keywords are not preserved during mailbox conversion
...use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
separator = /
}
passdb {
args = scheme=plain username_format=%n /usr/local/etc/dovecot/dovecot.auth/%d.passwd
driver = passwd-file
}
plugin {
antispam_backend = mailtrain
antispam_mail_notspam = learn_ham
antispam_mail_sendmail = /usr/local/bin/rspamc
antispam_mail_sendmail_args = -h;localhost:11334
antispam_mail_spam = learn_spam
antispam_spam = Junk
antispam_trash = Trash
quota = dict:User quota::file:%h/dovecot-quota
quota_rule = *:storage=2G
quota_rule2 = Trash:storag...