[Dovecot] question about snarf plugin in dovecot 2
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.
On 12/3/10 3:14 PM, Timo Sirainen wrote:
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..
Well, that seems important. :-) I have since upgraded to v2.0.8
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
After these changes, snarfing doesn't work for me, either straight or UW optional style. Either way I try it, when I connect, it creates an empty ~/mbox file but does not snarf my inbox into it. My mail client (thunderbird) doesn't see any messages at all in my inbox. I remove the snarf namespace and change my mail_location back and my inbox is, of course, back. Note that I have all the UW compatibility namespaces in there.
mail_location = mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/%u
# default namespace namespace { type = private separator = / prefix = inbox = yes } # for backwards compatibility: namespace { type = private separator = / prefix = mail/ hidden = yes list = no # for v1.1+ } namespace { type = private separator = / prefix = ~/mail/ hidden = yes list = no # for v1.1+ } namespace { type = private separator = / prefix = ~%u/mail/ hidden = yes list = no # for v1.1+ }
namespace { type = shared separator = / prefix = sharedimap/ hidden = yes list = no location = maildir:/a1/dove-shared:INDEX=/a2/imap-index/dove-shared/%u }
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 } plugin { mbox_snarf = ~/mbox }
Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.info] imap-login: Login: user=<testacct>, method=PLAIN, rip=1.2.3.4, lip=4.3.2.1, mpid=23156, TLS Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap: Debug: Loading modules from directory: /private/dovecot/lib/dovecot Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap: Debug: Module loaded: /private/dovecot/lib/dovecot/lib10_quota_plugin.so Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap: Debug: Module loaded: /private/dovecot/lib/dovecot/lib11_imap_quota_plugin.so Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Effective uid=9876, gid=5094, home=/nfs/farm/u3/t/testacct Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Quota root: name=INBOX backend=fs args=mount=/a1 Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Quota root: name=Home quota backend=fs args=mount=/nfs/farm/u3/t/testacct Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/testacct Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/nfs/farm/u3/t/testacct/mail, index=/a2/imap-index/testacct, control=, inbox=/nfs/farm/u3/ t/testacct/mbox Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota add mailbox dir = /a1 Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota block device = /dev/dsk/emcpower0c Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota mount point = /a1 Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota mount type = ufs Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota add mailbox dir = /nfs/farm/u3/t/testacct Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota block device = stak.engr.oregonstate.edu:/farm-u3 Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota mount type = nfs Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=private, prefix=mail/, sep=/, inbox=no, hidden=yes, list=no, subscriptions =yes location=mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/testacct Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/nfs/farm/u3/t/testacct/mail, index=/a2/imap-index/testacct, control=, inbox=/nfs/farm/u3/ t/testacct/mbox Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=private, prefix=~/mail/, sep=/, inbox=no, hidden=yes, list=no, subscriptio ns=yes location=mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/testacct Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/nfs/farm/u3/t/testacct/mail, index=/a2/imap-index/testacct, control=, inbox=/nfs/farm/u3/ t/testacct/mbox Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=private, prefix=~testacct/mail/, sep=/, inbox=no, hidden=yes, list=no, subscri ptions=yes location=mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/testacct Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/nfs/farm/u3/t/testacct/mail, index=/a2/imap-index/testacct, control=, inbox=/nfs/farm/u3/ t/testacct/mbox Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=shared, prefix=sharedimap/, sep=/, inbox=no, hidden=yes, list=no, subscrip tions=yes location=maildir:/a1/dove-shared:INDEX=/a2/imap-index/dove-shared/testacct Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: maildir++: root=/a1/dove-shared, index=/a2/imap-index/dove-shared/testacct, control=, inbox= Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace snarf: type=private, prefix=/snarf, sep=/, inbox=no, hidden=yes, list=no, subscri ptions=yes location=mbox:/private/dovecot/var/run/dovecot/empty:INBOX=/var/mail/testacct:INDEX=MEMORY Dec 13 13:17:48 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/private/dovecot/var/run/dovecot/empty, index=, control=, inbox=/var/mail/testacct Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : Permission lookup failed from /nfs/farm/u3/t/testacct/mbox Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : Using permissions from /nfs/farm/u3/t/testacct/mail: mode=0700 gid=-1 Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : Permission lookup failed from /nfs/farm/u3/t/testacct/mbox Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : Using permissions from /nfs/farm/u3/t/testacct/mail: mode=0700 gid=-1 Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : Permission lookup failed from /nfs/farm/u3/t/testacct/mbox Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : Using permissions from /nfs/farm/u3/t/testacct/mail: mode=0700 gid=-1 Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : Permission lookup failed from /nfs/farm/u3/t/testacct/mbox Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : Using permissions from /nfs/farm/u3/t/testacct/mail: mode=0700 gid=-1 Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: box=/nfs/farm/u3/t/testacct/mbox mount=/a1 match=no Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: box=/nfs/farm/u3/t/testacct/mbox mount=/nfs/farm/u3/t/testacct match=yes Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: quota-fs: host=stak.engr.oregonstate.edu, path=/farm-u3, uid=9876, bytes Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: quota-fs: uid=9876, value=3210126336, limit=4096000000 Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: quota-fs: host=stak.engr.oregonstate.edu, path=/farm-u3, uid=9876, bytes Dec 13 13:17:49 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: quota-fs: uid=9876, value=3210126336, limit=4096000000 Dec 13 13:17:52 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.info] imap(testacct): Connection closed bytes=56/864
thank you
Tom Lieuallen Oregon State University
After these changes, snarfing doesn't work for me, either straight or UW optional style. Either way I try it, when I connect, it creates an empty ~/mbox file but does not snarf my inbox into it. My mail client (thunderbird) doesn't see any messages at all in my inbox. I remove the snarf namespace and change my mail_location back and my inbox is, of course, back. Note that I have all the UW compatibility namespaces in there.
I was hoping to get a quick resolution to this; hopefully something I'm doing wrong. I'm hoping to put dovecot in production tonight. ;-)
I thought I was getting closer, but...
From looking at the logs, I see that other plugins are loaded in the imap service (quotas for example). So, I added 'snarf' to my mail plugins.
protocol imap { ... mail_plugins = $mail_plugins imap_quota snarf ... }
Once I do that, I see that the plugin does load. And now it no longer creates an ~/mbox if it doesn't first exist. Then again, it now panics, so perhaps that is happening before getting to the point of creating the ~/mbox file. Since the panic is happening just after reference to .../var/run/dovecot/empty, I'm wondering if it has something to do with that directory.
Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.info] imap-login: Login: user=<testacct>, method=PLAIN, rip=1.2.3.4, lip=4.3.2.1, mpid=23312, TLS Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap: Debug: Loading modules from directory: /private/dovecot/lib/dovecot Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap: Debug: Module loaded: /private/dovecot/lib/dovecot/lib05_snarf_plugin.so Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap: Debug: Module loaded: /private/dovecot/lib/dovecot/lib10_quota_plugin.so Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap: Debug: Module loaded: /private/dovecot/lib/dovecot/lib11_imap_quota_plugin.so Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Effective uid=9876, gid=5094, home=/nfs/farm/u3/t/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Quota root: name=INBOX backend=fs args=mount=/a1 Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Quota root: name=Home quota backend=fs args=mount=/nfs/farm/u3/t/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=private, prefix=, sep=/, inbox=yes, hidden=no, list=yes, subscriptions=yes location=mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/nfs/farm/u3/t/testacct/mail, index=/a2/imap-index/testacct, control=, inbox=/nfs/farm/u3/t/testacct/mbox Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota add mailbox dir = /a1 Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota block device = /dev/dsk/emcpower0c Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota mount point = /a1 Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota mount type = ufs Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota add mailbox dir = /nfs/farm/u3/t/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota block device = stak.engr.oregonstate.edu:/farm-u3 Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota mount point = /nfs/farm/u3 Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs quota mount type = nfs Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=private, prefix=mail/, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes location=mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/nfs/farm/u3/t/testacct/mail, index=/a2/imap-index/testacct, control=, inbox=/nfs/farm/u3/t/testacct/mbox Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=private, prefix=~/mail/, sep=/, inbox=no, hidden=yes, list=no, subscriptions=yes location=mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/nfs/farm/u3/t/testacct/mail, index=/a2/imap-index/testacct, control=, inbox=/nfs/farm/u3/t/testacct/mbox Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=private, prefix=~testacct/mail/, sep=/, inbox =no, hidden=yes, list=no, subscriptions=yes location=mbox:~/mail:INBOX=~/mbox:INDEX=/a2/imap-index/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/nfs/farm/u3/t/testacct/mail, index=/a2/imap-index/testacct, control=, inbox=/nfs/farm/u3/t/testacct/mbox Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace : type=shared, prefix=sharedimap/, sep=/, inbox= no, hidden=yes, list=no, subscriptions=yes location=maildir:/a1/dove-shared:INDEX=/a2/imap-index/dove-shared/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: maildir++: root=/a1/dove-shared, index=/a2/imap-index/dove-shared/testacct, control=, inbox= Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: Namespace snarf: type=private, prefix=/snarf, sep=/, inbox =no, hidden=yes, list=no, subscriptions=yes location=mbox:/private/dovecot/var/run/dovecot/empty:INBOX=/a1/mail/testacct:INDEX=MEMORY Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.debug] imap(testacct): Debug: fs: root=/private/dovecot/var/run/dovecot/empty, index=, control=, inbox=/a1/mail/testacct Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.crit] imap(testacct): Panic: file mailbox-list-fs.c: line 150 (fs_list_get_path): assertion failed: (mailbox_list_is_valid_pattern(_list, name)) Dec 14 13:30:23 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.error] imap(testacct): Error: Raw backtrace: 0xff1bd000 -> 0xff1bc3d0 -> 0xff2b6fa0 -> 0xff2e5754 -> 0xff2af548 -> 0xff2ca134 -> 0xff2e5f88 -> 0xff111320 -> 0xff2aae64 -> 0x1a9cc -> 0x1b004 -> 0x1d378 -> 0x1d334 -> 0x1d694 -> 0x1e070 -> 0xff1c97fc -> 0xff1ca3f0 -> 0xff1c98b0 -> 0xff1b57e0 -> 0x269bc -> 0x15b64 Dec 14 13:30:24 zen.engr.oregonstate.edu dovecot: [ID 583609 mail.error] master: Error: service(imap): child 23312 killed with signal 6 (core dumps disabled)
thank you
Tom Lieuallen Oregon State University
On Dec 14, 2010, at 4:46 PM, Tom Lieuallen wrote:
After these changes, snarfing doesn't work for me, either straight or UW optional style. Either way I try it, when I connect, it creates an empty ~/mbox file but does not snarf my inbox into it. My mail client (thunderbird) doesn't see any messages at all in my inbox. I remove the snarf namespace and change my mail_location back and my inbox is, of course, back. Note that I have all the UW compatibility namespaces in there.
Once I do that, I see that the plugin does load. And now it no longer creates an ~/mbox if it doesn't first exist. Then again, it now panics, so perhaps that is happening before getting to the point of creating the ~/mbox file. Since the panic is happening just after reference to .../var/run/dovecot/empty, I'm wondering if it has something to do with that directory.
I can tell you that my config looks a little different and snarfing works. I have no need for optional snarfing. My mail_location qualifies the full path to the file where I want the mail to go. So it looks like: mail_location = mbox:%h:INBOX=/gpfs/inbox/%Ju/%u:INDEX=%h/.dovecot2.0.2
Namespace wise, I have: namespace Snarf { prefix = ~~Snarfbox/ location = mbox:/var/empty:INBOX=/var/spool/mail/%Ju/%u:INDEX=MEMORY list = no hidden = yes }
and finally: plugin { snarf = ~~Snarfbox/INBOX }
I have not figured out my problem with using the IMAP status command.
1 status inbox (messages)
-Jonathan
participants (3)
-
Jonathan Siegle
-
Timo Sirainen
-
Tom Lieuallen