Can't retrieve mail with outlook through dovecot
I've installed dovecot on a new server where postfix is already running smoothly (can send and receive mail through webmail). But as soon as I enter my server's ip in outlook on any of the workstations, it says that the server can not be found (or a connection was not established or something).
Here's the /var/log/maillog:
Code:
Apr 30 07:25:20 mailserver postfix/smtpd[6914]: connect from unknown[64.23.10.81]
Apr 30 07:25:21 mailserver postfix/smtpd[6914]: 1B7423DD288: client=unknown[64.23.10.81]
Apr 30 07:25:21 mailserver postfix/cleanup[6918]: 1B7423DD288: message-id=<20070430112521.1B7423DD288@mailserver.mydomain.com>
Apr 30 07:25:21 mailserver postfix/qmgr[2387]: 1B7423DD288: from=<bounce-flnl-49294209@mx01.blesstheday.com>, size=3505, nrcpt=1 (queue active)
Apr 30 07:25:21 mailserver postfix/local[6919]: 1B7423DD288: to=<lorna.cowan@mydomain.com>, relay=local, delay=0.3, delays=0.28/0/0/0.01, dsn=4.3$
Apr 30 07:25:21 mailserver postfix/smtpd[6914]: disconnect from unknown[64.23.10.81]
Apr 30 07:25:49 mailserver dovecot: imap-login: Login: user=<joe.tops>, method=PLAIN, rip=::ffff:192.168.1.99, lip=::ffff:192.168.1.99, secured
Apr 30 07:25:49 mailserver dovecot: IMAP(joe.tops): Disconnected: Logged out
Apr 30 07:25:49 mailserver dovecot: imap-login: Login: user=<joe.tops>, method=PLAIN, rip=::ffff:192.168.1.99, lip=::ffff:192.168.1.99, secured
Apr 30 07:25:49 mailserver dovecot: IMAP(joe.tops): Disconnected: Logged out
Apr 30 07:25:49 mailserver dovecot: imap-login: Login: user=<joe.tops>, method=PLAIN, rip=::ffff:192.168.1.99, lip=::ffff:192.168.1.99, secured
Apr 30 07:25:49 mailserver dovecot: IMAP(joe.tops): Disconnected: Logged out
Apr 30 07:25:51 mailserver dovecot: imap-login: Login: user=<joe.tops>, method=PLAIN, rip=::ffff:192.168.1.99, lip=::ffff:192.168.1.99, secured
Apr 30 07:25:51 mailserver dovecot: IMAP(joe.tops): Disconnected: Logged out
Apr 30 07:26:09 mailserver dovecot: imap-login: Login: user=<joe.tops>, method=PLAIN, rip=::ffff:192.168.1.99, lip=::ffff:192.168.1.99, secured
Apr 30 07:26:09 mailserver dovecot: IMAP(joe.tops): Disconnected: Logged out
Apr 30 07:26:11 mailserver postfix/smtpd[6914]: connect from unknown[64.23.10.81]
Apr 30 07:26:11 mailserver postfix/smtpd[6914]: C24CF3DD292: client=unknown[64.23.10.81]
Apr 30 07:26:11 mailserver postfix/cleanup[6918]: C24CF3DD292: message-id=<002801c78b19$6a2680e0$6401a8c0@davecixkummomb>
...
***see, joe gets disconnected right after he tries to connect... :S
Here's what I have uncommented in /etc/dovecot.conf:
Code:
## Dovecot configuration file
base_dir = /var/run/dovecot/
protocols = imap imaps
listen = *:143
imaps_listen = *:993
login_dir = /var/run/dovecot/login
login_chroot = yes
login_user = dovecot
mail_location = mbox:/home/%u/mail:INBOX=/var/spool/mail/%u
protocol imap {
login_executable = /usr/libexec/dovecot/imap-login
mail_executable = /usr/libexec/dovecot/imap
login_greeting_capability = no
}
auth_executable = /usr/libexec/dovecot/dovecot-auth
auth_process_size = 512
auth_cache_ttl = 3600
auth default {
mechanisms = plain
passdb pam {
}
So what do you think is setup incorrectly here? Clearly dovecot is running, but I can not retrieve emails with outlook... So any help is appreciated. Thanks.
P.S. I've imported the user files form the old server to /home/user.name/mail, but as soon as this user logs in to the new server, dovecot creates its own files prefixed with dovecot...
ls -ahl /home/joe.tops/mail/.imap/INBOX
Code:
total 6.5M
drwx------ 2 joe.tops clients 4.0K Apr 30 10:04 .
drwx------ 7 joe.tops clients 4.0K Jan 24 2005 ..
-rw------- 1 joe.tops clients 5 Jan 24 2005 .customflags
-rw------- 1 joe.tops clients 73K Apr 30 10:02 dovecot.index
-rw------- 1 joe.tops clients 2.5M Apr 30 10:02 dovecot.index.cache
-rw------- 1 joe.tops clients 85K Apr 30 10:42 dovecot.index.log
-rw------- 1 joe.tops clients 81K Apr 27 15:13 .imap.index
-rw------- 1 joe.tops clients 3.7M Apr 19 13:57 .imap.index.data
-rw------- 1 joe.tops clients 2.6K Jan 24 2005 .imap.index.log
-rw------- 1 joe.tops clients 78K Apr 24 10:06 .imap.index.tree
So some users can't even access INBOX through webmail... =(((
|