[Dovecot] Dovecot 1.2.11 renames Maildir filenames on first read of foreign POPstore - how to avoid

Sam C. Nicholson !! scion at cabin-john.net
Mon Mar 22 13:57:05 EET 2010


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,


My POPstore looks like this:

	/zdata/domain/%d/folders/%n/{cur, new, tmp}/

and message filenames like this:


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: 
-> 1269258346.M323507P15988.mailbase
Mar 22 07:45:52 POP3(scion at 6ix.net): Warning: Fixed a duplicate: 
-> 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
     driver: passwd-file
     args: scheme=crypt username_format=%n /zdata/domain/%d/userdb
     driver: static
     args: uid=popkorn gid=popkorn home=/zdata/domain/%d/folders/%n

More information about the dovecot mailing list