bug-mailfromd


Search for: Advanced

[Bug-mailfromd] Postfix TLS Macros?


Hello,

I am trying to access macros related to tls in mailfromd, but getting e_macroundef.

Postfix has the follwing;
milter_helo_macros = {tls_version} {cipher} {cipher_bits} {cert_subject} {cert_issuer}

Below code gives me "cert_subject: not defined". Tried it both with starttls and direct tls modes.

prog helo
do
    if macro_defined("cert_subject")
        echo "cert_subject: $cert_subject"
    else
        echo "cert_subject: not defined"
    fi
done

Any suggestions?

Thank you

--
Mehmet