Re: [Exim] sendmail mailertable equiv

Etusivu
Poista viesti
Vastaa
Lähettäjä: dman
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] sendmail mailertable equiv
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.

-D

--

How great is the love the Father has lavished on us,
that we should be called children of God!
        1 John 3:1