[plug] Sendmail on RH 8.0- accepting connections

Brian Tombleson brian at paradigmit.com.au
Wed Feb 5 12:09:30 WST 2003


Tim Bowden wrote:
> Setting up sendmail.  I need sendmail to accept mail for local delivery
> (to all @mydomail.com.au) from ppp0 and all mail from 192.168.1.0/24. 
> What are the changes I need to make to sendmail.mc?  access?

This is not RH-specific (in fact, it's Debian).

Firstly, use a recent version of sendmail - closed relay and a lot of other spam 
control features are on by default.

in sendmail.mc:
Cwmydomain.com.au

in relay-domains:
192.168.1	RELAY

If your MX record points to a different hostname than the one in the Cw 
declaration or you accept mail for different domains, add them to the 
local-host-names file (one per line).

Either:
   m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
or
   cd /etc/mail/;make sendmail.cf

then:
   /etc/init.d/sendmail reload

HTH.

Brian.



More information about the plug mailing list