[comp.protocols.tcp-ip] sendmail.cf

geoff@USAFA.AF.MIL (Capt Geoff Mulligan) (04/27/89)

Has anyone solved the problem with their sendmail configuration if a
host has two different domains.  We are presently receiving mail
addressed to usafa.af.mil and usafa.arpa.  I seem to have kludged
something to work by adding another rule in rule set zero, but I am
not sure if it is correct.

	Thanks,
		geoff

elsn4000@w107zrz.zrz.tu-berlin.de (Frank Elsner) (08/28/90)

I've a few questions about ruleset 0 in sendmail.cf

The following is defined in sendmail.cf:

# Supersmart relay.  Used when all other attempts to deliver fail
DSmailgzrz.tu-berlin.de
# UUCP relay host
DRmailgzrz.tu-berlin.de

The following rule from ruleset 0 works correct:
R$*<@$*.UUCP>$*		$#tcp$@$[$R$]$:$1<@$2.UUCP>	uucp mail

but the following rule also works correct:
R$*<@$*.UUCP>		$#tcp$@$S$:$1@$2.UUCP		user@host.UUCP

The question for me is "Why do both rules work correctly ?"
What is the meaning of the "[" and "]" on the RHS ?
Why are sometimes "<" and ">"  on the RHS and sometimes not ?

Thanks for enlightning a sendmail beginner.
Frank Elsner
Postmaster at  Central Computing Center
               Technical University Berlin (West, until Oct 3)