I am still unable to login to the pop3 server using the credentials of the
qmail user contained in the "aaron31.ldif" file attached. I have loaded the
file into the ldap server and I can send emails to the user's "Maildir/new"
directory.
As I have been advised by Neil Sequeira, I would like to increase the pop3
logging. 
How do I increase the log level in pop3. Here are the contents of my pop3d
run file.

[root@development root]# cat /var/qmail/supervise/qmail-pop3d/run
#!/bin/sh
exec /usr/local/bin/softlimit -m 6000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
virtual2.arril.net /var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d
Maildir 2>&1
[root@development root]#


I had tried setting the log level as follows without success.
#!/bin/sh
exec /usr/bin/env - POP3_LOGLEVEL=4 LOGLEVEL=3 DEBUGLEVEL=3
/usr/local/bin/softlimit -m 6000000 \
/usr/local/bin/tcpserver -v -R -H -l 0 0 110 /var/qmail/bin/qmail-popup \
virtual2.arril.net /var/qmail/bin/auth_pop /var/qmail/bin/qmail-pop3d
Maildir 2>&1


When I try either of the scripts above I still get the same dynamic output
in the /var/log/qmail/pop3d/current reflecting my login conversation by
telneting to port 110.

# tail -f -n 200 /var/log/qmail/pop3d/current 

@400000003e2f9608399fabbc tcpserver: status: 0/40
@400000003e2f96131b3f70e4 tcpserver: status: 0/40
@400000003e2f97dd28f22b8c tcpserver: status: 1/40
@400000003e2f97dd2912c34c tcpserver: pid 4201 from 127.0.0.1
@400000003e2f97dd29148c54 tcpserver: ok 4201 0:127.0.0.1:110
:127.0.0.1::1129
@400000003e2f97f7381e43ac tcpserver: end 4201 status 256
@400000003e2f97f7381e66d4 tcpserver: status: 0/40
@400000003e2f98fd25f95a04 tcpserver: status: 0/40
@400000003e2f991907389454 tcpserver: status: 1/40
@400000003e2f99190759205c tcpserver: pid 4248 from 127.0.0.1
@400000003e2f9919075aed4c tcpserver: ok 4248 0:127.0.0.1:110
:127.0.0.1::1131
@400000003e2f992c34b4939c tcpserver: end 4248 status 256
@400000003e2f992c34b4b6c4 tcpserver: status: 0/40


The output above was as a result of the conversation below.

[aaron@development aaron]$ telnet localhost 110
Trying 127.0.0.1...
Connected to development (127.0.0.1).
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user [EMAIL PROTECTED]
+OK 
pass aaron
-ERR user record incorrect
Connection closed by foreign host.
[aaron@development aaron]$





Allan



-----Original Message-----
From: Neil Sequeira [mailto:[EMAIL PROTECTED]] 
Sent: 21 January 2003 19:47
To: [EMAIL PROTECTED]
Subject: Re: libsasl.so.7: failed error - Now unable to login using pop3

I think your best bet is to crank up the logging using the LOGLEVEL 
environment variable and watch the logs during a pop3 session.

To generate password hashes using OpenLDAP:
[neil@dev neil]$ /usr/sbin/slappasswd
New password:
Re-enter new password:
{SSHA}6VbODXPZcobB9P/UQsBT7PTzSolOld3S
[neil@dev neil]$ /usr/sbin/slappasswd -h {CRYPT}
New password:
Re-enter new password:
{CRYPT}YUXZvSkrOByNM

You're better off reading the man page for slappasswd though.


        -neil



Attachment: aaron31.ldif
Description: Binary data

Reply via email to