Sendmail.cf question: Ignoring smart relay for local mail

David A. Bandel david
Mon May 17 12:00:35 PDT 2004


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

On Sat, 13 Mar 2004 10:23:13 -0500
Joel Hammer <joel at hammershome.com> wrote:

> I have a firewall box which runs sendmail, which routes
> all mail to my comcast mailserver (Otherwise, my mail
> bounces). This works fine except when I want to send
> mail locally from the firewall box to other boxes on
> the network.
> 
> I know there are M4 macros for doing this, but I am
> determined not to get involved with that, since I have
> a perfectly good sendmail.cf file and have no desire to
> tinker more than necessary.
> 
> I can brute force this by running sendmail manually with
> the -C option to point to another sendmail.cf; but, I
> would like to know a way to edit sendmail.cf to handle
> this automatically.

Eric Allman, the guy who wrote sendmail says:
"I treat the sendmail.cf file like a binary ..."

Do _not_ muck with sendmail.cf.  Editing sendmail.mc is _not_ hard, nor
is running m4.  I wish all config files were this easy.

Ciao,

David A. Bandel
- -- 
Focus on the dream, not the competition.
		Nemesis Racing Team motto
GPG key autoresponder:  mailto:david_key at pananix.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAU2UNj31PLQNUbV4RAthiAJ9ZhW4TMqulyHbou2nhW8GcS/qfBgCeJv2t
agVIXNMZt+CiRECSQX5vVTA=
=zBcZ
-----END PGP SIGNATURE-----



More information about the Linux-users mailing list