Article View: comp.sys.next.sysadmin
Article #1545Re: sendmail and mail clients
From: Lance R. Bailey
Date: Fri, 16 Oct 1992 10:50
Date: Fri, 16 Oct 1992 10:50
41 lines
2152 bytes
2152 bytes
In article <HARDY.92Oct15202609@golem.ps.uci.edu> hardy@golem.ps.uci.edu
(Meinhard E. Mayer (Hardy)) writes:
>HP-UX has a nice feature in its sendmail.cf called "site-hiding" where
>nodes in a cluster served by a mailhost are hidden from the outside
>world. It shouild be easy to modifi sendmail.cf so that the from line
>would list the mailserver.
#S1 is a rule through which ALL sender (From:) lines are pushed
# if we define a class 'H' of hosts we wish to hide, then the following
# code hides golem. tolkien.good.books gandalf. tolkien.good.books
# frodo. tolkien.good.books bilbo. tolkien.good.books under the generic
# name tolkien.good.books
#class H -- hidden hosts
CH golem gandalf frodo bilbo
DU tolkien.good.books
S1
R$*@$=H.$U $1@$U # hide hosts
----------------------------------------------------------------------
# if you want to hide EVERYTHING named under tolkien.good.books without
# exception, use this:
DU tolkien.good.books
S1
R$*@$-.$U $1@$U # hide hosts
----------------------------------------------------------------------
# if you are not using fully qualified names throughout (naughty) then this
# code replaces *.tolkien with tolkien.good.books:
DU tolkien.good.books
S1
R$*@$-.tolkien $1@$U # hide hosts
--
Lance R. Bailey System/Network Manager Robarts Research Institute
NeXT/email: zaphod@ctrg.rri.uwo.ca box: Clinical Trials Resources Group
fax: +1 519 663 3789 P.O. Box 5015, 100 Perth Dr.
vox: +1 519 663 3787 x4108 London, Canada N6A 5K8
Technical Details
Message-ID:
<1992Oct16.105016.15466@julian.uwo.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!newshost.uwo.ca!newsReferences:
<HARDY.92Oct15202609@golem.ps.uci.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!newshost.uwo.ca!news From: zaphod@ctrg.rri.uwo.ca (Lance R. Bailey) Subject: Re: sendmail and mail clients Reply-To: zaphod@ctrg.rri.uwo.ca Organization: University of Western Ontario Distribution: na Date: Fri, 16 Oct 1992 10:50:16 GMT Message-ID: <1992Oct16.105016.15466@julian.uwo.ca> References: <HARDY.92Oct15202609@golem.ps.uci.edu> Sender: news@julian.uwo.ca (USENET News System) Nntp-Posting-Host: cupoftea.ctrg.rri.uwo.ca Lines: 41