I'm thinking about a minor clean-up to the DNS test API to remove a
historical hack in time for 3.0, so "notfirsthop", "firsttrusted", and
"untrusted" are passed as a real option.

I will probably make the new argument the last argument so the argument
order doesn't change and so it can be left off for the default behavior:

 header RCVD_IN_FOO   eval:check_rbl('foo-untrusted', 'dnsbl.example.com.')

becomes:

 header RCVD_IN_FOO   eval:check_rbl('foo', 'dnsbl.example.com.', 'untrusted')

It would be an argument for check_rbl(), check_rbl_txt(), and check_rbl_swe()
since those are the routines that start DNSBL queries on IPs.

It will take relatively little effort to both make the change and test the
hell out of it.  Any objections?

Daniel

-- 
Daniel Quinlan
http://www.pathname.com/~quinlan/

Reply via email to