SUMMARY: Sendmail.cf

From: Moore, William (WMoore@dpsciences.com)
Date: Mon Aug 09 1999 - 15:32:56 CDT


First off, thanks to the following brave gentelman.

Chan ccao@FASTech.Com
Scott Balfour Eurosoft
Larry Chin Larry@sprint.ca
Stephen Harris sweh@mpn.com

All had roughly the same suggestion: Go get the latest version of sendmail.

In the end I downloaded 8.9.3, compiled and installed it. Following some
minor configuration steps, all of the anti-spam requirements I had were
covered out of the box.
The only remaining task was to configure the system to relay any mail meant
for my target domain into an internal MTA. In order to achieve this
cleanly, without having to make my external relay aware of all internal
users, I used a LOCAL_RULE_0 rule in my .mc file. I then used M4 to
generate a .cf file that included that rule and many other configurations
into my sendmail.cf file.

Thanks again to the folks above, and to the list.

William Moore

Original Post:

Group,

I have a request that I am sure will be elementary for many of you, but I am
having some difficulty with.
If any of you could bullet point the steps, perhaps I can find my mistake.

I am trying to develop a sendmail.cf file for sendmail 8.7 that implements
the following 3 basic rules.
I have an external mail server that I am planning on pointing my MX record
at. I also have an internal mail
MTA that handles all internal employee to employee mail along with group
scheduling and alike...

1. Mail from within my domain placed on this server should be relayed to the
world.

I am ANYHOST.ABC.COM sending mail to MYBUDDY@123.COM via MAILSERVER@ABC.COM
= should work

2. Mail from outside my domain sent directly to my domain via my server
should be accepted and immediately passed to an internal MTA

MYBUDDY@123.com sends mail to me at MYADDRESS@ABC.COM and it is relayed into
MYINTERNALMTA.ABC.COM = should work

3. Mail form the outside world bound for anyplace but here should be
refused.

SOMEBODY@SOMPLACE.COM tries to relay mail to SOMBODYELSE@SOMPLACEELSE.COM
via MAILSERVER@ABC.COM = Should not work.

I thought this would be rather simple, but alas, I have successfully turned
it into a pain in the rump. Any basic guidance would be very much
appreciated.

Thanks in advance.

wmoore@dpsciences.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:24 CDT