LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-10-2006, 07:42 AM   #1
yogaboy
Member
 
Registered: Oct 2004
Location: Londinium
Distribution: CentOs 4, OSX Tiger
Posts: 93

Rep: Reputation: 15
Postfix / Dovecot can't connect clients


Hi,

I'm a bit of a newbie to Linux and even more so to postfix and dovecot, so any help is appreciated.

I've set up postfix and dovecot on Centos 4. I can telnet into ports 25, 110 and 143 fine, both from localhost and externally (through the firewall). I can send smtp mail from the command line fine. What I can't do is get any pop3/smtp clients (Outlook, Mac Mail) to connect.

I'm wondering if there's something I should look for? I really don't know where to look next.

I set it up using a mix of instuctions, but mainly the ones here
http://www.hughesjr.com/content/view/14/29/

Iain
 
Old 11-11-2006, 02:26 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You need to check files like /var/log/maillog to see what the postfix and dovecot daemons are saying about the connection attempts. do you have any client side errors?
 
Old 11-11-2006, 08:42 AM   #3
yogaboy
Member
 
Registered: Oct 2004
Location: Londinium
Distribution: CentOs 4, OSX Tiger
Posts: 93

Original Poster
Rep: Reputation: 15
I tried telnetting in to IMAP and using
"LOGIN username password"

but I get the error
"LOGIN BAD Error in IMAP command received by server"

and then I have to disconnect. I checked the logs and they only show that I disconnected, nothing else. I was wondering if I should use the full email address as the username?? And the password I was using has a ) in it, so I put quotes around it, but I don't see why special chars wouldn't be allowed, could that be it?? I won't be impressed if it's not possible! I've tested it with a more simple password and still the same.

I sent an email to myself on the host using the command line, and checked the mailbox and there is an email in there.

On the client I get the error
"There may be a problem with the mail server or network. Check the settings for account "username@example.com" or try again.

The server error encountered was: The connection to the server "mail.example.com" on port 110 timed out."

I'm going to set up some internal DNS and retest it.
 
Old 11-11-2006, 12:29 PM   #4
grant-skywalker
Member
 
Registered: Jul 2005
Location: Jakarta / Kuala Lumpur
Distribution: Slackware, Debian, Ubuntu, Centos
Posts: 40

Rep: Reputation: 15
Hi,

How do you add your user account in Postfix?

Are you running MySQL at the back that supports your user management?

regards,
GS
 
Old 11-11-2006, 02:07 PM   #5
yogaboy
Member
 
Registered: Oct 2004
Location: Londinium
Distribution: CentOs 4, OSX Tiger
Posts: 93

Original Poster
Rep: Reputation: 15
I use system accounts, with no mySQL or Postgres or anything like that. Both the root and my user account can both send and receive as long as it's done locally.

Stop the press! As I'm writing this my mail account just downloaded a message from the dovecot that I sent yesterday. I changed the pop account details on the mail client to use the local IP address instead of the FQDN.

That means it's an issue with the firewall I'm using, which is confusing since I've telnetted to all the relevant ports through it from an outside source!

Many thanks for all the help, all the prodding has ended up with a solution of sorts. My firewall has been quite difficult to configure in the past and it obviously hasn't worked this time, so instead of wasting your time I'll try and sort it out first!

Thanks again!
 
  


Reply



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
Getting rid of Postfix and Dovecot TL_CLD Slackware 5 09-27-2006 12:31 AM
postfix dovecot Maildir Danny Regan Debian 3 11-15-2005 04:08 PM
Postfix Dovecot Help BigAppleFan Linux - Newbie 7 08-15-2005 05:08 PM
FC3, Postfix, and Dovecot Cottsay Fedora 0 06-25-2005 11:18 AM
Postfix and Dovecot umbraeOtheisles Linux - Software 3 11-23-2004 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:52 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
Open Source Consulting | Domain Registration