LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-30-2002, 11:33 AM   #1
3brothers
LQ Newbie
 
Registered: Sep 2002
Posts: 2

Rep: Reputation: 0
xinetd and ipop3 listening only on loopback


running RH7.2, installed IMAP from the RPM, but it is only listening on the loopback interface, not the ethernet interface. i noticed people mentioning that redhat required you to put the IP address of the interface in the local-names file before sendmail would listen on other interfaces. is there something like this i am missing?

RH's web site is worse than useless, and asking questions generates less than useful answers . . .
 
Old 09-30-2002, 02:34 PM   #2
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
Look at the file in /etc/xinetd.d/imap maybe it is configured there
also if you want to use sendmail with RH7.2 you need to dnl a line fron the config file of sendmail

So vi /etc/mail/sendmail.mc

and put dnl before the line
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

It's default is only listening on 127.0.0.1

If you have done that, rewrite the sendmail file with the following command
m4 /etc/mail/sendmail.mc > /etc/sendmail.cf
if this is not working install the rpm sendmail.cf or -cf i do not know the exact name of the package.

restart the sendmail server
service sendmail restart

If you want a certain fomain name sendmail accept and send mail for use /etc/mail/local_host_names
and put in a line like
mydomain.com

To use mail relay for your domain ad a line to /etc/mail/access
like 192.168.0 RELAY

in the file /etc/alias you can setup aliases for users

Hope this helps.
 
Old 09-30-2002, 02:57 PM   #3
3brothers
LQ Newbie
 
Registered: Sep 2002
Posts: 2

Original Poster
Rep: Reputation: 0
the imap file only controls the imap applicaiton, this is the ipop3 application. the /etc/xinetd.d/ipop3 file contains:

service pop3
{
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
disable = no
}
the server is at that address, and answers when you connect over the loopback interface. i get ICMP reset when i connect over the ethernet interface . . . .
 
Old 10-13-2003, 05:17 PM   #4
Neify
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
Doubtless 3Brothers either found his answer or moved on to something else. But for anyone who has the same problem I am postiing the solution I found

The file /etc/xinetd.d/ipop3 should contain a "bind" statement to bind it to the IP address of the computer.

service pop3
{
socket_type = stream
wait = no
user = root
bind = ip.add.re.ss
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
disable = no
}

where ip.add.re.ss is the IP address of the Netwrok card that the service is to listen on, the default if not specified is the loopback 127.0.0.1. Adding the bind command will set that service to listen on that network interface. But there is an additional step if you want to access that POP mail from a client on a different computer.

If so you must allow that other computer to access the local Xinetd.d services. To do so add a line similar to the one below to the ./etc/hosts.allow file

IPOP3:ad.add.re.ss:ALLOW

where ad.add.re.ss is the IP address of the computer you are running the POP client on (to which you want the mail to be downloaded to). That statement should allow access for that computer to just the IPOP3 service, i fyou wish to have access to other Xinetd services you might specify

ALL:ad.add.re.ss:ALLOW
 
  


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
ipop3 ask about Password Micro-X Linux - Networking 0 03-20-2005 12:27 AM
How Can I tell if ipop3 is on? israel Linux - Software 3 09-12-2004 12:06 AM
Sendmail and iPop3 JUGGY Linux - Newbie 5 09-06-2004 11:30 AM
ipop3 problems mmc Fedora 2 03-14-2004 04:10 PM
Xinetd/ipop3 slow?? nnex Linux - General 2 05-07-2002 06:53 PM


All times are GMT -5. The time now is 04:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration