Sam C. Nicholson !!
2010-Mar-22 11:57 UTC
[Dovecot] Dovecot 1.2.11 renames Maildir filenames on first read of foreign POPstore - how to avoid
Greetings, I'm converting from a custom POPstore ( > 100,000 messages) which is Maildir-like and uses the filename as the UIDL and doesn't store it inside the message. I'm wondering whether there is hope for config-file options to keep devecot from renaming files when it first sees them, or whether I'm going to need to create a new backend for dovecot based on Maildir. The renaming not only blows my current UIDLs, it seems to upset Dovecot's indexing, Cheers! -sam My POPstore looks like this: /zdata/domain/%d/folders/%n/{cur, new, tmp}/ and message filenames like this: msg.yyyy:mm:dd:hh:mm:ss.random I was able to get Dovecot to see the store by the symlink: INBOX -> . Here are the log messages regarding the index warnings: Mar 22 07:45:52 POP3(scion at 6ix.net): Warning: Fixed a duplicate: /zdata/domain/6ix.net/folders/scion/INBOX/cur/msg.2008:02:20:16:37:56.951.2376 -> 1269258346.M323507P15988.mailbase Mar 22 07:45:52 POP3(scion at 6ix.net): Warning: Fixed a duplicate: /zdata/domain/6ix.net/folders/scion/INBOX/cur/msg.2008:01:08:00:00:50.25142.18396 -> 1269258346.M323508P15988.mailbase ^ |____Dovecot message name appears to increment here #dovecot -c config -n # 1.2.11: /home/scion/Packages/dovecot-1211/dovecot.conf.short Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 640). Either grow the limit or change login_max_processes_count and max_mail_processes settings # OS: SunOS 5.11 i86pc zfs log_path: /dev/stderr protocols: pop3 ssl: no disable_plaintext_auth: no login_dir: /var/run/dovecot/login login_executable: /usr/libexec/dovecot/pop3-login mail_uid: popkorn mail_gid: popkorn mail_location: maildir:/zdata/domain/%d/folders/%n:LAYOUT=fs mail_debug: yes maildir_copy_preserve_filename: yes mail_executable: /usr/libexec/dovecot/pop3 mail_plugin_dir: /usr/lib/dovecot/pop3 pop3_enable_last: yes pop3_save_uidl: yes pop3_uidl_format: %f pop3_client_workarounds: outlook-no-nuls oe-ns-eoh auth default: mechanisms: login plain passdb: driver: passwd-file args: scheme=crypt username_format=%n /zdata/domain/%d/userdb userdb: driver: static args: uid=popkorn gid=popkorn home=/zdata/domain/%d/folders/%n
Steffen Kaiser
2010-Mar-22 12:22 UTC
[Dovecot] Dovecot 1.2.11 renames Maildir filenames on first read of foreign POPstore - how to avoid
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 22 Mar 2010, Sam C. Nicholson !! wrote:> msg.yyyy:mm:dd:hh:mm:ss.random^ at the colon teh file stem, aka UID ends in Maildir so no luck with standard backends, I guess Regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS6dg+b+Vh58GPL/cAQIxVwf+N9xl2z/qkJXcqXcTaG3eP8M7Jrh6DdBp pgA4tLnKZbWbHMbtxmuF/p+AaF79hEo6DVog5eIy8XZROyNFweJ0SmDxceyIbNgH qhFeZDJ0KBhvFoPfyBaSMc+QGnxDZUEBewxZfG40Pkt2PX6oqSY4AVI4KeHAkqFP MOy3e9uUDYRE5n0th4Wf0vQu3fRc8E2shQEcxWLjn1yDeymT/XnomDXPu73ehfAN jrsrkC5ZToaBKyEVxrPT0y8L5Z3NbaMiI6amrP1mNH5eovDx+MmBtcdK+R+kYNCt TjLlgsmJ5J7CEclCNJ7ubcwB+BXhvm/Lo928BdbmCdr21q4XvIVqQg==+GWF -----END PGP SIGNATURE-----