Andy Smith writes:

> Although it hangs if I run it right from the beggining I have this strace 
> from the point where I enter the logon details on the telnet command line: 
>   
> --- SIGCHLD (Child exited: 20) ---
> --- SIGCHLD (Child exited: 20) ---
> syscall_416(0x14, 0xbfbfe0d4, 0xbfbfe0bc) = 0
> syscall_417(0xbfbfe170)                 = -1 (errno 4) 

All the real work occurs in the child processes. You must use the -f flag 
with strace to trace child processes. The above trace is meaningless.

!! ok, i had a look but wasnt sure which process I need to check, what is the 
process binary name?

> Actaully now I think I see the prob, in my maillog I can see its not 
> searching the for the maildir field when its authenticating me: 
>   
> authdaemond: SQL query: SELECT id, crypt, "", uid, gid, home, "", "", 
> name, "" FROM users WHERE id = 
> <URL:mailto:'[EMAIL PROTECTED]'>'[EMAIL PROTECTED]' 

This is fine. If the maildir is not provided, it defaults to $HOME/Maildir.

!! this is a problem, cos none of my users have their maildir there, all have a 
different maildir defined in the mysql DB

> authdaemon. Its very bizzare, I can see in the maillog that it is 
> intermittently search for and not searching for the maildir (here is a 
> grep): 
>   
> Oct 27 15:36:18 anita authdaemond: SQL query: SELECT id, crypt, "", uid, 
> gid, home, maildir, "", name, "" FROM users WHERE id = 
> <URL:mailto:'[EMAIL PROTECTED]'>'[EMAIL PROTECTED]'
> Oct 27 15:37:58 anita authdaemond: SQL query: SELECT id, crypt, "", uid, 
> gid, home, "", "", name, "" FROM users WHERE id = 
> <URL:mailto:'[EMAIL PROTECTED]'>'[EMAIL PROTECTED]'
> Oct 27 15:38:45 anita authdaemond: SQL query: SELECT id, crypt, "", uid, 
> gid, home, "", "", name, "" FROM users WHERE id = 
> <URL:mailto:'[EMAIL PROTECTED]'>'[EMAIL PROTECTED]'
> Oct 27 15:39:03 anita authdaemond: SQL query: SELECT id, crypt, "", uid, 
> gid, home, "", "", name, "" FROM users WHERE id = 
> <URL:mailto:'[EMAIL PROTECTED]'>'[EMAIL PROTECTED]'
> Oct 27 15:44:42 anita authdaemond: SQL query: SELECT id, crypt, "", uid, 
> gid, home, maildir, "", name, "" FROM users WHERE id = 'a,[EMAIL PROTECTED]'
> Oct 27 15:44:47 anita authdaemond: SQL query: SELECT id, crypt, "", uid, 
> gid, home, "", "", name, "" FROM users WHERE id = 'a,[EMAIL PROTECTED]'
> Oct 27 15:44:52 anita authdaemond: SQL query: SELECT id, crypt, "", uid, 
> gid, home, "", "", name, "" FROM users WHERE id = 
> <URL:mailto:'[EMAIL PROTECTED]'>'[EMAIL PROTECTED]' 

All of the above queries are identical. I see nothing that's intermittent. 

!! Look more closely, some have "" and some have maildir
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to