Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-24-2006, 06:17 PM
|
#1
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Rep:
|
Squirrelmail and Imap
I installed Squirrelmail so I can have people check their email via web. When I run the config test it says it's unable to connect to the imap server, doesn't even give a specific error. Does slackware use courier by default? How do I know if it's running? When I run nmap on the machine it shows port 143 (imap) open, so that should mean something is answering on that port. I installed dovecot and as suspected, it can't start because something is already running on that port. Looking through webmin I can't find anything regarding to imap settings either really. My inetd.conf has the following pertinent line:
# Internet Message Access Protocol (IMAP) server:
imap2 stream tcp nowait root /usr/sbin/tcpd imapd
Any ideas or links to helpful information would be great, thanks guys!
|
|
|
04-24-2006, 06:21 PM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
try
netstat -p --listen | grep imap
and this should tell you what is listening on the imap port, for example, here is what it gives me
tcp 0 0 *:imaps *:* LISTEN 2010/dovecot
tcp 0 0 *:imap *:* LISTEN 2010/dovecot
|
|
|
04-24-2006, 06:26 PM
|
#3
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by billymayday
try
netstat -p --listen | grep imap
and this should tell you what is listening on the imap port, for example, here is what it gives me
tcp 0 0 *:imaps *:* LISTEN 2010/dovecot
tcp 0 0 *:imap *:* LISTEN 2010/dovecot
|
tcp 0 0 *:imap *:* LISTEN 170/inetd
I knew it was inetd but this isn't a choice on the squirrelmail config, is that the problem? Or is inetd called something else, like courier? I really wasn't able to find much useful through google.
|
|
|
04-24-2006, 07:01 PM
|
#4
|
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141
Rep: 
|
That's OK - inetd is running your imap daemon. If you run grep '^imap' /etc/inetd.conf what do you get?
|
|
|
04-24-2006, 08:12 PM
|
#5
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
Quote:
Originally Posted by gilead
That's OK - inetd is running your imap daemon. If you run grep '^imap' /etc/inetd.conf what do you get?
|
I posted it in the orignial post  Here it is again though
root@Server:/home/rat# grep '^imap' /etc/inetd.conf
imap2 stream tcp nowait root /usr/sbin/tcpd imapd
|
|
|
04-24-2006, 08:13 PM
|
#6
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
Is there something else you can reccommend I use? Then I'll just disable pop/imap from inetd like it comes standard.
|
|
|
04-24-2006, 09:45 PM
|
#7
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Since inetd is setup to run the IMAP server when an IMAP request comes in, look in the system log or the mail log to see if Courier-IMAP is generating any errors when it tries to start. Try searching on running Courier-IMAP via inetd and see if you find any hits. Read the Courier-IMAP doc to see if it discusses running with inetd.
I'm not sure why you would want the IMAP server to start via inetd but it's your box.
Good luck!
Peace...
|
|
|
04-24-2006, 10:44 PM
|
#8
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
I really don't know what I want. Squirrelmail says it can't connect to the imap server. Whether I use inetd or something else I don't really care as long as I can get some kind of imap service going so webmail works 
|
|
|
04-24-2006, 11:01 PM
|
#9
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Ok, then I would disable IMAP in inetd's config file (inetd.conf I believe) and start Courier-IMAP manually. There should be a "imaprc" or "imapdrc" file you can use to fire up the IMAP server.
Give that a try and report back here. By the way, what version of Courier-IMAP are you running?
Peace...
|
|
|
04-24-2006, 11:33 PM
|
#10
|
Member
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80
Original Poster
Rep:
|
I did a custom install, must have not included it because slocate imaprc returns nothing. That's ok though I can install courier now from source and that should be easier. Should I use pop from inetd? That's what I've been using and mail has worked fine thus far. Unless you can recommend some better reason not to use inetd 
|
|
|
04-25-2006, 12:10 AM
|
#11
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Try locating imapd.rc.
Peace...
|
|
|
All times are GMT -5. The time now is 03:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|