[Exim] Re: sendmail mailertable equiv

Top Page
Delete this message
Reply to this message
Author: Suresh Ramasubramanian
Date:  
To: exim-users
Subject: [Exim] Re: sendmail mailertable equiv
+++ dman [exim-users] <13/01/02 23:11 -0500>:
> On Mon, Jan 14, 2002 at 09:59:41AM +0800, Peter Santiago wrote:
> | # not local -- try mailer table lookup
> | R$* <@ $+ > $*          $: < $2 > $1 < @ $2 > $3        extract host name
> | R< $+ . > $*            $: < $1 > $2                    strip trailing dot
> | R< $+ > $*              $: < $(mailertable $1 $) > $2   lookup
> | R< $~[ : $* > $*        $>95 < $1 : $2 > $3             check -- resolved?
> | R< $+ > $*              $: $>90 <$1> $2                 try domain

>
> Oh, wow.
> I'm really glad I picked exim rather than trying sendmail! That looks
> worse than sh or perl or awk.


That's what m4 is there for ...

    -srs