Re: configuring sendmail through mail relay

From: <a08696_at_mailgate.wplh.com>
Date: Thu, 16 Feb 95 08:15:06 -0600

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_at_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.:%_at_!^=/[]
# 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_at_$j>
H?D?Resent-Date: $a
H?F?Resent-From: $q
H?M?Resent-Message-Id: <$t.$i_at_$j>
H?x?Full-Name: $x

S0 # Punt to hub
R$* $#ether $_at_$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$- $_at_ $1 _at_ $H user => user_at_hub
R$+_at_$+ $: $1 _at_ $[$2$] canonify the hostname
R$+_at_$=w $_at_ $1 _at_ $H user_at_thishost => user_at_hub
R$=w!$+ $_at_ $2 _at_ $H thishost!user => user_at_hub
R$+%$=w $_at_ $>3 $1 _at_ $2 handle % hack thishost
R$* $_at_ $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_at_mailgate.wplh.com (608) 252-3911
              Know what I hate most? Rhetorical questions.
               -- Henry N. Camp
==========================================================================
Received on Thu Feb 16 1995 - 09:15:24 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT