Does anybody knows if it possible to get the smtp reply code within a milter
application, generated by a ruleset (for example check_relay)?
Regards,
Danny
Milters don't use sendmail's rulesets.
If you're asking if a ruleset can use a milter's results, NO. The Rulesets
seem to be called BEFORE the corresponding milter call. (I have not
verified that by looking at the source).
Your answer is completely correct, unless you patch. Then all kinds of
things are possible.
The patchset is not compatible past 8.13.8 (yet).
http://www.jmaimon.com/sendmail/#milter-rrres.v16