Courier-imap login woes
I just finished installing Courier-IMAP from courier-imap-2.1.2-1mdk.i586.rpm. (I'm on a Mandrake 9.2 distro.) I can't use it.
When I telnet localhost 143:
o login user password
o OK LOGIN Ok
o select INBOX
* BYE [ALERT] Fatal error: Permission denied
I have setup the /home/user/INBOX maildirs with maildirmake++
/home/user/INBOX is a maildir with cur/, new/, and tmp/ directories. All are user/user owned with 0755 permissions.
I'm using courier-imap with Postfix; I'm not using it with MySQL (yet). I *think* user authentication is done with PAM (there are no files for ldap on my system).
Please help! I'm completely stumped (after 2 days of trying). I don't even know where to find courier logs. (Nothing's being added to messages or syslog, and there's not unique directory in /var/log...)
Thanks!
----------------------- ADDITION --------------------
Below is the output of strace:
24930 --- SIGSTOP (Stopped (signal)) @ 0 (0) ---
24930 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
24930 open("/etc/ld.so.cache", O_RDONLY) = 3
24930 open("/lib/libc.so.6", O_RDONLY) = 3
24930 open("/dev/null", O_RDWR) = 3
24936 --- SIGSTOP (Stopped (signal)) @ 0 (0) ---
24930 --- SIGCHLD (Child exited) @ 0 (0) ---
24930 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
24930 open("/etc/ld.so.cache", O_RDONLY) = 4
24930 open("/lib/libc.so.6", O_RDONLY) = 4
24930 open("/etc/nsswitch.conf", O_RDONLY) = 3
24930 open("/etc/ld.so.cache", O_RDONLY) = 3
24930 open("/lib/libnss_files.so.2", O_RDONLY) = 3
24930 open("/etc/passwd", O_RDONLY) = 3
24930 open("/etc/group", O_RDONLY) = 3
24930 open("/etc/ld.so.cache", O_RDONLY) = 3
24930 open("/lib/libnss_nisplus.so.2", O_RDONLY) = 3
24930 open("/lib/libnsl.so.1", O_RDONLY) = 3
24930 open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or directory)
24930 open("/etc/ld.so.cache", O_RDONLY) = 3
24930 open("/lib/libnss_nis.so.2", O_RDONLY) = 3
24930 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
24930 open("/etc/ld.so.cache", O_RDONLY) = 3
24930 open("/usr/lib/libfam.so.0", O_RDONLY) = 3
24930 open("/usr/lib/libgdbm.so.2", O_RDONLY) = 3
24930 open("/lib/libc.so.6", O_RDONLY) = 3
24930 open("/usr/lib/libstdc++.so.5", O_RDONLY) = 3
24930 open("/lib/libm.so.6", O_RDONLY) = 3
24930 open("/lib/libgcc_s.so.1", O_RDONLY) = 3
24930 open("/dev/null", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
24930 open(".Trash/new", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
24930 open(".Trash/cur", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOENT (No such file or directory)
24930 open("./tmp", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EACCES (Permission denied)
I don't understnad this one:
- I have ~/INBOX/.Trash/* Is .Trash supposed to be outside of INBOX?
- I have ~/INBOX/tmp, with 0777 permissions. Is that the same directory quoted in strace (which is called "./tmp" and is where the permissions error is given...)
Thanks!
Last edited by lhoff; 03-03-2004 at 10:56 PM.
|