Article View: comp.mail.misc
Article #4407Re: Info on IDA Sendmail kit / pathalias
From: diamant
Date: Sun, 27 Sep 1987 03:59
Date: Sun, 27 Sep 1987 03:59
33 lines
1970 bytes
1970 bytes
> In the referenced article, diamant@hpfclp.HP.COM (John Diamant) writes:
>
> try to use the domain server first,
> and only use pathalias if that fails.
>
> The call to search the pathalias
> generated database had better not be in a sendmail mailer definition,
> where I've already committed to delivering by something other than
> SMTP. It has to be somewhere in the address canonicalization routines,
> which requires hacking on sendmail.
>
> Erik E. Fair ucbvax!fair fair@ucbarpa.berkeley.edu
This is a good point. However, in the HP version of sendmail, this doesn't
require a change to the source. The reason is that our version allows you
to invoke an external program just like a ruleset, using "<" instead of ">."
For example, here is a rule that calls pathalias ($P is set to the pathalias
binary) on UUCP syntax addresses:
DP/usr/bin/uupath
R$+<@$-.UUX> $:$<P$2!$1 pathalias routing
I believe that this is an HP-only enhancement at this time, but I could
be mistaken. At any rate, with that, it is trivial to add a call to
pathalias in ruleset 0 if that is what you want. I would say you should only
do that on "!" paths, though, to allow the MX records to take precedence
when available on domain addresses.
John Diamant
TSBU UUCP: {hplabs,hpfcla}!hpfclp!diamant
Hewlett Packard Co. ARPA Internet: diamant%hpfclp@hplabs.HP.COM
Fort Collins, CO
Technical Details
Message-ID:
<8120010@hpfclp.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!sri-unix!sri-spam!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpcea!hpfcdc!hpfclp!diamantReferences:
<117@rdlvax.RDL.COM>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!sri-unix!sri-spam!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpcea!hpfcdc!hpfclp!diamant From: diamant@hpfclp.UUCP Newsgroups: comp.mail.misc Subject: Re: Info on IDA Sendmail kit / pathalias Message-ID: <8120010@hpfclp.HP.COM> Date: Sat, 26-Sep-87 23:59:31 EDT Article-I.D.: hpfclp.8120010 Posted: Sat Sep 26 23:59:31 1987 Date-Received: Tue, 29-Sep-87 02:55:38 EDT References: <117@rdlvax.RDL.COM> Organization: HP, Fort Collins, CO Lines: 33