View Full Version : can't check mail after new install
jag7720
20th September 2008, 00:58
I installed postfix with this howto
http://www.howtoforge.com/virtual-us...ysql-centos5.1
When I try to check a mail account, (with thunderbird) it says
Sending of password did not succeed. Mail server XXX responded: Authertication failed.
and /var/log/maillog shows after I hit cancel
Sep 19 14:49:29 www dovecot: pop3-login: Disconnected: user=<jason@hammersoup.com>, method=PLAIN, rip=::ffff:69.81.22.27, lip=::ffff:64.27.11.50, TLS
The password is encrypted in the database.
am I missing something with this mail server setup?
Does Tbird need
falko
20th September 2008, 14:37
Please compare your dovecot configuration with the one from the tutorial. Also make sure that SELinux is switched off.
jag7720
25th September 2008, 22:40
selinux is not enabled
Dovecot (courier-pop3 ??) looks ok...
I can connect via telnet locally.
[root@www ~]# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
+OK Dovecot ready.
it is connecting... just not authenticating.
any other ideas?
marpada
26th September 2008, 16:02
Enable MySQL query log, and see what query is been sent to the database, if any ;)
jag7720
26th September 2008, 18:41
It doesn't look like there are any transactions being sent to the the DB. I can see other transactions going through but nothing for mail.
Thoughts?
marpada
26th September 2008, 18:49
Double check your dovecont-mysql config (hostname,user,password), and check MySQL logs for password errors.
jag7720
26th September 2008, 19:46
There are no password failures nor ANY entries in the mysql log for this.
I went through page two again
http://www.howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-centos5.1-p2
and made sure my six files look like the samples... changing the ID and password. All looks good.
I can log into mysql with the same ID and password and access the mail database.
The only thing that is different with theses instructions compared to what I did was the UID/GID of vmail is 1001 instead of 5000. So I changed it where necessary in the instructions.
jag7720
3rd October 2008, 18:25
Bump....
anyone got any ideas on this?
falko
4th October 2008, 14:38
Are you sure that you've installed Courier? From your logs it seems as if you're running Dovecot...
What's the output of netstat -tap?
jag7720
6th October 2008, 16:58
You are the man! I don't know how that happened.
I stopped Dovecot and started courier-imap and viola... I was able to log in and mail started rolling into thunderbird.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.