Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.