Displaying 20 results from an estimated 37 matches for "antispam_mail_sendmail_args".
2010 Aug 04
1
Shared mailboxes errors
...tell a lot of more:
>
>
> ### Dovecot AntiSpam ###
> # 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 i...
2008 Dec 03
1
Antispam plugin + scriptsieve
...essage 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 comment this 2 lines:
sievelist.append('require ["fileinto", "include"];\n&...
2020 Mar 24
2
dovecot-2.2.36-4 and antispam
....36-4
in dovecot:
15-mailboxes.conf:
.......
?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-...
2012 Jan 04
0
migrate dovecot files 1.2.16 to 2.0.13 (OpenBSD 5.0)
...ent
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:::::::##################################
driver
= mysql
connect = host=localhost dbname=mail user=postfix
password=postfix
default_pass_scheme = PLAI...
2017 Feb 05
2
dovecot/auth CPU spikes
...quot;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=~/.dovecot.sieve
sieve_before = /var/lib/dovecot/sieve.d/
}
postmaster_address = postmast...
2018 Jul 26
2
mdbox_deleted proper syntax
...tc/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/
recipient_delimiter = +
sieve = file:~/sieve;active=~/.dovecot.sieve
sieve_before = /var/d...
2016 Nov 03
2
dovecot-antispam plugin not work
...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;trash
}
###
sa-learn-pipe.sh
#!/bin/bash
set -...
2018 Mar 10
1
quota-status: Issues with uppercase recipient address
...h
}
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/
imapsieve_mailbox1_before = file:/usr/local/etc/dovecot/sieve/report-spam.sieve
imapsiev...
2020 Mar 24
0
dovecot-2.2.36-4 and antispam
...fts
> ? }
> ? 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 = tras...
2008 Mar 06
0
two problems with dovecot and antispam-plugin and qmail/vpopmail
...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 to use a complete e-mail address to spam and notspam
parameters... but nothing seems to works.
S...
2015 Feb 01
0
[Bug ?] IMAP keywords are not preserved during mailbox conversion
...ecial_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:storage=+10%%
quota_rule3 = Spam:storage=+20%%
quota_status_nouser = DUNNO
quota_status_suc...
2016 May 16
1
SIS: dovecot creates duplicated attachments (sometimes)
..._format=%n /usr/local/etc/dovecot/dovecot.auth/%d.passwd
driver = passwd-file
}
plugin {
acl = vfile
acl_shared_dict = file:/vmail/shared-mailboxes.db
antispam_backend = mailtrain
antispam_mail_notspam = report_ham
antispam_mail_sendmail = /usr/local/libexec/dovecot/dovecot-lda
antispam_mail_sendmail_args = -d;spam at example.com;-m
antispam_mail_spam = report_spam
antispam_spam = Junk
antispam_trash = Trash;train_ham;train_prob;train_spam
quota = dict:User quota::file:%h/dovecot-quota
quota_rule = *:storage=2G
quota_rule2 = Trash:storage=+10%%
quota_rule3 = Spam:storage=+20%%...
2014 Nov 10
0
mail-storage.c:2222:mailbox_copy assertion failed: (!ctx->unfinished)
...gt; plugin {
> acl = vfile:/usr/local/etc/dovecot/global-acls:cache_secs=10
> acl_anyone = allow
> acl_shared_dict = file:/var/mail/vhosts/%d/shared-mailboxes.db
> antispam_backend = mailtrain
> antispam_mail_notspam = -g
> antispam_mail_sendmail = /usr/bin/nice
> antispam_mail_sendmail_args = /usr/local/bin/python2;-W;ignore;/usr/local/bin/sb_filter.py;-d;%h/.hammiedb;-f
> antispam_mail_spam = -s
> antispam_spam = SPAM;Spam;Junk
> antispam_trash = Trash
> antispam_unsure = Filtered-Spam;Possible-Spam
> fetchmail_pidfile = %h/.fetchmail.pid
> fts = lucene...
2012 Jul 02
1
Authentication failed (migrate from 2.0.13 to 2.0.17)
...gest-md5 cram-md5 apop
auth_debug=yes
base_dir =
/var/dovecot/
first_valid_uid = 1000
mail_location =
maildir:/var/mailserv/mail/%d/%n
mmap_disable = yes
passdb {
args =
/etc/dovecot-sql.conf
driver = sql
}
plugin {
antispam_mail_notspam =
--ham
antispam_mail_sendmail = /usr/local/bin/sa-learn
antispam_mail_sendmail_args = --username=%u
antispam_mail_spam =
--spam
antispam_mail_tmpdir = /tmp
antispam_signature = X-Spam-Flag
antispam_signature_missing = move
antispam_spam =
SPAM;Spam;spam;Junk;junk
antispam_trash = trash;Trash;Deleted Items;
Deleted Messages
autocreate = Trash
autocreate2 = Spam
autocreate3...
2017 Jun 13
0
v2.2.30 released
...o
special_use = \Trash
}
prefix =
separator = /
}
passdb {
args = cache_key=%s%u *
driver = pam
}
plugin {
acl = vfile
acl_anyone = allow
acl_shared_dict = proxy::acl
antispam_backend = mailtrain
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 = SPAM
antispam_trash = Trash
fts = lucene
fts_autoindex = yes
fts_lucene = whitespace_chars=@.
mail_replica = remote:root at 192.168.1.7
replication_dsync_parameters = -d -U
sieve = file:~/sieve;active=~/.do...
2016 Apr 12
6
antispam plugin, pipe backend, how to make it work?
Hi, my setup is a dovecot 2.0.19 IMAP server on Ubuntu Precise with
the antispam plugin in version 2.0+20120225-2 and spamassassin at
version 3.2.2
I have been trying and failed to get the pipe backend of the antispam
plugin to work. Spamassin by itself works, a manual call of sa-learn
works fine. Bayes data is stored in a mysql DB.
I have the following configuration in
2010 Jul 27
3
AntiSpam Plugin
I'm getting Errors in Thunderbird, when using the antispam plugin:
[SERVERBUG] failed to send email
What am I doing wrong? there isn't that much to configure? I'm using
Dovecot version 1.2.12.
Does anyone know about that bug aswell, cause google research showed me
that it might be a common bug?!
Regards
2008 Dec 10
3
Segfault on antispam plugin
...quota_rule2: Trash:storage=20%%
quota_rule3: Spam:ignore
quota_warning: storage=95%% /usr/libexec/dovecot/quota_warning.sh %u 95
quota_warning2: storage=80%% /usr/libexec/dovecot/quota_warning.sh %u 80
antispam_spam: Bloqueados
antispam_mail_sendmail: /usr/libexec/dovecot/blockthis.py
antispam_mail_sendmail_args: -u;%u
antispam_mail_spam: -a
antispam_mail_notspam: -d
mail_log_events: delete undelete expunge copy mailbox_delete mailbox_rename
mail_log_group_events:
mail_log_fields: uid box msgid size
I can't increase these number! I already alter the limits.conf, the
ulimit.. and nothing seen...
2018 Aug 04
1
replication fails and corrupts index with zlib enabled
...special_use = \All
}
mailbox virtual/Flagged {
special_use = \Flagged
}
prefix =
type = private
}
passdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
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
mail_replica = tcp:stand.by.server.ip.address
sieve = ~/.dovecot.sieve
sieve_before = /etc/dovecot/sieve/before.d/
sieve_dir = ~/sieve
sieve_extensions = +notify +imapflags +imap4f...
2018 Jul 30
0
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=...