Article View: comp.mail.sendmail
Article #2667Aliases for local hosts in sendmail.cf
From: Frank Elsner
Date: Tue, 12 Jan 1993 10:18
Date: Tue, 12 Jan 1993 10:18
46 lines
1552 bytes
1552 bytes
There is a question on handling aliases for host names in "sendmail.cf"
for handling local mail.
Most of the "sendmail.cf"s I've seen and in use do it this way:
S6
R$*<@$=w>$* $:$1<@$w.$D>$3
R$*<@$=w.$D>$* $:$1<@$w.$D>$3
R$*<@$=U.UUCP>$* $:$1<@$w.$D>$3
..
..
..
S0
..
..
..
R$+<@$w>$* #local$:$1
R$+<@$w.$D>$* #local$:$1
..
..
..
This leads to a rewrite of the hostname, hiding the original name.
Why not doing it the following way, which keeps the original ?
S6
..
..
..
S0
..
..
..
R$+<@$w>$* #local$:$1
R$+<@$w.$D>$* #local$:$1
R$+<@$=w>$* #local$:$1
R$+<@$=w.$D>$* #local$:$1
..
..
..
Is there a significant reason for doing it the first way ?
Frank Elsner (TUBerlin Postmaster)
Technical Details
Message-ID:
<1iu5tjINNhu@mailgzrz.TU-Berlin.DE>Path:
arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!bronto.zrz.tu-berlin.de!elsn4000Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!bronto.zrz.tu-berlin.de!elsn4000 From: elsn4000@bronto.zrz.tu-berlin.de (Frank Elsner) Newsgroups: comp.mail.sendmail Subject: Aliases for local hosts in sendmail.cf Date: 12 Jan 1993 10:18:27 GMT Organization: TUBerlin/ZRZ Lines: 46 Distribution: world Message-ID: <1iu5tjINNhu@mailgzrz.TU-Berlin.DE> NNTP-Posting-Host: bronto.zrz.tu-berlin.de