Displaying 20 results from an estimated 60 matches for "antispam_mail_spam".
2010 Aug 04
1
Shared mailboxes errors
...> # mail signature (used with 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)?...
2008 Dec 03
1
Antispam plugin + scriptsieve
...lder, 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 comment this 2 lines:
sievelist.append('require ["fileinto", "include"];\n')
sievelist.append('i...
2013 Sep 12
1
Plugin antispam - mailtrain realtime sa-learn
...t 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 Jul 15
1
Dovecot2 Antispam MAILTRAIN backend with SpamAssassin
...bscribe
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.sieve
}
protocols = imap pop3 lmtp sieve
service auth {
unix_listener auth-cl...
2020 Mar 24
2
dovecot-2.2.36-4 and antispam
..........
?mailbox Drafts {
??? 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
? antispa...
2012 Jan 04
0
migrate dovecot files 1.2.16 to 2.0.13 (OpenBSD 5.0)
...ntispam_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:::::::##################################
driver
= mysql
connect = host=localhost dbname=mail user=postfix
password=postfix
default_pass_scheme = PLAIN
password_query = SELECT email
as u...
2008 Aug 07
2
dovecot-antispam: Failed to read mail beginning, Next message unexpectedly lost
...vecot-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 release 5.2, x86_64,
filesystem is ext3 (on lvm).
Attache...
2017 Feb 05
2
dovecot/auth CPU spikes
...ox 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=~/.dovecot.sieve
sieve_before = /var/lib/dovecot/sieve.d/
}
postmaster_address = postmaster at domain.net
protocols = imap lmtp sieve po...
2018 Jul 26
2
mdbox_deleted proper syntax
...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/
recipient_delimiter = +
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = /var/dovecot/sieve/before/
sieve_default = /var/dove...
2014 Feb 19
3
Enable mail logger plugin
...cial_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/%d/%n/.quotausage
quota_grace = 10%%
quota_rule = Trash:storage=+200M
quota_warni...
2018 Mar 10
1
quota-status: Issues with uppercase recipient address
...t-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/
imapsieve_mailbox1_before = file:/usr/local/etc/dovecot/sieve/report-spam.sieve
imapsieve_mailbox1_causes = COPY
imapsieve_mailbox1_name = Junk...
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
...d 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
before. Could you try this script? Maybe you can use "-" as filename or
some...
2020 Mar 24
0
dovecot-2.2.36-4 and antispam
...cial_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...
2020 Oct 23
0
antispam plugin again
..._dict = redis:host=127.0.0.1:prefix=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...
2008 Mar 06
0
two problems with dovecot and antispam-plugin and qmail/vpopmail
...ry to move the message to Spam folder 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) bu...
2014 Oct 03
0
Configure antispam plugin with private namespaces
..._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 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 destinatari...
2010 Jul 25
0
AntiSpam Plugin issue
...5: Virus
autosubscribe: Trash
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
...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:storage=+10%%
quota_rule3 = Spam:storage=+20%%
quota_status_nouser = DUNNO
quota_status_success = DUNNO
sieve_after = /usr/local/et...
2012 Sep 05
1
Trouble implementing Antispam plug-in for Dovecot
...ot, either, hence the
problem I'm having).
I tried changing the above directives to their older directive names (I
also changed the order slightly, which may be irrelevant):
--------------------
plugin {
antispam_debug_target = syslog
antispam_verbose_debug = 1
antispam_backend = pipe
antispam_mail_spam = --spam
antispam_mail_notspam = --ham
antispam_mail_sendmail = /usr/bin/sa-learn-pipe.sh
antispam_spam_pattern_ignorecase = spam;junk
}
--------------------
This changed the message in my IMAP client, when attempting to move a
message from my Inbox to the Junk folder, to:
"[SERVERBU...