Hi Ken.


Shame on me for failing to mention that I had verified that there were no IMAP or POP3 entries in my inetd.conf file. Still, you have a valid point. If a process was already listening on the IMAP port, the symptom would be the same. However, as far as I can tell, that's not the case.

What's interesting is that MASTER does spawn the appropriate daemon (be it IMAPD or POP3D), but when the IMAPD daemon runs, it continually chews up about 10% of the CPU (according to top). This leads me to believe that IMAPD is continually trying to perform an operation that is failing.

Is is possible that MASTER, which runs as root, is then spawning IMAPD as the cyrus user, and the OS is denying IMAPD access to the privileged IMAP port (because of the cyrus user's reduced privileges)? Just a thought.

-Mike Ellis


On Thursday, July 24, 2003, at 11:08 AM, Ken Murchison wrote:


Are there any imap or pop3 entries in [x]inetd.conf (or whatever the equivalent is on OS X)? You could also try doing:

fuser -n tcp imap

to see which processes are listening for imap connections, one of which better be master.

Michael Ellis wrote:

Hi all.
After a search of the archives, I was unable to find a similar query -- so here it goes...
I should mention that I'm a Cyrus IMAP 1.6 veteran. I have that version running on a NetBSD box, and I've had little trouble with it. But recently I've been trying to migrate mail service from that slower NetBSD box to a speedier Mac OS X 10.1.5 machine that is already hosting a few other services.
After a very painful build process (configure, make, NOT! :-), I have been able to get both Cyrus SASL 2.1.15 and Cyrus IMAP 2.1.14 to build (without errors, no less) and install on a Mac OS X 10.1.5 server I've been using.
The good news is that SASL seems to work fine, as I've tested it using the included 'testsaslauthd' and I've been able to authenticate using the 'getpwent' flavor of PLAIN. I figure this is a good thing, because IMAP needs this functionality.
So after many hours, I've built IMAP and installed it according to the documentation. All the programs are in place, and when I run 'master', it appears to try to do the right thing.
Here's what concerns me:
1) When I telnet to the IMAP server (using "telnet localhost imap"), I connect, but it NEVER talks. I've tried sending some returns, and even a "HELO" just for fun, but it remains silent. There is NO greeting whatsoever from IMAPD
2) The same thing happens with POP3D. So there appears to be some sort of systemic problem here.
3) The system log reports the following:
Jul 24 01:12:11 powermac7300 master[6332]: process started
Jul 24 01:12:11 powermac7300 lookupd[195]: _lookup_one(initgroups) failed
Jul 24 01:12:11 powermac7300 ctl_cyrusdb[6333]: recovering cyrus databases
Jul 24 01:12:55 powermac7300 ctl_cyrusdb[6333]: done recovering cyrus databases
Jul 24 01:12:55 powermac7300 master[6332]: no service 'sieve' in /etc/services, disabling sieve
Jul 24 01:12:55 powermac7300 lookupd[195]: _lookup_one(initgroups) failed
Jul 24 01:12:55 powermac7300 master[6332]: ready for work
Jul 24 01:12:55 powermac7300 ctl_cyrusdb[6344]: checkpointing cyrus databases
Jul 24 01:12:55 powermac7300 ctl_cyrusdb[6344]: DBERROR: archive /var/imap/db: cyrusdb error
Jul 24 01:12:55 powermac7300 ctl_cyrusdb[6344]: DBERROR: error archiving log file: /var/imap/db/log.0000000001
Jul 24 01:12:55 powermac7300 ctl_cyrusdb[6344]: DBERROR: archive /var/imap/db: cyrusdb error
Jul 24 01:12:55 powermac7300 ctl_cyrusdb[6344]: done checkpointing cyrus databases
I've setup the "cyrus" user and the "mail" group, and the /var/imap and /var/spool/imap directories are configure with the correct permissions.
Does anybody have any idea with IMAPD is unable to get data to my telnet session?
I'd appreciate any insight you might have.
Thanks...
-Mike Ellis
=========================
Michael F. Ellis
President
Ellis Softworks Inc.
----------
Phone: (941) 713-0361
Email: [EMAIL PROTECTED]
Web: http://www.ellissoftworks.com

-- Kenneth Murchison Oceana Matrix Ltd. Software Engineer 21 Princeton Place 716-662-8973 x26 Orchard Park, NY 14127 --PGP Public Key-- http://www.oceana.com/~ken/ksm.pgp


=========================
Michael F. Ellis
President
Ellis Softworks Inc.
----------
Phone:  (941) 713-0361
Email: [EMAIL PROTECTED]
Web: http://www.ellissoftworks.com



Reply via email to