Gor ony writes:

What I can't piece together is how to debug the break between authlib saying  "Valid user" and "exec(imap/pop3) Failed".
Thanks,

Find the pid of the couriertcpd pid that's listening on the imap port, you seem to be trying imap-ssl, so that will be port 993:

# /sbin/fuser -n tcp 993
993/tcp:               803

So that's PID 803, in my case. Attach strace to that process:

# strace -f -o /tmp/strace.log -s 256 -p 803
Process 803 attached

The attempt to make a connection. After it fails, you can kill strace with CTRL-C.

The log file will be a little bit large, you can grep it for clues:

]# fgrep execve /tmp/strace.log
336 execve("/usr/lib/courier-imap/bin/couriertls", ["/usr/lib/courier- imap/bin/couriertls", "-server", "-tcpd", "/usr/lib/courier- imap/sbin/imaplogin", "/usr/lib/courier-imap/bin/imapd", "Maildir"], [/* 58 vars */]) = 0 337 execve("/usr/lib/courier-imap/sbin/imaplogin", ["/usr/lib/courier- imap/sbin/imaplogin", "/usr/lib/courier-imap/bin/imapd", "Maildir"], [/* 59 vars */]) = 0 337 execve("/usr/lib/courier-imap/bin/imapd", ["/usr/lib/courier- imap/bin/imapd", "Maildir"], [/* 63 vars */]) = 0 343 execve("/usr/libexec/gam_server", ["/usr/libexec/gam_server"], [/* 66 vars */] <unfinished …>

This is how it would look like for a successful login.

Do you have SELinux turned on? If it's on, try turning it off.

Attachment: pgp8rr0mA4hW1.pgp
Description: PGP signature

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to