🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.sendmail
Article #3401

Re: How do I tell sendmail to forward MX'd mail?

#3401
From: Matt Crawford
Date: Thu, 18 May 1989 16:42
35 lines
1920 bytes
tar@ksuvax1.cis.ksu.edu (Tim Ramsey) sez:
) What I'm doing: A fellow is preparing to join the .us domain, and has asked
) me to be his MX forwarder.  I can handle adding the proper MX entry to my
) DNS info.

Can you?  Not unless someone has delegated to you authority for some
zone of the .us domain.  You can stick all the lines you want in your
data files, but unless the authority is delegated to you, nobody will
ever ask you for them.

) My question: how do I configure sendmail to recognize mail to his .us
) address, convert it to his UUCP address, and send it off?

Here's what I do to forward mail to *.chi.il.us to the uucp neighbor
"clout".  These lines:

# forward to UUCP-served internet domains
R$*<@$+.CHI.IL.US>$*	$#uucpinet$@clout$:$1<@$2.chi.il.us>$3	CHI.IL.US

are in ruleset zero, and the mailer "uucpinet" is defined as follows:

Muucpinet,	P=/usr/bin/uux, F=mDFMhu, S=14, R=24, M=100000,
	A=uux - -r -z -a$f -gB $h!rmail ($u)

For comparison, the standard UUCP and SMTP mailers are defined by:

Muucp,	P=/usr/bin/uux, F=mDFMhuU, S=13, R=23, M=100000,
	A=uux - -r -z -a$f -gC $h!rmail ($u)

Mtcp,	P=[IPC], F=mDFMueXLC, S=14, R=24, A=IPC $h, E=\r\n

So you can see that the "uucpinet" mailer is a hybrid of the other two,
using UUCP for transport but the SMTP address rewriting rules.
________________________________________________________
Matt Crawford	     		matt@oddjob.uchicago.edu
Technical Details
Message-ID: <3308@tank.uchicago.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!rutgers!uwvax!tank!oddjob!matt
References: <1904@deimos.cis.ksu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!rutgers!uwvax!tank!oddjob!matt
From: matt@oddjob.uchicago.edu (Matt Crawford)
Newsgroups: comp.mail.sendmail
Subject: Re: How do I tell sendmail to forward MX'd mail?
Message-ID: <3308@tank.uchicago.edu>
Date: 18 May 89 16:42:11 GMT
References: <1904@deimos.cis.ksu.edu>
Sender: news@tank.uchicago.edu
Reply-To: matt@oddjob.uchicago.edu (Matt Crawford)
Followup-To: comp.mail.sendmail
Organization: Koyaanisqatsi
Lines: 35