[Dovecot] Question about mbox_snarf and dovecot2.0

Jonathan Siegle jsiegle at psu.edu
Tue Feb 2 19:33:37 EET 2010


Hello,
	I'm running revision 10622:de9d6dae7fe5  on AIX 5.3 with some local mods for our inbox hash function. I'm having a problem doing a "select inbox" when I use the mbox_snarf plugin. When I run truss on the process I see the following stat calls:


614528: kread(9, " 1   s e l e c t   i n b".., 4096)    = 15
614528: statx("/gpfs/inbox/14/tstem38", 0x0FFFFFFFFFFFF2F8, 176, 0) = 0
614528: statx("/gpfs/users/t/s/tstem38/IMAP//gpfs/inbox/14/.imap/tstem38", 0x0FFFFFFFFFFFED98, 176, 0) Err#2  ENOENT
614528: statx("/gpfs/users/t/s/tstem38/IMAP//gpfs/inbox/14/tstem38", 0x0FFFFFFFFFFFEDD8, 176, 0) Err#2  ENOENT
614528: statx("/gpfs/users/t/s/tstem38/IMAP", 0x0FFFFFFFFFFFEC88, 176, 0) = 0
614528: statx("/gpfs/users/t/s/tstem38/IMAP//gpfs/inbox/14/tstem38", 0x0FFFFFFFFFFFEDD8, 176, 0) Err#2  ENOENT
614528: statx("/gpfs/users/t/s/tstem38/IMAP", 0x0FFFFFFFFFFFEC88, 176, 0) = 0

and the client gets:
1 NO [CANNOT] Invalid mailbox name

For pathing I have:
plugin.conf:  mbox_snarf = /gpfs/inbox/%Ju/%u
and
mail.conf:mail_location = mbox:%h:INBOX=/var/spool/mail/%Ju/%u

I verified that not using the  mbox_snarf works just fine. I have no namespaces enabled. 

Thanks,
Jonathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2541 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20100202/3e965ef0/attachment.bin 


More information about the dovecot mailing list