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
On 3.12.2010, at 22.19, Tom Lieuallen wrote:> 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.v2.0.7? It requires v2.0.8, which I just released..> 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?Added a comment there: # keep mail_location etc. settings as above> Does it matter where (in which config file) the plugin block is placed?Nope.> mail_location = mbox:~/mail:INBOX=/var/mail/%u:INDEX=/a2/imap-index/%u~/mbox here instead of /var/mail/%u> BTW, the dovecot-2.0.7/docs/wiki appear to be from wiki1, not wiki2... :-)Oh .. It was supposed to be using wiki2.. Have to look into it what the problem is.
On 3.12.2010, at 23.14, Timo Sirainen wrote:>> BTW, the dovecot-2.0.7/docs/wiki appear to be from wiki1, not wiki2... :-) > > Oh .. It was supposed to be using wiki2.. Have to look into it what the problem is.They are from wiki2, just from 3 months ago :) Forgot to add the script to cron.