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(sc...@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(sc...@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



Reply via email to