From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075317506563.tru64-unix-managers.marc@archive.invalid> From: a08696 () mailgate ! wplh ! com Date: Thu, 16 Feb 1995 14:15:06 +0000 To: tru64-unix-managers Subject: Re: configuring sendmail through mail relay X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075317506563 As you so eloquently put this- > Hi all, > > I'm trying to use mailsetup to configure sendmail with no luck on an > OSF/1 V3.0 machine. I'm trying to configure what I believe should be > the easiest of all configs, everything goes through a local mail > relay. I tried the quick config which only asks for the relay host but > no luck. then I tried the custom config where I specified the relay > machine and that all non-local-machine mail should go directly to the > relay and be stamped with the relay host address. what I'm seeing for > both local and remote mail is that the local machine immediately > connects to a server that is not the relay I specified and it is also > not massaging the address. the only reason I can figure on why the > alpha selects the relay it does is that it's our incoming relay > advertised via DNS MX. I don't want any DNS or any smarts, just dump > everything to the local relay. has anyone had a similar problem or > know how to turn off the DNS MX or whatever's causing my problem? > > thanks, > danny (dmitzel@everest.hitc.com) > This sendmail.cf file will send all mail to a relay or hub machine-- ############################################################### # A client.cf file similar to the one developed in the tutorial # # $Revision: 1.2 $ # $Date: 1993/09/28 19:30:09 $ ############################################################### ###### Start customizing here ####################### # Other names for the local host Cwlocalhost # This is the name of the mail hub DHmailgate.wplh.com # This is the name of the mail relay DRmailgate ###### Stop customizing here ####################### # Our official canonical hostname. Dj$w ## Standard macros # name used for error messages DnMailer-Daemon # UNIX header format DlFrom $g $d # seperator (operator) characters Do.:%@!^=/[] # format of a total name Dq<$g> # Process messages in the background. Odbackground # Default permissions for files OF0600 # Default user and group (daemon/daemon) Og1 Ou1 # The logging level OL9 # Accept oldstyle addresses Oo # Send a copy of bounced messages to postmaster OPPostmaster # SMTP read timeout Or15m # Note, we do queue, in case hub and MX's are all down. OQ/var/spool/mqueue # Time to live in the queue OT5d # Use DNS OI ### Message precedences (all of equal weight. let hub decide.) Pfirst-class=0 Pspecial-delivery=0 Pjunk=0 ### Trusted users T root daemon ## Required headers HReceived: $?sfrom $s $.by $j ($v) id $i; $b H?D?Date: $a H?F?From: $q H?M?Message-Id: <$t.$i@$j> H?D?Resent-Date: $a H?F?Resent-From: $q H?M?Resent-Message-Id: <$t.$i@$j> H?x?Full-Name: $x S0 # Punt to hub R$* $#ether $@$R $:$1 S3 # local users made to look like they are from the hub R$*<$*<$*>$*>$* $3 denest R$*<$+>$* $2 basic RFC822 parsing R$*<>$* $n RFC1123 <> R$- $@ $1 @ $H user => user@hub R$+@$+ $: $1 @ $[$2$] canonify the hostname R$+@$=w $@ $1 @ $H user@thishost => user@hub R$=w!$+ $@ $2 @ $H thishost!user => user@hub R$+%$=w $@ $>3 $1 @ $2 handle % hack thishost R$* $@ $1 default, unchanged Mether, P=[IPC], F=mDFMuX, S=0, R=0, A=IPC $h Mlocal, P=xxx, A=Required by sendmail but unused Mprog, P=xxx, A=Required by sendmail but unused ========================================================================== Winston Brown a08696@mailgate.wplh.com (608) 252-3911 Know what I hate most? Rhetorical questions. -- Henry N. Camp ==========================================================================