Newbie did FAQ 4.22 but still not receiving mail.

Newbie did FAQ 4.22 but still not receiving mail.

am 07.11.2007 01:36:30 von workingstiff19

Thanks to your FAQ (item 4.22) I found this in the sendmail.mc (macro
config) file:

dnl # The following causes sendmail to only listen on the IPv4
loopback address
dnl # 127.0.0.1 and not on any other network devices. Remove the
loopback
dnl # address restriction to accept email from the internet or
intranet.
dnl #
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl


....so I commented it out by putting "dnl #" in front of that line, and
then I did: make -C /etc/mail --and verified that the sendmail.cf
file was regenerated, but this computer still won't receive mail from
the Intranet. Also put in a similar line with the computer's IP
address instead of 127.0.0.1 to no avail. This computer *does* send
mail out just fine.

The networking guys swear the mail is getting to the computer and the
computer's not accepting it.

Can't connect to its port 25 from another computer:

C:\temp>telnet aserver 25
Connecting To aserver...Could not open connection to the host, on port
25: Connect failed


I TAKE IT THAT "dnl #" BEGINS A COMMENT IN sendmail.mc --CORRECT?
What is "dnl "? I notice it at the *end* of some lines that are *not*
commented out.


ABOUT THIS COMPUTER:

# cat /etc/redhat-release
Red Hat Enterprise Linux WS release 4 (Nahant Update 5)


# uname -a
Linux aserver 2.6.9-55.EL #1 Fri Apr 20 16:35:59 EDT 2007 i686 i686
i386 GNU/Linux


# rpm -qa | grep mail
fetchmail-6.2.5-6.el4.5
sendmail-8.13.1-3.2.el4
mailx-8.1.1-37.EL4
sendmail-cf-8.13.1-3.2.el4
mailcap-2.1.17-1
procmail-3.22-14

Thanks you guys and gals.

Re: Newbie did FAQ 4.22 but still not receiving mail.

am 07.11.2007 13:58:27 von Kees Theunissen

workingstiff19@hotmail.com wrote:

> The networking guys swear the mail is getting to the computer and the
> computer's not accepting it.
>
> Can't connect to its port 25 from another computer:
>
> C:\temp>telnet aserver 25
> Connecting To aserver...Could not open connection to the host, on port
> 25: Connect failed

That's probably due to a firewall running on the server.

> I TAKE IT THAT "dnl #" BEGINS A COMMENT IN sendmail.mc --CORRECT?
> What is "dnl "? I notice it at the *end* of some lines that are *not*
> commented out.

"dnl" starts a comment. It is a built-in m4 macro "delete to new line"
that suppresses the rest of the line.
The m4 macro processor copies all non-macro input text to the output
including newlines. The "dnl" macro is commonly used at the end of lines
to suppress the newlines.



Regards,

Kees.

--
Kees Theunissen.