Peter Stuge wrote:

Find the PID of your POP3 and IMAP tcpserver and run this for each:

strace -fFp PID -e read -s 256 2>&1|grep 'read.3[^\]*\\0'

Then try logging in via the two protocols. You should get one line of
output from strace after giving the password. Let's see them! :)

//Peter

Thanks for the information about the checkpassword interface.

This is the imap login:

[pid 12273] read(3, "zackynet-jztest\0testpass\0Fri Apr 30 10:51:19 2004\n\0", 513) = 51

and the pop3 login:

[pid 12441] read(3, "zackynet-jztest\0testpass\0<[EMAIL PROTECTED]>\0", 513) = 63

I see the timestamps are completely different and there is a newline in the bincimap timestamp. I know the newline is not the problem because I modified bincimap authenticate.cc to remove the newline and replace it with a \0:

[pid 25442] read(3, "zackynet-jztest\0testpass\0Fri Apr 30 12:26:28 2004\0", 513) = 50

Cheers,
Joe Zacky




Reply via email to