Each macro is available in a specific phase of the dialogue, the ones
you want occur during HELO and ENVFROM. You can force the milter to
read that far into the dialogue by adding catch-all conditions like:

accept
macro /tls_version/ /TLSv/ and helo /./
macro /auth_type/ /.+/ and envfrom /./
macro /auth_auten/ /.+/ and envfrom /./

Without those conditions, the milter finds all three conditions to be
false at the end of the CONNECT phase, and stops reading the mail.

With that change, you should see all macros in the logs, too.

Daniel

Reply via email to