[TriLUG] sendmail header question

Turnpike Man turnpike420 at yahoo.com
Sat Mar 29 22:51:56 EST 2003


If one wanted to apply this by editing sendmail.mc and using m4 to apply the
change??  And if this can't be done this way, someone want to enlighten me on
why the heck I would have to edit a drunk welch's jibberish to configure an
email server??  And... also the mystery behind people constantly telling me to
never touch the sendmail.cf file directly.

BTW, good to know as I would be running an email server internally using NAT as
well.  I suppose I could do this or to the xinetd thing with port 25.

OH, and that fix someone posted about the aol.com:smtp_server.nc.rr.com ...
that is also a direct edit to sendmail.cf wasn't it!!  ARG I hate that file
already!!

laters,
David M.


--- Jon Carnes <jonc at nc.rr.com> wrote:
> You can also "fake" who you are by using the "Dj<domain_name>" option in
> sendmail.cf.  I do this with servers that are running on internal
> networks protected by NAT firewalls.  Works a charm.
> 
> Example:
>   Djtrilug.org
> 
> Now stop/restart sendmail and all your mail will be seen as coming from
> "trilug.org".
> 
> If you want to include your machine's hostname, you can either hard code
> it in:
>   Djmail.trilug.org
> 
> or you can stick the $w variable into the line:
>   Dj$w.trilug.org
> 
> Should I include that in my Sendmail howto?
>   http://www.trilug.org/~jonc/mailserver
> 
> Jon


__________________________________________________
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com



More information about the TriLUG mailing list