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.
|
 |
09-30-2002, 11:33 AM
|
#1
|
LQ Newbie
Registered: Sep 2002
Posts: 2
Rep:
|
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 . . .
|
|
|
09-30-2002, 02:34 PM
|
#2
|
Member
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132
Rep:
|
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.
|
|
|
09-30-2002, 02:57 PM
|
#3
|
LQ Newbie
Registered: Sep 2002
Posts: 2
Original Poster
Rep:
|
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 . . . .
|
|
|
10-13-2003, 05:17 PM
|
#4
|
LQ Newbie
Registered: Oct 2003
Posts: 1
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 03:35 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
|
|