Greetings We have recently switched from mbox to Maildir so that we can implement symlinks for a large email account that is shared (partially) between some 20 or so users. The setup is dovecot-1.0.3-6.fc6, procmail-3.22-17.1, sendmail-8.13.8-2. Procmail has a single recipe in /etc/procmailrc that simply says "DEFAULT=$HOME/Maildir/". The problem is that I am seeing a lot of blank emails being created. For exaample, every time I open a folder from this shared account, I get either one or two emails being created on the spot. The are /always/ created with the current date and time stamp (i.e. now) and at the same time a tail -f of maillog shows something like this:> May 19 09:10:05 sydsrv56 dovecot: IMAP(plans): Fixed a duplicate: > dovecot-shared:2, -> 1211152205.P10039Q1.sydsrv56The only thing that appears to change is the last modified date and time of the two files, dovecot.index.log and dovecot.index.cache. Should I be maintaining separate index files or lock files for each user in this shared account? Currently the Maildir is shared and has the g+s bit set. Any ideas where I can start looking would be appreciated. Rgds Nigel. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
On Mon, 2008-05-19 at 09:20 +1000, Nigel Allen wrote:> For exaample, every time I open a folder from this shared account, I get > either one or two emails being created on the spot. The are /always/ > created with the current date and time stamp (i.e. now) and at the same > time a tail -f of maillog shows something like this: > > > May 19 09:10:05 sydsrv56 dovecot: IMAP(plans): Fixed a duplicate: > > dovecot-shared:2, -> 1211152205.P10039Q1.sydsrv56dovecot-shared file should exist in Maildir/ directory, while mails should exist in Maildir/new/ and Maildir/cur/ directory. I don't see how dovecot-shared could be moved to cur/ or new/ directory.. Or are your new/ or cur/ directories some weird symlinks? ?> The setup is dovecot-1.0.3-6.fc6, procmail-3.22-17.1, > sendmail-8.13.8-2.I don't remember Dovecot having this exact bug, but I remember fixing something related to dovecot-shared file. So it's possible it's been fixed in newer versions. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080519/572bd191/attachment-0002.bin>
Timo Sirainen wrote:> On Mon, 2008-05-19 at 09:20 +1000, Nigel Allen wrote: > >> For exaample, every time I open a folder from this shared account, I get >> either one or two emails being created on the spot. The are /always/ >> created with the current date and time stamp (i.e. now) and at the same >> time a tail -f of maillog shows something like this: >> >> >>> May 19 09:10:05 sydsrv56 dovecot: IMAP(plans): Fixed a duplicate: >>> dovecot-shared:2, -> 1211152205.P10039Q1.sydsrv56 >>> > > dovecot-shared file should exist in Maildir/ directory, while mails > should exist in Maildir/new/ and Maildir/cur/ directory. I don't see how > dovecot-shared could be moved to cur/ or new/ directory.. Or are your > new/ or cur/ directories some weird symlinks? >Hi Timo The file dovecot-shared does exist in the Maildir directory ~/Maildir/. I read that this file also has to exist in each folder under Maildir so I created them (as the folders where created outside of dovecot. I suspect that I have gone a little too far though. Here is the results of a "find" command plans/Maildir/. 60503/dovecot-shared plans/Maildir/. 60503/tmp/dovecot-shared plans/Maildir/. 60503/new/dovecot-shared plans/Maildir/.Lost Plans. 4938/cur/dovecot-shared plans/Maildir/.Lost Plans. 4938/dovecot-shared plans/Maildir/.Lost Plans. 4938/tmp/dovecot-shared plans/Maildir/.Lost Plans. 4938/new/dovecot-shared plans/Maildir/. 7849/dovecot-shared plans/Maildir/. 7849/tmp/dovecot-shared plans/Maildir/.Junk/cur/dovecot-shared plans/Maildir/.Junk/dovecot-shared plans/Maildir/.Junk/tmp/dovecot-shared plans/Maildir/.Junk/new/dovecot-shared plans/Maildir/. 58532.2008/cur/dovecot-shared plans/Maildir/. 58532.2008/dovecot-shared plans/Maildir/. 10075/dovecot-shared plans/Maildir/. 10075/tmp/dovecot-shared plans/Maildir/. 4743/dovecot-shared plans/Maildir/. 4743/tmp/dovecot-shared plans/Maildir/. 19128/cur/dovecot-shared plans/Maildir/. 19128/dovecot-shared plans/Maildir/. 19128/tmp/dovecot-shared plans/Maildir/. 19128/new/dovecot-shared plans/Maildir/. 52474/cur/dovecot-shared plans/Maildir/. 52474/dovecot-shared plans/Maildir/. 52474/tmp/dovecot-shared plans/Maildir/. 52474/new/dovecot-shared plans/Maildir/. 4260/dovecot-shared plans/Maildir/. 4260/tmp/dovecot-shared Should I remove the dovecot-shared files from all the cur and tmp and new? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.