m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: sendmail m4 email dnsbl


From: Marc Roos
Subject: RE: sendmail m4 email dnsbl
Date: Tue, 23 Jun 2020 14:43:27 +0200

> Focus on the cf file.  Get it to do what you want.  Then worry about 
mc syntax.

I agree, I guess best is to start with this dnswl.m4[1] because this 
enhdnsbl.m4 seems to have multiple 'exit' values(?)

Claus already wrote the sha1sum can be realized with a "program" map 
whatever that is, so lets forget about this for now.

I still do not have a clue of how to parse the FROM: instead of the 
connected ip to R$?


[1]
R$*                             $: $&{client_addr}
R::ffff:$-.$-.$-.$-             $: <?> $(host 
$4.$3.$2.$1.whitelist.domain.com. $: NotFound $)
R$-.$-.$-.$-                    $: <?> $(host 
$4.$3.$2.$1.whitelist.domain.com. $: NotFound $)
R<?>NotFound                    $: OKSOFAR
R<?>$+                          $@ <OK> 

HACK(`dnswl', `whitelist.domain.com')dnl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]