[Dovecot] Switching Servers now can't retrieve mail
lists at kesh.com
lists at kesh.com
Fri Oct 10 18:01:34 EEST 2008
I have just switched my mail server. I have copied (I think) the config files from the old to new. Exim is work fine on the new machine as I can see email file showing up in /var/mail/lists/new . However, dovecot reports nothing when I check mail . I am have turn on logging on both machines and I do not see anything that looks like an error. I have also looked to see if the dovecot.conf file is compatible between 1.0.14 and 1.1.2 and have found little.
I am guessing this is a simple problem, can someone tell me what I have done wrong here.
I have provided Working dovecot -n from both machines and the log output from a mail fetch.
Thanks,
working ---------------------------------------------------------------------------
# 1.0.14: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot.log
protocols: pop3 pop3s imap imaps
ssl_disable: yes
disable_plaintext_auth: no
version_ignore: yes
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
mail_location: maildir:/var/mail/%u
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
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
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
namespace:
type: private
separator: /
auth default:
verbose: yes
debug: yes
passdb:
driver: pam
userdb:
driver: passwd
non Working Config ------------------------
# 1.1.2: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot.log
protocols: pop3 pop3s imap imaps
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
mail_location: maildir:/var/mail/%u:INDEX=/var/mail/%u
mail_debug: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
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
namespace:
type: private
separator: /
list: yes
subscriptions: yes
auth default:
verbose: yes
debug: yes
passdb:
driver: pam
userdb:
driver: passwd
Working Log --------------------------------------------------
dovecot: Oct 10 07:52:25 Info: auth(default): client in: AUTH 1 PLAIN service=POP3 lip=75.48.112.185 rip=192.168.1.103 resp=<hidden>
dovecot: Oct 10 07:52:25 Info: auth(default): pam(lists,192.168.1.103): lookup service=dovecot
dovecot: Oct 10 07:52:25 Info: auth(default): client out: OK 1 user=lists
dovecot: Oct 10 07:52:25 Info: auth(default): master in: REQUEST 67 7280 1
dovecot: Oct 10 07:52:25 Info: auth(default): passwd(lists,192.168.1.103): lookup
dovecot: Oct 10 07:52:25 Info: auth(default): master out: USER 67 lists system_user=lists uid=1012 gid=1005 home=/home/lists
dovecot: Oct 10 07:52:25 Info: pop3-login: Login: user=<lists>, method=PLAIN, rip=192.168.1.103, lip=75.48.112.185
dovecot: Oct 10 07:52:25 Info: POP3(lists): Effective uid=1012, gid=1005
dovecot: Oct 10 07:52:25 Info: POP3(lists): maildir: data=/var/mail/lists
dovecot: Oct 10 07:52:25 Info: POP3(lists): maildir: root=/var/mail/lists, index=/var/mail/lists, control=, inbox=
dovecot: Oct 10 07:52:25 Info: POP3(lists): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
dovecot: Oct 10 07:52:26 Info: auth(default): new auth connection: pid=7304
Not Working Log ------------------------------------------
dovecot: Oct 10 07:51:33 Info: auth(default): client in: AUTH 1 PLAIN service=pop3 lip=75.48.112.186 rip=192.168.1.103 lport=110 rport=48667 resp=<hidden>
dovecot: Oct 10 07:51:33 Info: auth-worker(default): pam(lists,192.168.1.103): lookup service=dovecot
dovecot: Oct 10 07:51:33 Info: auth-worker(default): pam(lists,192.168.1.103): #1/1 style=1 msg=Password:
dovecot: Oct 10 07:51:33 Info: auth(default): client out: OK 1 user=lists
dovecot: Oct 10 07:51:33 Info: auth(default): master in: REQUEST 2 24165 1
dovecot: Oct 10 07:51:33 Info: auth(default): passwd(lists,192.168.1.103): lookup
dovecot: Oct 10 07:51:33 Info: auth(default): master out: USER 2 lists system_user=lists uid=1002 gid=1002 home=/home/lists
dovecot: Oct 10 07:51:33 Info: POP3(lists): Effective uid=1002, gid=1002
dovecot: Oct 10 07:51:33 Info: POP3(lists): Namespace: type=private, prefix=, sep=/, inbox=no, hidden=no, list=yes, subscriptions=yes
dovecot: Oct 10 07:51:33 Info: POP3(lists): maildir: data=/var/mail/lists:INDEX=/var/mail/lists
dovecot: Oct 10 07:51:33 Info: POP3(lists): maildir++: root=/var/mail/lists, index=, control=, inbox=
dovecot: Oct 10 07:51:33 Info: pop3-login: Login: user=<lists>, method=PLAIN, rip=192.168.1.103, lip=75.48.112.186
dovecot: Oct 10 07:51:33 Info: POP3(lists): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
dovecot: Oct 10 07:51:34 Info: auth(default): new auth connection: pid=24779
More information about the dovecot
mailing list