On Tue, 25 Nov 2003, Morten Grunnet Buhl wrote:
>Script started on Tue Nov 25 17:19:46 2003
>[pid 32791] close(3) = 0
>[pid 32791] geteuid(0) = 0
>[pid 32791] setgroups(1, [4326145] <unfinished ...>
>--- SIGCHLD (Child exited) ---
><... select resumed> ) = 1 (in [1 5 6])
>read(7, "", 1024) = 0
>close(7) = 0
>close(6) = 0
>if more is needed I have more where it came from.
>It look to me like bincimapd is never called?
Yes, you're right. There's something bugging the stub (yes, by that I mean
the checkpassword replacement, or auth_pop).
>One pretty important information I forgot in the last mail is that its
>all set up for virtual users.
>my mail is located in /data/maildirs where the user vmailer only has access.
>In a desperate attempt I tried running bincimapd as root:
>Security {
> jail path = "/usr/local/bin/",
> jail user = "root",
> jail group = "wheel"
>}
This doesn't really run Binc as root; the bincimap-up program already
should run as root. The jail is entered after checkpassword has been
called and authentication succeeded.
So your mail is located in /data/maildirs, okay. Could you show the full
path (including new/, tmp/ and cur/) of one user's account?
The checkpassword program needs to change to the directory directly
beneith Maildir/ (or the value of "path" in bincimap.conf). It then
changes to "path" and starts processing commands.
I would check the full strace for "chdir" commands (please bzip2 -9 the
output and post to the list if its not too large).
Andy :-)
--
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP | "It is better not to do something
http://www.bincimap.org/ | than to do it poorly."