Hi All!
I think there is a way to start XMail chrooted without use of
distribution-dependent tools (compartment, start-stop-daemon...)
After creating xmail group and xmail user, preparing chrooted jail, I've
added in each *Svr.cpp into ...ThreadProc before " for (;;)" a line:
setgid(<xmailGID>); setuid(<xmailUID>);
and tried to start XMail by command:
# chroot /chroot/xmail /var/MailRoot/bin/XMail " -Ms /var/MailRoot"
It started and seems to work! Without any tricks about privileged ports.
May be, it is worth while adding userID and groupID to work in the name
of to server.tab?
Sergey
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]