[Dovecot] question about snarf plugin in dovecot 2
Tom Lieuallen
toml at engr.orst.edu
Sat Dec 4 00:19:56 EET 2010
I'm trying to get the snarf plugin working with dovecot 2.0.7.
Specifically, I want to use the UW-IMAP style optional snarfing.
I'm looking at the wiki2 documentation. The first question is whether
the UW-IMAP optional snarfing will require any changes to the
mail_location. The first section suggests (but doesn't specifically
state, which I'd propose be clarified) that mail_location be updated to
point at ~/mbox for INBOX. However, with the optional snarfing,
sometimes inbox will be at /var/mail and for some users, it'll be
~/mbox. What, if anything, do I do to mail_location?
Does it matter where (in which config file) the plugin block is placed?
I put all of my snarf configuration in 10-mail.conf. It's not working;
not snarfing and not reading mail from ~/mbox (how would it, I have yet
to tell it to).
The following are excerpts from 10-mail.conf
mail_location = mbox:~/mail:INBOX=/var/mail/%u:INDEX=/a2/imap-index/%u
....
namespace {
type = private
separator = /
prefix =
inbox = yes
}
....
namespace snarf {
prefix = /snarf
separator = /
location =
mbox:/private/dovecot/var/run/dovecot/empty:INBOX=/var/mail/%u:INDEX=MEMORY
list = no
hidden = yes
}
plugin {
snarf = /snarf/INBOX
mbox_snarf = ~/mbox
}
Thank you
BTW, the dovecot-2.0.7/docs/wiki appear to be from wiki1, not wiki2... :-)
Tom Lieuallen
Oregon State University
More information about the dovecot
mailing list