LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-30-2007, 03:05 PM   #1
_MD_
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Distribution: BackTrack, Knoppix, Fedora, Slackware
Posts: 43

Rep: Reputation: 16
Question 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... =(((
 
Old 05-03-2007, 11:09 AM   #2
_MD_
Member
 
Registered: Apr 2004
Location: Toronto, Canada
Distribution: BackTrack, Knoppix, Fedora, Slackware
Posts: 43

Original Poster
Rep: Reputation: 16
Cool

Turns out to be very simple... I enabled imap port (143) on my firewall and all of my users were able to use outlook again... =)))
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dovecot and outlook talkinggoat Linux - Server 2 08-01-2007 11:45 AM
outlook not downloading mail from dovecot w_v_s_maniac Linux - Newbie 2 06-02-2006 04:44 AM
how to retrieve a sent e-mail? kpachopoulos General 3 03-27-2006 03:26 PM
Mozilla mail can't retrieve mail etc cragwolf Linux - Software 0 08-03-2004 08:35 PM
e-mail server. Want to use client app to retrieve mail bkeating Linux - Software 2 08-23-2003 08:44 PM


All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration