Hi,
Im intermintently having problems with courier-imap on FreeBSD 7.0,
litterally sometimes it allows successful logons and other times (mostly
actually) it throws an error. The versions I have are:
courier-authlib-base-0.61.0 Courier authentication library base
courier-authlib-mysql-0.61.0 MySQL support for the Courier authentication
library
courier-imap-4.4.1,2 IMAP (and POP3) server that provides access to Maildir mail
The error seen from telneting to IMAP is:
* BYE [ALERT] Fatal error: Maildir: No such file or directory
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)
As mentioned sometimes it works fine, I get the same behaviour from sqwebmail
(sometimes it works other times it complains the maildir doesnt exist or has
ownership problems).
The Maildir is on a locally mounted UFS2 disk, I see no problems accessing it
from the shell or with TPOP3 daemon, or over NFS from another system running a
similar but slightly older install of sqwebmail. Nor do I see any OS errors,
all of which leads me to believe there is no issue with the filesystem or OS. I
am confused!
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 = '[EMAIL PROTECTED]'
So then I think its expecting a dir called Maildir in my homedir. But that is
depsite having the Maildir field defined in authmyslrc for the 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 = '[EMAIL PROTECTED]'
Oct 27 15:37:58 anita authdaemond: SQL query: SELECT id, crypt, "", uid, gid,
home, "", "", name, "" FROM users WHERE id = '[EMAIL PROTECTED]'
Oct 27 15:38:45 anita authdaemond: SQL query: SELECT id, crypt, "", uid, gid,
home, "", "", name, "" FROM users WHERE id = '[EMAIL PROTECTED]'
Oct 27 15:39:03 anita authdaemond: SQL query: SELECT id, crypt, "", uid, gid,
home, "", "", name, "" FROM users WHERE id = '[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 = '[EMAIL PROTECTED]'
If anyone can suggest any possible cause of this behaviour or any further
things I should do to troubleshoot that would be great,
thanks in advance, Andy.
-------------------------------------------------------------------------
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