imap configuration
nathan r. hruby
yellowdog-general@lists.terrasoftsolutions.com
Sat Sep 6 11:44:01 2003
On Sat, 6 Sep 2003, Sean V. Kelley wrote:
> What files need to be modified to get imap up and
> going?
/sbin/chkconfig imap on
/sbin/service xinetd restart
> It is already installed and I have added it
> to the list of enabled services. I've made sure
> imap in /etc/xinetd.d/imap is not disabled.
The above commands will do what you've already verivied so they are
optional, but handy nevertheless
> I have
> also made sure that xinet is enabled and launched
> at boot time. I have even done an nmap -sS localhost
> and netstat -a and can clearly see that imap and imaps
> ports are open and set to LISTEN. But I can not see any
> imapd running when I grep for it amongst the various
> processes running.
Err.. you wouldn't see an imapd running unless there were imap users
connected. imapd is run by xinetd only when xinetd gets a connection on
the imap ports (143, or 993 for imaps). Betcha you ran nmap from the same
machine that you;re trying to access, right?
> Nor can I actually connect to the
> server using the imap port, I always get connection
> refused.
xinetd is tcp_wrappers aware, so assuming you've done the smart thing and
put an line reading "ALL : ALL" in /etc/hosts.deny you'll need to edit
/etc/hosts.allow and add a line like "imapd : ALL". Additionally, you'd
want to check your firewall rules to make sure that port 143/tcp is open
to your clients.
> I am running postfix as my MTA using maildir
> format for mail storage. Postfix runs fine.
Good for Postfix. Are you sure that the imapd you're running knows how to
read maildir format mailboxes? IIRC, the default uw-imapd comes compiled
to read mailbox format mailboxes, you'll probably need to recompile.
> I have
> a clean install of YDL 3.0. What gives? Am I missing
> something?
Er.. one obvious question: Have you looked in /var/log/maillog and
/var/log/messages to see if there are any error messages? These palces
would contain valubale information to your plight and would help us help
you a bunch ;-)
-n
--
-------------------------------------------
nathan hruby <nhruby@uga.edu>
uga enterprise information technology services
production systems support
metaphysically wrinkle-free
-------------------------------------------