LinuxQuestions.org
Visit Jeremy's Blog.
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 05-04-2002, 11:21 AM   #1
hubergeek
Member
 
Registered: Mar 2002
Location: Hackensack, NJ.
Distribution: RedHat 7.0
Posts: 75

Rep: Reputation: 15
Lightbulb The Sendmail external connection problem solved


It seems like the default sendmail behaviour has been changed to only accept connections from localhost. This means that mail sent from other machines will bounce, and if you dig deep enough in the mail logs the reason given is "connection refused". (Rant: This is rather idiotic, if I install sendmail on my box it means that I really want to be able to receive mail from the world! Since inetd has been replaced by xinetd, and there are some firewalls turned on, it took me forever to figure out that a changed sendmail.mc was the reason.)

Fix: In /etc/mail/sendmail.mc, change the line

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

to

dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

and run

m4 /etc/mail/sendmail.mc > /etc/sendmail.cf

Then run /etc/rc.d/init.d/sendmail restart.

It worked like a charm.


(Provided by Par Kurlberg)
 
Old 05-10-2002, 01:15 AM   #2
Token
LQ Newbie
 
Registered: May 2002
Location: Atlanta
Distribution: RH 7.2
Posts: 20

Rep: Reputation: 0
This can also be enabled by setting an option in the /etc/sysconfig/sendmail file

Daemon=yes

(Note* this is for a RH 7.2 system)
 
Old 06-26-2002, 02:54 AM   #3
POWERBOOKM
LQ Newbie
 
Registered: Jun 2001
Location: Southern California
Distribution: Red Hat Linux 7.1
Posts: 11

Rep: Reputation: 0
I just wanna post a reply to say that I used this information to bring my mail server back on line. Thanks for the great notes guys!
 
  


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
Solved Problem Second GCC-Pass(or gettext sanity check problem) hoes Linux From Scratch 0 09-04-2005 10:20 AM
Sendmail - problem receiving external mail manudath Linux - Wireless Networking 7 12-21-2004 01:14 PM
'PEAR.php' (include_path=''.:/usr/local/lib/php'') SOLVED SOLVED adengua Linux - Software 0 04-02-2004 03:34 AM
problem some what solved ritturaj Linux - Newbie 1 08-31-2003 11:57 AM
VI problem, never been solved phoeniXflame Linux - Software 10 07-28-2003 06:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:04 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
Open Source Consulting | Domain Registration