Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
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.
|
 |
07-26-2003, 05:02 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Distribution: RedHat 9
Posts: 4
Rep:
|
Sendmail(SMTP) and access to it over the network
I have recently started my Linux experiences with Redhat 9.
I have now got the XP machine getting a net connection through the LinuxServer, and have activated ipop3, and can pull email off an account on the server.
I have not setup DNS quite yet, and am using the IP address of the NIC connected to the dsl modem. I'm not sure that it should work that way, but it does.
How do I get the server to accept SMTP sends from accross my network?
Thanks!
|
|
|
07-27-2003, 06:14 AM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
2 things:
1) Make sure you don't have any firewall rules blocking port 25:
iptables -nL
2) Make sure that sendmail is started and not just listening on the loopback:
netstat -nlp
|
|
|
08-05-2003, 09:50 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Distribution: SuSE8.0+, RedHat
Posts: 25
Rep:
|
how do I make so that it is "not just listening on the loopback"?
|
|
|
08-06-2003, 12:29 PM
|
#4
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Edit your sendmail.mc file and "dnl" the line that tells it only to listen on the loopback. It should eb the only line with "127.0.0.1". Then rebuild the sendmail.cf file. see the top of sendmail.mc for instructions. Then restart sendmail.
|
|
|
08-06-2003, 01:26 PM
|
#5
|
LQ Newbie
Registered: Jul 2003
Distribution: SuSE8.0+, RedHat
Posts: 25
Rep:
|
tried that and still no luck
I've tried these combinations also:
#O DaemonPortOptions=Port=smtp, Addr=192.168.1.5, Name=MTA
#O DaemonPortOptions=Port=smtp, Addr=0.0.0.0, Name=MTA
O DaemonPortOptions=Port=smtp, Name=MTA
when I netstat, I still get
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
Seems from most of the postings I've seen, what you mentioned is what worked for most people...for me, it just won't work...any other ideas?
thanks
|
|
|
08-06-2003, 01:54 PM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
Don't use a # in the file use "dnl" instead. Just comment out all those lines. Then convert the mc file to the cf file and restart sendmail.
|
|
|
08-07-2003, 01:54 PM
|
#7
|
LQ Newbie
Registered: Jul 2003
Distribution: SuSE8.0+, RedHat
Posts: 25
Rep:
|
I don't use an .mc file, I edit sendmail.cf directly.
It's really odd, it just won't listen on any other interface except 127.0.0.1
Anyways, thanks for the help.
|
|
|
All times are GMT -5. The time now is 05:15 AM.
|
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
|
|