[comp.mail.sendmail] sendmail "subroutines" request

NAHAJ@cc.utah.edu (John Halleck) (06/26/90)

Does anybody have a collection of sendmail.cf "subroutines"?  That is, quick
rules to do some standard futzing?

An example of such a "subroutine" is the following (not recomended) fragment
to handle the UK greybook address turn around:

R$*<@UK.$+>$*		$:$1<$2@.UK>$3		If this applies, mark it.
R$*<$-$*@$*>$*		  $1<$3@$2$4>$5		Pass the @ through reversing

What I am looking for is a collection of such fragments with (if possible)
their good and bad points.   (For example a bad point of the above is
that  UK.BILBO.COM  is a legal address form, although a bad idea, and would
be rewritten into junk)

Reply by E-Mail and I'll post a summary if people are interested.

- John Halleck
nahaj@cc.utah.edu
nahaj@utahcca.bitnet