LinuxQuestions.org
Visit Jeremy's Blog.
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 11-17-2008, 04:31 PM   #1
linuxexpress
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Rep: Reputation: 15
Dovecot - cannot donwload mail from outlook


Hi, I installed mail server with postfix and dovecot service installed at Fedora 9.

At the Fedora box, I can sent mail and receive mail (mail sent from yahoo.com). I have window box using the Fedora box as mail server and I cannot download mail at the window box using outlook

When I try to receive mail from outlook, it always ask for user name and password.

For the dovecot.conf, I set up using the default without changing anything except one line:

protocols = imap pop3

# netstat -l|grep tcp
tcp 0 0 *:35383 *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 bob.ultracomm.ca:rndc *:* LISTEN
tcp 0 0 *:https *:* LISTEN
tcp 0 0 *op3 *:* LISTEN
tcp 0 0 *:imap *:* LISTEN
tcp 0 0 *:ssh *:* LISTEN
tcp 0 0 *:smtp *:* LISTEN
tcp 0 0 localhost6.localdomain:rndc *:* LISTEN

- for the firewall, I allow pop3 and smtp

# telnet localhost 110 ( from Fedora box)
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Dovecot ready.

#telnet 10.0.0.41 110 ( telnet from window box and 10.0.0.41 is the internal ip address of Fedora box)

+OK Dovecot ready

# service dovecot start
Starting Dovecot Imap: [ OK ]

Any idea whats go wrong
 
Old 11-17-2008, 04:33 PM   #2
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Are you suggesting dovecot shouldn't ask for a username and password? How else does it know what user's mail you are looking for.

Aside from that, there should be messages in /var/log/maillog
 
Old 11-17-2008, 04:59 PM   #3
linuxexpress
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Original Poster
Rep: Reputation: 15
/var/log/maillog

pop3:login:Aborted login(0 authenifiication attemps): rip=::ffff:127.0.0.1,lip=::ffff:127.0.0.1,secured
 
Old 11-17-2008, 07:19 PM   #4
linuxexpress
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Original Poster
Rep: Reputation: 15
When outlook asked for username and password, I entered the correct information and it still asked for username and password
 
Old 11-17-2008, 09:12 PM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What type of authentication is dovecot set up for in dovecot.conf, and what's the setting for disable_plaintext_auth in dovecot.conf?
 
Old 11-18-2008, 05:57 AM   #6
osamaensyviswinkel
LQ Newbie
 
Registered: Sep 2007
Location: Stellenbosch, South Africa
Distribution: Ubuntu 12.10 at home, Mac OS X on laptop
Posts: 20

Rep: Reputation: 0
so you can telnet to pop3 locally on the machine, and from the windows to the linux box - so that seems fine.

1. have you tried setting that mail account up and test it in a different mail client and see if that works (example, express, or thunderbird, etc.)
2. what error does the mail client give when it tries to pop the mail (sure it's not a client problem?)
 
Old 11-18-2008, 10:51 AM   #7
linuxexpress
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Original Poster
Rep: Reputation: 15
The devcot.conf is in default setting. All the parameters in the devot.conf is commented by default. The only paramter that I uncommented is the protocols as below:
protocols = imap pop3


The disable_plaintext_auth in the config file is commented by default as below:
# disable_plaintext_auth = no
 
Old 11-18-2008, 01:34 PM   #8
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
DO you have another mail client like thunderbird you can try to see if it's an outlook specific issue?
 
Old 11-18-2008, 02:12 PM   #9
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you also test with SELinux disabled ("setenforce 0" to turn off, "setenforce 1" to turn back on).

Did you install dovecot using yum?

Also, check your secure log (/var/log/secure) to see if there are any messages at the same time

Last edited by billymayday; 11-18-2008 at 02:13 PM.
 
Old 11-18-2008, 04:45 PM   #10
linuxexpress
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Original Poster
Rep: Reputation: 15
Selinux is disabled.

I tried to use Thunderbird to download mail but cannot download mail from Fedora box.

No log messages find for /var/log/mail/log and /var/log/secure.

Dovecot is installed through yum
 
Old 11-18-2008, 04:50 PM   #11
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Might be worth removing dovecot and reinstalling, just in case something went wrong in the initial instyallation. Try leaving the config untouched initially.

I assume you use PAM for your normal user authentication (ie to log on)?
 
Old 11-18-2008, 05:05 PM   #12
linuxexpress
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Original Poster
Rep: Reputation: 15
I reboot the machine and now there are log recorded from /var/log/maillog

Nov 18 18:01:17 testserver dovecot: pop3-login: Login: user=<joe>, method=PLAIN, rip=::ffff:10.0.0.3, lip=::ffff:10.0.0.31
Nov 18 18:01:17 testserver dovecot: POP3(joe): Couldn't init INBOX: Mailbox isn't a valid mbox file
Nov 18 18:01:17 testserver dovecot: POP3(joe): Mailbox init failed top=0/0, retr=0/0, del=0/0, size=0
 
Old 11-18-2008, 05:08 PM   #13
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Well that's good.

Do you know if that user has any mail?
 
Old 11-18-2008, 05:11 PM   #14
linuxexpress
LQ Newbie
 
Registered: Nov 2008
Posts: 22

Original Poster
Rep: Reputation: 15
I sent some test mails to this user from yahoo.com and all these mails are received at the fedora /var/spool/mail/joe
 
Old 11-18-2008, 05:23 PM   #15
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
That sounds like a corrupted mbox. If these are only test messages try deleting the file joe and send another message.

Before you do that though, what's the output of

ls -l /var/spool/mail/joe
 
  


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
LXer: Debian Mail Server Setup with Postfix + Dovecot + SASL + Squirrel Mail LXer Syndicated Linux News 0 03-12-2008 10:50 PM
Dovecot & Outlook brianmcgee Linux - Enterprise 2 02-07-2008 05:33 PM
dovecot and outlook talkinggoat Linux - Server 2 08-01-2007 10:45 AM
Can't retrieve mail with outlook through dovecot _MD_ Linux - Newbie 1 05-03-2007 10:09 AM
outlook not downloading mail from dovecot w_v_s_maniac Linux - Newbie 2 06-02-2006 03:44 AM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
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