[Dovecot] Problems with Upgrade from Courier
Aaron Pettitt
apettitt at comcast.net
Thu Jan 20 18:02:35 EET 2011
I was looking at my dovecot.deliver log and it's showing that it's
delivering it to the Inbox:
deliver(samantha.freeze at mybridemail.com): 01/20/2011 10:44:27 Info: auth
input: home=/home/vmail/mybridemail.com/samantha.freeze
deliver(samantha.freeze at mybridemail.com): 01/20/2011 10:44:27 Info: maildir:
data=/home/vmail/mybridemail.com/samantha.freeze/
deliver(samantha.freeze at mybridemail.com): 01/20/2011 10:44:27 Info:
maildir++: root=/home/vmail/mybridemail.com/samantha.freeze, index=,
control=, inbox=/home/vmail/mybridemail.com/samantha.freeze
deliver(samantha.freeze at mybridemail.com): 01/20/2011 10:44:27 Info:
msgid=<001a01cbb8b8$eabe89c0$c03b9d40$@net>: saved mail to INBOX
However, if I login as her through Telnet, it shows that she has no mail:
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft \*)] Flags
permitted.
* 0 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1295474980] UIDs valid
* OK [UIDNEXT 1] Predicted next UID
b OK [READ-WRITE] Select completed.
If I look in the new folder under her folder, it shows the last emails I
sent this morning:
-rw------- 1 vmail vmail 3564 Jan 20 10:21
1295536875.M679042P20187.mybridemail.com,W=3672
-rw------- 1 vmail vmail 3540 Jan 20 10:27
1295537272.M522196P26548.mybridemail.com,W=3649
-rw------- 1 vmail vmail 3554 Jan 20 10:39
1295537952.M462095P9353.mybridemail.com,W=3662
-rw------- 1 vmail vmail 3540 Jan 20 10:44
1295538267.M893549P15392.mybridemail.com,W=3649
It's really strange why dovecot can deliver the mail to the inbox but cannot
see the inbox when trying to retrieve the mail????
From: Aaron Pettitt [mailto:apettitt at comcast.net]
Sent: Thursday, January 20, 2011 10:02 AM
To: 'dovecot at dovecot.org'
Subject: Problems with Upgrade from Courier
I inherited a server from a previous employee. The server crashed so it was
time to move everything over to another server. We have a web mail site and
I installed everything running dovecot, postfix and roundcube. After I
installed it, everything worked great when I created a new user. The new
user could send and receive emails with no issues. I then copied the home
directory over from the other server and ran the courier-dovecot migration
script. It created the subscription files and the dovecot-uidlist files in
each user (about 1000 total users). When I login as one of the existing
users, it says that there is no mail in the mailbox. However, if I look at
the user's cur and new folders, there is mail in those folders. If I send a
new mail to the user, it does not show up in their inbox. If I look in
their new folder, the new mail that I sent was delivered to that folder but
it does not show up in their inbox. I've tried going to dovecot directly
through telnet with the same results. I've been stuck for 2 days now so any
help is greatly appreciated. Below is my dovecot.conf with all the comments
removed.
Thanks all!
protocols = imap imaps
disable_plaintext_auth = no
log_path = '/var/log/dovecot/error.log'
info_log_path = '/var/log/dovecot/info.log'
log_timestamp = "%m/%d/%Y %H:%M:%S "
#mail_location = maildir:~/
mail_location = maildir:/home/vmail/%d/%n/
mail_privileged_group = mail
mail_debug = yes
protocol imap {
}
protocol pop3 {
}
protocol managesieve {
sieve_storage=~/sieve
}
protocol lda {
log_path = /home/vmail/dovecot-deliver.log
auth_socket_path = /var/run/dovecot/auth-master
postmaster_address = postmaster at mybridemal.com
mail_plugins = cmusieve
global_script_path = /home/vmail/globalsieverc
}
auth_verbose = yes
auth_debug = no
auth_debug_passwords = no
auth default {
passdb sql {
args = /etc/dovecot/dovecot-sql.conf
}
args = uid=5000 gid=5000 home=/home/vmail/%d/%n allow_all_users=yes
}
user = root
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
#group =
}
client {
path = /var/spool/postfix/private/auth
mode = 0660
user = postfix
group = postfix
}
}
}
}
More information about the dovecot
mailing list