[net.unix-wizards] sendmail path aliasing?

tony@ecn-ee.UUCP (12/17/83)

#N:ecn-ee:13000005:000:123
ecn-ee!tony    Dec 16 15:27:00 1983


Has anyone put uucp path aliasing into sendmail yet?


Tony Andrews
UUCP: (decvax | ucbvax) !pur-ee!tony
ARPA: ada@purdue

DEPSTEIN%bbng@sri-unix.UUCP (12/20/83)

I believe that the Harvard Science Center has done so.  Contact Glen
Dudek, one of the system managers there.  His address is:

decvax!genrad!wjh12!hscvax!dudek

Yours,
Dave Epstein
depstein@bbng
decvax!bbncca!depstein

ptw@vaxine.UUCP (P. T. Withington) (12/20/83)

I have faked pathalias into sendmail by adding a mailer to my sendmail.cf that
invokes the old netmail for any uucp address that is not resolved to my
directly connected neighbors.  The relevant lines are:

# In machine-dependent part of S0
R$=U!$+			$#uucp$@$1$:$2
R$-!$+			$#netmail$@$1$:$2			host!user

# In uucpm.m4
Mnetmail, P=/usr/lib/mailers/netmail, F=sDFMhun, S=13, R=23, M=100000,
	A=...net%mail -s $h -u $u
Muucp,	P=/usr/bin/uux, F=sDFMhuU, S=13, R=23, M=100000,
	A=uux - -r $h!rmail ($u)

This is a hack and only a hack.  I await true enlightenment on a better way...

                                                --ptw