Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
|
|
06-11-2003, 06:27 PM
|
#1
|
LQ Newbie
Registered: Jun 2003
Location: Memphis, TN
Distribution: RedHat 8.0
Posts: 4
Rep:
|
imap and pop3 won't start
I am running RedHat 8.0, and I'm trying to set up SquirrelMail. I've installed all of the mail-related packages, but when I try to start either the POP3 or IMAP services, I am informed that I need to enable xinetd in order to use any of them, and the services won't start.
Problem is, xinetd is already running happily.
I can't seem to find any glaring configuration errors. Any suggestions?
v/r
Colby
|
|
|
06-11-2003, 06:39 PM
|
#2
|
Member
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371
Rep:
|
POP3 and IMAP both require setup information to be installed into the /etc/xinetd.d directory.
If they are not there, add them. If they are there, post them.
my ipop3 entry looks like this:
service pop3
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
disable = yes
}
Last edited by GAVollink; 06-11-2003 at 06:41 PM.
|
|
|
06-15-2003, 05:38 AM
|
#3
|
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Rep:
|
rather than starting a new thread i figured i'd just ask my question here since i found this thread:
imap runs on port 143 by default right? how do i confirm this once it is running?
|
|
|
06-15-2003, 05:44 AM
|
#4
|
LQ Newbie
Registered: Jun 2003
Location: Omaha, NE
Distribution: Fedora Core 2
Posts: 21
Rep:
|
Yeah, IMAP runs on port 143. Real quick way to check is to open up a terminal and do 'telnet <server address here> 143'. You should get a welcome message if the server is accepting connections.
|
|
|
06-15-2003, 06:08 AM
|
#5
|
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280
Rep:
|
thanks, got it.
|
|
|
06-15-2003, 12:35 PM
|
#6
|
Member
Registered: Jun 2003
Posts: 132
Rep:
|
You can see all internet activity on the system and the programs that are using them by running
netstat --inet -anp
Look for the lines reading LISTEN to see which servers you are running.
|
|
|
06-16-2003, 07:23 AM
|
#7
|
LQ Newbie
Registered: Jun 2003
Location: Memphis, TN
Distribution: RedHat 8.0
Posts: 4
Original Poster
Rep:
|
GAVollink -
Sorry it took so long to reply. Here's the contents of the files in the /etc/xinetd.d directory:
ipop3:
# default: off
# description: The POP3 service allows remote users to access their mail \
# using an POP3 client such as Netscape Communicator, mutt, \
# or fetchmail.
service pop3
{
disable = yes
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += HOST DURATION
log_on_failure += HOST
}
imap:
# default: off
# description: The IMAP service allows remote users to access their mail using \
# an IMAP client such as Mutt, Pine, fetchmail, or Netscape \
# Communicator.
service imap
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += HOST DURATION
log_on_failure += HOST
}
There are also ipop2 and imaps files that look similar to these.
v/r
cmritter
|
|
|
06-20-2003, 01:49 PM
|
#8
|
Member
Registered: Apr 2002
Location: Bronx, NY
Distribution: Ubuntu
Posts: 371
Rep:
|
Actually, I can't say how embarrassed I am for mis-posting.
Funny - I run pop just fine - but not from the machine I posted it from!
Anyway - the thing that's still wrong is your "disable=yes" - which was plain wrong. On same machine - here is the imap entry (the file is called "imap") and it really does work...
service imap
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/imapd
log_on_success += DURATION USERID
log_on_failure += USERID
disable = no
}
>edit> Also check Qzukk 's post above to see if the services are listening. And remember to "HUP" the xinetd process.
Last edited by GAVollink; 06-20-2003 at 02:00 PM.
|
|
|
06-20-2003, 05:52 PM
|
#9
|
LQ Newbie
Registered: Jun 2003
Location: Memphis, TN
Distribution: RedHat 8.0
Posts: 4
Original Poster
Rep:
|
GAVollink,
What do you mean by "HUP" the xinetd process?
v/r
cmritter
|
|
|
06-20-2003, 06:16 PM
|
#10
|
LQ Newbie
Registered: Jun 2003
Location: Memphis, TN
Distribution: RedHat 8.0
Posts: 4
Original Poster
Rep:
|
GAVollink,
By the way, it's working now. I guess my problem was that I didn't know how to see if the service was running properly. Thanks to Qzukk for the netstat command.
v/r
cmritter
|
|
|
All times are GMT -5. The time now is 08:34 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
|
|