Hi!
Thanks for the process, tucked that back in the troubleshooting book.
It would appear that since the RPM installed itself as owner bin.bin with
rwxrwx--- as permissions for /usr/lib/courier-imap and
/usr/lib/courier-imap/bin the user postfix was calling with (vmail) wasn't able
to fork the next process out. Adding world read/execute on the directories and
the executables in bin fixed it.
From: mr...@courier-mta.com
To: courier-users@lists.sourceforge.net
Date: Mon, 25 Mar 2013 23:59:03 -0400
Subject: Re: [courier-users] Strange issue with authentication/mail pickup
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.
------------------------------------------------------------------------------
Own the Future-Intel® 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
------------------------------------------------------------------------------
Own the Future-Intel® 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