LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2006, 06:17 PM   #1
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Rep: Reputation: 15
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!
 
Old 04-24-2006, 06:21 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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
 
Old 04-24-2006, 06:26 PM   #3
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
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.
 
Old 04-24-2006, 07:01 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
That's OK - inetd is running your imap daemon. If you run grep '^imap' /etc/inetd.conf what do you get?
 
Old 04-24-2006, 08:12 PM   #5
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 04-24-2006, 08:13 PM   #6
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
Is there something else you can reccommend I use? Then I'll just disable pop/imap from inetd like it comes standard.
 
Old 04-24-2006, 09:45 PM   #7
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
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...
 
Old 04-24-2006, 10:44 PM   #8
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 04-24-2006, 11:01 PM   #9
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
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...
 
Old 04-24-2006, 11:33 PM   #10
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 04-25-2006, 12:10 AM   #11
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Try locating imapd.rc.

Peace...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squirrelmail pop/imap? issues branden_burger Linux - Networking 0 12-08-2005 05:23 AM
postfix -- imap -- squirrelmail problem di11rod Linux - Software 6 01-22-2004 07:24 AM
SquirrelMail SendMail IMAP RedHat9 ongxanga Linux - Networking 7 11-07-2003 09:35 AM
How to get imap running with squirrelmail don_dimo Linux - Software 1 10-30-2003 09:12 PM
Question about Postfix, IMAP and Squirrelmail vdi_nenna Linux - Software 0 02-14-2003 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration