[Dovecot] Maildir: directory instead of file

Luigi Rosa lrosa at hypertrek.info
Tue Sep 9 17:41:03 EEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Since 1.0 sometimes happens that in the 'cur' directory of a maildir handled by
Dovecot I find a directory instead of a file, just like this:

drwx------ 2 mailvirtuale mailvirtuale    4096 Aug 25 15:11
1219669940.M113849P13510.gw.areanet.it:2,S
drwx------ 2 mailvirtuale mailvirtuale   20480 Aug 25 09:49 :2,S

This is the first time I find a directory named as a file, all other times I
found a directory named just ":2,S"

Looking to the dovecot log I found this regarding the second directory:

Aug 25 09:46:27 gw dovecot: imap-login: Login: user=<dsimonutti at areanet.it>,
method=PLAIN, rip=192.168.0.100, lip=192.168.0.254
Aug 25 09:46:27 gw dovecot: IMAP(dsimonutti at areanet.it):
/var/spool/mail/areanet.it/dsimonutti/.DNS/dovecot-uidlist: Duplicate file entry
at line 4673: 1171533630.P28442Q0M560589.gw.areanet.it:2,Sa (uid 2260
 -> 4827)
Aug 25 09:46:27 gw dovecot: IMAP(dsimonutti at areanet.it):
/var/spool/mail/areanet.it/dsimonutti/.DNS/dovecot-uidlist: Duplicate file entry
at line 4674: 1176880103.P23548Q8M176396.gw.areanet.it:2,S (uid 819 -
> 4828)
Aug 25 09:46:27 gw dovecot: IMAP(dsimonutti at areanet.it):
/var/spool/mail/areanet.it/dsimonutti/.DNS/dovecot-uidlist: Duplicate file entry
at line 4675: 1178089300.P27489Q19M500157.gw.areanet.it:2,Sa (uid 941
 -> 4829)

(and many other lines like the last ones)

But regarding the first directory I just found this entry:

Aug 25 15:12:27 gw dovecot: IMAP(dsimonutti at areanet.it): Fixed a duplicate:
/var/spool/mail/areanet.it/dsimonutti/cur/:2, ->
1219669940.M113849P13510.gw.areanet.it



In the maildir section of configuration file I enabled just this:

maildir_copy_with_hardlinks = yes




Ciao,
luigi

- --
/
+--[Luigi Rosa]--
\

There are three possibilities: Pioneer's solar panel has turned away
from the sun; there's a large meteor blocking transmission; or someone
loaded Star Trek 3.2 into our video processor.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIxor/3kWu7Tfl6ZQRAnDHAJ9HAQwTmqqWYjBeqTjg2IQNpcuf3wCgl+lM
0hekHvqK2jBHDCfboe2pHEw=
=4s3G
-----END PGP SIGNATURE-----


More information about the dovecot mailing list