[olug] Mail Relay

Phil Brutsche phil at brutsche.us
Sun Sep 28 23:44:55 UTC 2008


Noel Leistad wrote:
> Hmm, thinking it should work out of box??
> 
> insert @gmail address for root in aliases? run newaliases.

It depends. You need to be mindful of the sender address LogWatch uses
in the From: and Sender: headers.

I know for a fact that Cheyenne uses hsrvr.local as the DNS domain on
his local net, so his LogWatch emails would show up with an origin of
logwatch at hostname.hsrvr.local. It's been at least 10 years since an
email host accepted messages from sender addresses that don't resolve.
Gmail certainly won't.

Setting MailFrom in logwatch.conf will take care of that problem.

There is still the problem of Cox blocking port 25 in and out. Cheyenne
will need to configure the local MTA to use either Cox or Gmail as a
smarthost, and in the case of Gmail the local MTA will need to be
configured to use TLS on the MSA port (port 587) as well as SMTP
authentication.

Oh, and assuming that you will need to run newaliases when you alter
/etc/aliases is assuming too much, not everyone runs either Sendmail or
Postfix.

-- 

Phil Brutsche
phil at brutsche.us



More information about the OLUG mailing list