[Dovecot] Problem copying e-mails to IMAP - Dovecot 2.1.2

Odhiambo Washington odhiambo at gmail.com
Fri Mar 16 12:51:46 EET 2012


I have a situation where I need to migrate e-mails from Outlook 2011 (Mac)
to Apple Mail. Having looked at all options, I have resorted to the,
perhaps, most difficult way: Create folders on the IMAP server, copy
e-mails into them from Outlook, connect Apple Mail and do the reverse.
However, I have hit a wall.

I am running Dovecot 2.1.2 on FreeBSD, with mdbox storage.

In my first attempt, I have 1792 messages in the "Sent Items" folder for
Outlook. I have tried (3 times) to copy the messages to the IMAP/Sent Items
folder, but the process dies at some point. When that happens, Outlook pops
a screen saying "IMAP session state is inconsistent, please relogin".

Dovecot says:
Mar 16 13:30:26 jaribu dovecot: master: Warning: Killed with signal 15 (by
pid=72242 uid=0 code=kill)
Mar 16 13:30:29 master: Info: Dovecot v2.1.2 starting up
Mar 16 13:31:15 auth-worker(72594): Info: mysql(localhost): Connected to
database exim4u
Mar 16 13:31:15 imap-login: Info: Login: user=<wash at kictanet.or.ke>,
method=PLAIN, rip=192.168.40.194, lip=192.168.40.252, mpid=72595
Mar 16 13:31:15 imap: Debug: Loading modules from directory:
/opt/dovecot2.1/lib/dovecot
Mar 16 13:31:15 imap: Debug: Module loaded:
/opt/dovecot2.1/lib/dovecot/lib10_quota_plugin.so
Mar 16 13:31:15 imap(wash at kictanet.or.ke): Debug: Effective uid=26, gid=26,
home=/var/spool/virtual/kictanet.or.ke/wash
Mar 16 13:31:15 imap(wash at kictanet.or.ke): Debug: quota: No quota setting -
plugin disabled
Mar 16 13:31:15 imap(wash at kictanet.or.ke): Debug: Namespace inbox:
type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes,
subscriptions=yes
 location=mdbox:~/mdbox
Mar 16 13:31:15 imap(wash at kictanet.or.ke): Debug: fs:
root=/var/spool/virtual/kictanet.or.ke/wash/mdbox, index=, control=,
inbox=, alt=
Mar 16 13:31:15 imap(wash at kictanet.or.ke): Debug: Namespace : Using
permissions from /var/spool/virtual/kictanet.or.ke/wash/mdbox: mode=0700
gid=
-1
Mar 16 13:31:30 imap-login: Info: Login: user=<wash at kictanet.or.ke>,
method=PLAIN, rip=192.168.40.194, lip=192.168.40.252, mpid=72646
Mar 16 13:31:30 imap: Debug: Loading modules from directory:
/opt/dovecot2.1/lib/dovecot
Mar 16 13:31:30 imap: Debug: Module loaded:
/opt/dovecot2.1/lib/dovecot/lib10_quota_plugin.so
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: Effective uid=26, gid=26,
home=/var/spool/virtual/kictanet.or.ke/wash
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: quota: No quota setting -
plugin disabled
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: Namespace inbox:
type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes,
subscriptions=yes
 location=mdbox:~/mdbox
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: fs:
root=/var/spool/virtual/kictanet.or.ke/wash/mdbox, index=, control=,
inbox=, alt=
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: Namespace : Using
permissions from /var/spool/virtual/kictanet.or.ke/wash/mdbox: mode=0700
gid=
-1
Mar 16 13:31:30 imap: Debug: Loading modules from directory:
/opt/dovecot2.1/lib/dovecot
Mar 16 13:31:30 imap: Debug: Module loaded:
/opt/dovecot2.1/lib/dovecot/lib10_quota_plugin.so
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: Effective uid=26, gid=26,
home=/var/spool/virtual/kictanet.or.ke/wash
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: quota: No quota setting -
plugin disabled
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: Namespace inbox:
type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes,
subscriptions=yes
 location=mdbox:~/mdbox
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: fs:
root=/var/spool/virtual/kictanet.or.ke/wash/mdbox, index=, control=,
inbox=, alt=
Mar 16 13:31:30 imap(wash at kictanet.or.ke): Debug: Namespace : Using
permissions from /var/spool/virtual/kictanet.or.ke/wash/mdbox: mode=0700
gid=-1
Mar 16 13:31:30 imap-login: Info: Login: user=<wash at kictanet.or.ke>,
method=PLAIN, rip=192.168.40.194, lip=192.168.40.252, mpid=72647
Mar 16 13:33:23 jaribu dovecot: imap(wash at kictanet.or.ke): Error: Corrupted
dbox file /var/spool/virtual/kictanet.or.ke/wash/mdbox/storage/m.4 (around
offset=894): msg header has bad magic value
Mar 16 13:33:23 jaribu dovecot: imap(wash at kictanet.or.ke): Warning: mdbox
/var/spool/virtual/kictanet.or.ke/wash/mdbox/storage: rebuilding indexes
Mar 16 13:33:23 jaribu dovecot: imap(wash at kictanet.or.ke): Error:
/var/spool/virtual/kictanet.or.ke/wash/mdbox/mailboxes/SentItems/dbox-Mails/dovecot.index
reset, view is now inconsistent
Mar 16 13:33:23 imap(wash at kictanet.or.ke): Info: Disconnected: IMAP session
state is inconsistent, please relogin. bytes=13816863/907529


My doveconf output is here -> http://pastebin.com/6yNP5ygt


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 652 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20120316/b972ad0f/attachment-0002.png>


More information about the dovecot mailing list