mail is not reaching.

Andrew Mathews andrew_mathews
Mon May 17 11:47:43 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Swapana Ghosh wrote:
| Hi
|
|     I have the server where redhat linux8.0 is
| installed. Sendmail is already installed. I have
| started the sendmail daemon. My server domain is
| alredy registered.
|     The problem is when i am sending mail from outside
| to my userid at this server, then mail is not
| reaching. Server /var/log/maillog is not showing
| anything.
|
| What is the problem ? where i am making mistake? Can
| anyone guide me...
|
| Thanks in advance.
| -Swapna
|

Several thing are possible. First, when you do an nslookup on your
domain name does it return the same ip address that you have on your
machine? If so, then can you ping it from the outside? If not, you have
DNS issues that need to be fixed before the rest of this is relevant.
Second, is sendmail listening for port 25 smtp connections on the
external interface? Do a "netstat -an|grep LISTEN" look at port 25 and
see if it's listening on 127.0.0.1 or 0.0.0.0. If it's the loopback
interface at 127.0.0.1, you're never going to receive mail until you
change it. You can edit your /etc/mail/sendmail.mc and look for
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Change this to
DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
then do "m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf" to rebuild a
new sendmail config file. Then restart sendmail and check the results as
above. Third, you need your FQDN and it's variants in your
/etc/mail/local-host-names, and if you're sending from this machine your
domain name needs to be in your /etc/mail/relay-domains, e.g.
mail.blah.com, www.blah.com, ftp.blah.com in /etc/mail/local-host-names,
and blah.com in /etc/mail/relay-domains.
- --
Andrew Mathews
- ---------------------------------------------------------------------
~  7:55am  up 11 days, 13:25, 13 users,  load average: 1.00, 1.01, 1.02
- ---------------------------------------------------------------------
Americans' greatest fear is that America will turn out to have been a
phenomenon, not a civilization.
		-- Shirley Hazzard, "Transit of Venus"
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Netscape - http://enigmail.mozdev.org

iD8DBQE+zjDIidHQ0m/kEssRAp7RAJ90dCDXZwQ4P/kHcpvYejbKb5rApACeM5i0
oy29xrtyxDSIiRTj4tyP51Q=
=13iC
-----END PGP SIGNATURE-----



More information about the Linux-users mailing list