[vox-tech] sendmail configuation question

Samuel Merritt vox-tech@lists.lugod.org
Thu, 24 Oct 2002 13:38:41 -0700


--Y4VYWfdFdHwFhC6D
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 24, 2002 at 01:13:31PM -0700, eric_cl@pacbell.net wrote:
> I have three RedHat 7.3 servers with default sendmail installations which=
 can
> send but not receive email. For each server:
>=20
> 1. The registered domain name resolves properly.
>=20
> 2. The /etc/services entry shows:
> smtp            25/tcp          mail
> smtp            25/udp          mail
>=20
> 3. services sendmail status:
> sendmail (pid 893) is running...
>=20
> 4. firewall is off
>=20
> 5. Each machine is capable of sending mail.
>=20
> 6. telnet <machine> 25:
> Trying <correct address>...
> telnet: connect to address <same correct address>: Connection refused

Check that the server is listening on the wildcard address. Look at the
output of "netstat --inet -l". If you see an entry in the Local Address
column like "localhost.localdomain:smtp", then sendmail is only
listening on the loopback interface, not to the network. =20

If this is the case, look in /etc/sendmail.mc
(could be /etc/mail/sendmail.mc on RedHat), and there will probably be
something like DAEMON_OPTIONS('Port=3Dsmtp,Addr=3D127.0.0.1'). Comment this
out, rebuild /etc/sendmail.cf, and restart sendmail.=20

> I am slowly going through the sendmail documentation, but any pointers by=
 the
> sendmail savvy would be greatly appreciated. I just want to be able to
> receive mail locally (no relay), and in one case, the server will be runn=
ing
> mailman.
>=20
> Suggestions? Anyone know of mini-howto sized documentation?

I found the following page on sendmail. It's got what I told you above,
plus what looks like some stuff on local forwarding, but I only skimmed
that.=20

> Usually a Postfix user,

Ditto. I use Postfix whenever I can, and sendmail when my boss wants it.

> Eric
>=20
> --=20
> Eric Engelhard
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

--=20
Samuel Merritt
OpenPGP key is at http://meat.andcheese.org/~spam/spam_at_andcheese_dot_org=
.asc
Information about PGP can be found at http://www.mindspring.com/~aegreene/p=
gp/

--Y4VYWfdFdHwFhC6D
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9uFpRW3tuPJ1t7wURAibKAJ9mxnpngP/g7GAS49gVpg/tBnp5KQCeJYG6
l6v+t+F8y7lmeSFe1P3pcZQ=
=KaIo
-----END PGP SIGNATURE-----

--Y4VYWfdFdHwFhC6D--