[Dovecot] courier to dovecot
Grafibit Rendszergazda
rendszergazda at grafibit.hu
Sun May 6 21:18:28 EEST 2012
Dear All,
I know there were many threads on this topic. I was searching the archive and
the net also, but did not find a solution on my problem. I hope you can help me.
I am migrating from an old server using courier to a new server with dovecot and
i can not manage to have the same uids after the migration.
After copying the message files from the old server to the new, and executing
the script from the wiki page the messages are still re-downloaded by the mail
clients.
After telnet and logging in to the old server port 110, I got the following on
the command *uidl*:
1 UID377-1278276092
2 UID387-1278276092
3 UID394-1278276092
4 UID498-1278276092
5 UID499-1278276092
6 UID564-1278276092
On the new server i set up the *pop3_uidl_format = UID%u-%v* because it seems
for me that the old server is using the same uidl format.
Either if i execute the /./courier-dovecot-migrate.pl --to-dovecot --recursive
--convert /command or i don't the uidls on the new server won't be the same.
Both the %u and %v numbers are differ.
Please give me any hints how to continue the investigation to have a successful
migration.
Thank you in advance,
Tamás
* dovecot -n*
# 1.2.15: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-0.bpo.2-amd64 x86_64 Debian 6.0.4
protocols: imap imaps pop3 pop3s managesieve
ssl_cert_file: /var/lib/dtc/etc/ssl/dovecot/new.cert.cert
ssl_key_file: /var/lib/dtc/etc/ssl/dovecot/new.cert.key
disable_plaintext_auth: no
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
login_executable(managesieve): /usr/lib/dovecot/managesieve-login
mail_location: maildir:%h/Maildir
mbox_write_locks: fcntl dotlock
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_executable(managesieve): /usr/lib/dovecot/managesieve
mail_plugins(default): quota imap_quota
mail_plugins(imap): quota imap_quota
mail_plugins(pop3): quota
mail_plugins(managesieve):
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
mail_plugin_dir(managesieve): /usr/lib/dovecot/modules/managesieve
pop3_uidl_format: UID%u-%v
managesieve_logout_format(default): bytes=%i/%o
managesieve_logout_format(imap): bytes=%i/%o
managesieve_logout_format(pop3): bytes=%i/%o
managesieve_logout_format(managesieve): bytes ( in=%i : out=%o )
namespace:
type: private
separator: .
prefix: INBOX.
inbox: yes
list: yes
subscriptions: yes
lda:
postmaster_address: mail at exemple.com
mail_plugin_dir: /usr/lib/dovecot/modules/lda
auth_socket_path: /var/run/dovecot-auth-master
log_path: /var/log/sieve.log
info_log_path: /var/log/sieve.info
mail_plugins: sieve quota
auth default:
passdb:
driver: sql
args: /var/lib/dtc/etc/dovecot-mysql.conf
userdb:
driver: prefetch
userdb:
driver: sql
args: /var/lib/dtc/etc/dovecot-mysql.conf
socket:
type: listen
client:
path: /var/run/dovecot/dovecot-auth-client
mode: 438
master:
path: /var/run/dovecot-auth-master
mode: 384
user: dtc
plugin:
sieve: ~/.dovecot.sieve
sieve_dir: ~/sieve
quota: maildir
More information about the dovecot
mailing list