Try to add DAEMON_OPTIONS(`Port=smtp,Addr=x.x.x.x(ip of your smtp server), Name=MTA')

 

Or directly modify sendmail.cf, look for stmp deamon section then change 127.0.0.1 to your ip address

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED]
Sent: Saturday, February 09, 2002 9:24 AM
To: [EMAIL PROTECTED]
Subject: Please help with sendmail configuration

 

I am having a problem with inbound SMTP connections.  First of all, I am running a brand new install of Redhat 7.2 and I have made sure that sendmail is running.  I am trying to set the box up to receive incoming mail (within my local network), i.e. to [EMAIL PROTECTED]  Outgoing mail works fine. However when I issue the following command

telnet mymachine 25

I get a response that the connection to mymachine.domain is refused.  However if I issue this command

telnet localhost 25

it works fine.

Also, when I issue a netstat -a, the line showing information about SMTP shows

tcp        0      0 localhost.localdom:smtp *:*                     LISTEN

Is this correct or should it show the real machine name and domain?  How can I get the machine to accept connections to the real name as opposed to using localhost?  I'm assuming that I have to modify some of the files in the /etc/mail directory but not sure which files or what to add...

Any help would be appreciated...

Cory

Reply via email to