Displaying 20 results from an estimated 35 matches for "spool2dir".
2013 Nov 27
1
dovecot-antispam plugin problem with multiple messages
Hi
With dovecot 2.2.5, and dovecot-antispam built from a recent HEAD pull, when copying multiple messages to or from a Spam folder, the plugin sends multiple copies of the first message to the backend. I've tried this with the pipe and spool2dir backends.
For example with the spool2dir backend, via IMAP doing
A COPY 1:3 Spam
yields 3 copies of message id 1 in the dir:
dev:imap-8.1 rplatel at imap01:/var/run/dovecot_as_tmp$ sudo -u mail md5sum *
28ad0a215eb7ecbd3a814a8a334d85bf 00000000001385586164-rplatel at ff-dev.com-00001s
28ad0a215...
2012 Aug 17
1
antispam_plugin prevents IMAP login (error 3) [Dovecot 2.0.19]
Hi everybody,
trying to get the Dovecot antispam_plugin to work and I must be doing
something wrong, because as soon as it is enabled with a certain
backend, imap logins do not work anymore (the session is immediately
closed after a successful login). Interestingly, pipe and spool2dir are
working (that is, the session won't be closed), dspam-exec and
crm114-exec are not. If this happens, mail_debug output is as follows:
imap-login: Login: user=<dof>, method=PLAIN, rip=127.0.0.1,
lip=127.0.0.1, mpid=10420, secured
imap: Debug: Loading modules from directory: /...
2015 Jul 20
2
[Dovecot Antispam] Can't seem to load plugin
On 2015-07-20 08:20, Christian Kivalo wrote:
>>
>> That seems to be about all I get though. Still nothing to indicate
>> errors, and
>> nothing to indicate that anything is being done when I move messages
>> into
>> spam. I suppose that probably means I've configured the folder paths
>> incorrectly. I'll have to keep beating my head against it
2020 Jul 03
0
Mail replication fails between v2.2.27 and v2.3.4.1
...\Sent
}
mailbox Spam {
auto = subscribe
special_use = \Junk
}
mailbox Trash {
auto = subscribe
special_use = \Trash
}
prefix =
separator = .
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
acl = vfile
antispam_backend = spool2dir
antispam_spam = spam;Spam;junk;Junk
antispam_spool2dir_notspam = /var/spool/spamtrainer/%%lu-%u-%%05lu-ham
antispam_spool2dir_spam = /var/spool/spamtrainer/%%lu-%u-%%05lu-spam
antispam_trash = trash;Trash;Deleted Items;Deleted Messages
mail_log_events = delete
mail_log_fields = uid box...
2017 Feb 10
1
Replacement for antispam plugin
..., the antispam plugin calls sa-learn, and you will experience noticeable lag on webmail (i used Roundcube webmail for testing) until sa-learn finished. It's much worse if you move multiple emails at the same time, because we have to wait for sa-learn to learn all moved messages.
I switched to ?spool2dir? backend of old ?antispam? plugin, and call sa-learn hourly to learn spam/ham. Since it simply copies moved message(s), no lag on webmail side at all, our users are satisfied.
----
Zhang Huangbin, founder of iRedMail project: http://www.iredmail.org/
Time zone: GMT+8 (China/Beijing).
2009 Sep 25
1
problem with compilation of dovecot-antispam plugin with dovecot 1.2.5
...n file included from debug.c:5:
antispam-plugin.h: In function 'string_dict_init':
antispam-plugin.h:119: erreur: too few arguments to function 'dict_init'
antispam-plugin.h:120: attention : control reaches end of non-void
function
make: *** [debug.o] Erreur 1
my .config :
BACKEND=spool2dir
DOVECOT=/opt/dovecot125/include/dovecot
INSTALLDIR=/opt/dovecot125/lib/dovecot/imap
USER=root
GROUP=root
DEBUG=stderr
DEBUG_VERBOSE=1
PLUGINNAME=antispam
any idea ?
thanks in advance
--
GanGan
- www.system-linux.eu -
!DSPAM:30,4abce8de71461752217160!
2012 Aug 20
0
SOLVED antispam_plugin prevents IMAP login (error 3) [Dovecot 2.0.19]
...i everybody,
>
> trying to get the Dovecot antispam_plugin to work and I must be doing
> something wrong, because as soon as it is enabled with a certain
> backend, imap logins do not work anymore (the session is immediately
> closed after a successful login). Interestingly, pipe and spool2dir
> are working (that is, the session won't be closed), dspam-exec and
> crm114-exec are not. If this happens, mail_debug output is as
> follows:
>
> [...]
Hi again,
how embarrassing. I should use the correct name for the backend type.
:\ So everything works as expected, sorry...
2013 Nov 05
0
dovecot Digest, Vol 127, Issue 7
...ot at smail.inf.fh-brs.de>
>
>>
>> My specific application: I am running spamassassin and would like users
>> to be able to submit spam (and ham) directly by moving it into special
>> folders.
> I did this before switching to antispam.
> I use antispam with spool2dir now, that central directory has a inotify
> watcher that trains the messages instantly.
This is a great idea. In my case I think I will get away with a five minute cron job since the pickup latency should be manageable to the users and there is less to install. But I like in principle the id...
2014 Jul 18
0
Panic: file mail-storage.c
...t.so.0(master_service_run+0x13)
[0x7fd796c8c4d3] -> dovecot/imap(main+0x277) [0x40c067] ->
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fd7968f5ead]
-> dovecot/imap() [0x40c1c5]
for others users imap connection is ok with antispam plugin working fine
(antispam_backend = spool2dir)
To enable the imap connections for the unlucky users (with the previous
error) I had to remove the anti spam plugin.
Does anybody is experiencing the same errors?
cheers
Giovanni
2015 Jul 20
0
[Dovecot Antispam] Can't seem to load plugin
....log.2
dovecot.index.thread
dovecot.mailbox.log
new
subscriptions
tmp
plugin {
antispam_debug_target = syslog
antispam_verbose_debug = 1
antispam_trash_pattern_ignorecase = Trash
antispam_spam_pattern_ignorecase = Spam
antispam_unsure_pattern_ignorecase = Suspect
antispam_backend = spool2dir
antispam_spool2dir_spam = /home/%u/unprocessed/spam-%%lu-%%lu
antispam_spool2dir_notspam = /home/%u/unprocessed/ham-%%lu-%%lu
}
After reloading with this configuration and moving a piece of spam into the
spam folder...
root at zerolag:/home/james.lott/mail # ls -lah ../unprocessed/
total 12...
2012 Aug 09
1
looking for information on Vacation auto-reply
...etc/postfix/ssl/mail.fantinibakery.com.key
userdb {
args = /etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
protocol lmtp {
mail_plugins = quota sieve
}
protocol imap {
mail_max_userip_connections = 30
mail_plugins = " quota imap_quota"
plugin {
antispam_backend = spool2dir
antispam_signature = X-DSPAM-Signature
antispam_spam = Junk
antispam_spool2dir_notspam = /var/spamtrain/not-spam/%%020lu-%u-%%05
antispam_spool2dir_spam = /var/spamtrain/spam/%%020lu-%u-%%05
antispam_trash = Trash
antispam_verbose_debug = 1
}
}
protocol sieve {
m...
2015 Jan 26
1
Dovecot antispam
Hi,
Can I get a look at your antispam configs? I'd like to compare them
against mine.
Thanks.
Dave.
On 1/26/15, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Sun, 25 Jan 2015, David Mehler wrote:
>
>> I've got a Postfix, amavisd-new, dovecot (delivery and sieve), setup
>> with
Reviewing end-user ham/spam submissions before feeding them to sa-learn via Dovecot Antispam plug-in
2013 Jan 16
1
Reviewing end-user ham/spam submissions before feeding them to sa-learn via Dovecot Antispam plug-in
Currently, I'm using the Dovecot Antispam plug-in with great success.
Everything works as expected.
However, I would like to change the plug-in's behavior such that it
simply sends a copy of a message that is moved from Inbox -> Junk (or
Junk -> Inbox) to an administrator, instead of calling sa-learn (I'm
using SpamAssassin) automatically.
Basically, I would like to be able to
2014 Nov 04
1
doveadm index message-decoder assertion failed
...\Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
driver = pam
}
plugin {
antispam_backend = spool2dir
antispam_spam = Junk
antispam_spool2dir_notspam =
/var/spool/dovecot-antispam/queue/ham-%%020lu-%u-%%05lu
antispam_spool2dir_spam =
/var/spool/dovecot-antispam/queue/spam-%%020lu-%u-%%05lu
antispam_trash = Trash
fts = lucene
fts_autoindex = yes
fts_lucene = whitespace_chars=@...
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 Dec 16
2
Expire plugin does not work
...velope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
passdb {
args = scheme=PLAIN-MD5 username_format=%Ln /etc/dovecot/databases/users
driver = passwd-file
}
plugin {
antispam_backend = SPOOL2DIR
antispam_spam = Spam
antispam_spool2dir_notspam = %h/ham/%%020lu-%%05lu
antispam_spool2dir_spam = %h/spam/%%020lu-%%05lu
antispam_trash = Trash
expire = Spam
expire2 = Trash
expire_dict = proxy::expire
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = imap lmtp sieve
serv...
2013 Nov 05
2
Is it safe to manipulate Maildir files directly?
Dovecoters,
is it safe to manipulate files in Maildir/xxx directly or will Dovecot become unstable if I don't make these changes by talking to Dovecot and having it make the changes? (I'm running 2.1.7 under Wheezy, IMAP only)
My specific application: I am running spamassassin and would like users to be able to submit spam (and ham) directly by moving it into special folders. A cron
2010 Dec 31
2
X-SAVEDATE & dync & doveadm expunge
...ubscriptions = yes
type = private
}
namespace {
location = virtual:/etc/dovecot/virtual:INDEX=~/control/virtual
prefix = virtual/
separator = /
subscriptions = no
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
antispam_backend = spool2dir
antispam_spam = Junk
antispam_spool2dir_notspam = /home/vmail/learn-ham/%%020lu-%u-%%05luh
antispam_spool2dir_spam = /home/vmail/learn-spam/%%020lu-%u-%%05lus
antispam_trash = Trash
fts = squat
fts_squat = partial=4 full=10
quota = dict:user::proxy::dictionary
sieve = ~/dove...
2015 Dec 16
3
[bug][Pigeonhole 0.4.10] Missing msgid
...nt
}
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 {
acl = vfile
acl_shared_dict = file:/vmail/shared-mailboxes.db
antispam_backend = spool2dir
antispam_spam = Junk
antispam_spool2dir_notspam = /tmp/spamspool/%%020lu-%u-%%05luh
antispam_spool2dir_spam = /tmp/spamspool/%%020lu-%u-%%05lus
antispam_trash = Trash;train_ham;train_prob;train_spam
quota = dict:User quota::file:%h/dovecot-quota
quota_rule = *:storage=2G
quota_rule2 =...
2014 Mar 13
0
quota using wrong limits in user shared mailboxes
...al_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
}
passdb {
args = /usr/local/dovecot-2.2.10/etc/dovecot/dovecot-ldap.conf.ext
driver = ldap
}
plugin {
acl = vfile
acl_shared_dict = proxy::acl
antispam_allow_append_to_spam = yes
antispam_backend = spool2dir
antispam_spam = SPAM+ReportAsSPAM
antispam_spool2dir_notspam = /tmp/spamspool/%%020lu-%%05lu-%u-H
antispam_spool2dir_spam = /tmp/spamspool/%%020lu-%%05lu-%u-S
antispam_trash = trash;TRASH;Trash;spam;SPAM;Spam;junk;JUNK;Junk;Deleted Items;Deleted Messages;Gel&APY-schte Elemente;Gel&a...