[NTLUG:Discuss] Sendmail config

Rev. wRy slot0k at pogox.org
Thu Apr 10 13:30:44 CDT 2003


Richard Humphrey wrote:
> I have a small network consisting of about 6 Red Hat servers. I have
> installed Logwatch on each one and set it to email me with the logs. One of
> these machines is our dedicated mail server for company email. After
> instructing Logwatch to email richard at xxxxxxx.com from each of the servers
> in the network I only recieved the one from the mail server. The rest did
> not get emailed to me for the following reason:

> What do I need to do to fix this problem? Do I need to configure sendmail
> locally to forward to the mail server?

Add the ip addresses and full names of the machines trying to mail you 
into the hosts file.

OR:

add

FEATURE(`accept_unresolvable_domains')dnl

into your mc file, then rebuild the cf with m4, then restart sendmail.

You can test it from the command line to see if your mail gets through.

Personally, I'd go with the first, as your spam levels will increase 
dramatically with the second.

>  Richard Humphrey

Ry




More information about the Discuss mailing list