Home » Category » Email Servers Technologies

Email Servers Technologies: can somebody help me with authmysql?

212| Sun, 18 May 2008 00:23:00 GMT| lucas_silvero| Comments (1)
I have postfix with mysql and courier-imap pop authmysql. I see that
courierpop3login does not speak with mysql. This is the listing of
demons running:

1747 ? S 0:00 /usr/sbin/couriertcpd
-pid=3D/var/run/courier/pop3d.pid -stderrlogger=3D/usr/sbin/courierlogger
-maxprocs=3D40 -maxperip=3D4 -nodnslookup -noidentlookup -address=3D0 110
/usr/lib/courier/courier/courierpop3login
/usr/lib/courier/courier/courierpop3d Maildir

1695 ? S 0:00 /usr/sbin/courierlogger
-pid=3D/var/run/courier/authdaemon/pid -start
/usr/lib/courier/authlib/authdaemond.mysql
1696 ? S 0:00 /usr/lib/courier/authlib/authdaemond.mysql
1697 ? S 0:00 /usr/lib/courier/authlib/authdaemond.mysql
1698 ? S 0:00 /usr/lib/courier/authlib/authdaemond.mysql
1699 ? S 0:00 /usr/lib/courier/authlib/authdaemond.mysql
1700 ? S 0:00 /usr/lib/courier/authlib/authdaemond.mysql

837 ttyp2 S 0:00 /usr/sbin/mysqld --basedir=3D/usr
--datadir=3D/var/lib/mysql --user=3Dmysql
--pid-file=3D/var/run/mysqld/mysqld.pid --skip-locking --port=3D3306
--socket=3D/var/run/mysqld/mysqld.sock

when attempt to connect via to me telnet to port 110 passes this:

Trying 192.168.0.3...
Connected to pcdebian.CS.
Escape character is '^]'.
+OK Hello there.
user pepe...pcdebian.cs
+OK Password required.
pass pepe
-ERR Login failed.

that it can be happening?

----
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

Keywords & Tags: somebody, authmysql, email, servers

URL: http://software.itags.org/email-servers/59125/
 
«« Prev - Next »» 1 helpful answers below.
On Mon, Sep 19, 2005 at 12:46:38PM -0300, Lucas Silvero wrote:
> I have postfix with mysql and courier-imap pop authmysql.


What versions of all these programs?

> I see that courierpop3login does not speak with mysql.


How do you see that? I don't see any evidence of that in your mail, except
that authentication failed. It might well have been talking to mysql, and
just read data that you weren't expecting. Probably authmysqlrc has not been
configured correctly.

> 1696 ? S 0:00 /usr/lib/courier/authlib/authdaemond.mysql


I am guessing from that that you are running an old version of courier-imap.
If you upgrade to courier-imap-4.x with courier-authlib-0.5x then you will
have detailled debugging facilities for authentication problems. See
http://www.courier-mta.org/authlib/...authdebug.html

If you wish to stick with your old version, then you'll have to turn on
query logging on your mysql server so you can see what authdaemond is
sending and the responses it's getting back.

Brian.

----
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

brian_candler | Sun, 18 May 2008 00:24:00 GMT |

Email Servers Technologies Hot Answers

Email Servers Technologies New questions

Email Servers Technologies Related Categories