Hi all, I have newbie questions on two subjects:
1. xinetd
I can't remove the file /var/lock/subsys/xinetd, either via 'rm /var/lock/subsys/xinetd', the init.d/xinetd script, or Windows Explorer. The permissions on it say that it's writable by SYSTEM only (not Admins). Am I screwed?
(I didn't create this file; the xinetd script must have done that, since it's launched by init, a service that is assigned SYSTEM permissions by default.)
Oddly enough, even though stop() fails, start() seems to be fine...
$ /etc/rc.d/init.d/xinetd restart Stopping xinetd: [FAILED] rm: cannot unlink `/var/lock/subsys/xinetd': Permission denied Starting xinetd: [ OK ] touch: creating `/var/lock/subsys/xinetd': Permission denied
However, I don't see a process called 'xinetd' in taskmgr. Anyway...what should I do now?
---
2. uw-imapd
My goal is to get an IMAP server running, and it seems my only option today is uw-imapd. The cygwin package for that is installed, and I created an 'imap' file under xinetd.d with the following:
# default: off
# description: The IMAP service allows remote users to access their mail using \
# an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
# Communicator.
service imap
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
disable = no
}
Aside: how does this know what port to work with?
I can get xinetd running again by restarting the init service (in Windows...I imagine this is because it can finally unlink and then relink the file as SYSTEM). However, when I try to connect to localhost (no SSL) using Thunderbird, it says that the connection was refused, without giving me a chance to login. I've done a ton of searching all day to get where I am, but now I'm at a dead end. Any ideas?
Does this have anything to do with the old "add 'Everyone' to passwd" hack? (A more recent post warned us NOT to add this to passwd.)
Another thing...how easy is it to configure UW-IMAP? From what I've read, it seems that *everything* is configured in the source or Makefile (no conf files, etc.). /usr/share/doc/Cygwin/uw-imap-2002e.README says the author modified it from what's on http://sourceforge.net/projects/uw-imap-cygwin/, so what exactly should I be modifying? The canonical homepage just points to the original UW-IMAP site. I looked for but didn't find any personal website of Abraham Backus.
Please let me know if any further info is needed (cygcheck stuff, etc.). Thanks in advance!
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/