Setting up IMAPD on Leopard client, need suggestions re: launchd & firewall

Chris Devers chdevers at mac.com
Wed Dec 5 14:04:40 PST 2007


Out of curiosity, would anyone have any pointers on getting a basic IMAP server running on Leopard client? 

I had UW-IMAP working fine on Tiger client, but bringing my old xinetd config forward to Leopard isn't working (nor do I expect it to, with launchd now), and the launchd scripts I've tried must be broken, because /var/log/system.log is filling up with garbage like:

    Dec  5 16:54:11 macgarnicle imapd[4553]: Unexpected client disconnect, while reading line user=??? host=UNKNOWN
    Dec  5 16:54:14 macgarnicle postfix/postfix-script[4556]: fatal: the Postfix mail system is already running

...with these lines or close variants repeating every 10 seconds. 

Complicating things is the new firewall. Incoming port 25 to Postfix seems to work fine right now with it off, but breaks if I turn it on, and I can't tell if my inability to connect to IMAP is a firewall issue or a general access-to-the-daemon issue. If I try to connect a rudimentary IMAP/IMAPS session , I just get:

     $ telnet localhost 993
     Trying ::1...
     telnet: connect to address ::1: Connection refused
     Trying ::1...
     telnet: connect to address ::1: Connection refused
     Trying 127.0.0.1...
     telnet: connect to address 127.0.0.1: Connection refused
    telnet: Unable to connect to remote host
    $

And nothing seems to make it to /var/log/mail.log (or /var/log/*log for that matter) when I do this. 

I could post details of my config files, log files, etc, but for the moment a pointer to good starter reference material would probably be helpful here. I've been poking around with various Google searches, but the most I can find is blog posts saying things like this:

    I'm running the uw imapd via launchd (xinetd functionality is replaced
    with launchd in Leopard). imap works, but not if I start the firewall. I've
    posted a message on the Leopard discussion forum to see if anyone
    can help.

http://marxy.org/2007/10/leopard-great-but-not-totally-without.html#c14306619776221796

But just verifying that the daemon works would be an improvement over what I've managed thus far. 

Thanks.


-- 
Chris Devers
apologizing for jumping in without the customary 
"lurk first, then ask small, directed questions" courtesy


More information about the MacOSX-admin mailing list