Jack Bates: > How can a Postfix "content filter" tell whether the upstream client > authenticated or not? > > I'm working on a content filter which should behave differently, > depending on whether the upstream client authenticated to Postfix or not
Set "smtpd_sasl_authenticated_header = yes" if the client anthenticates with sasl (or with Postfix 2.5 and later, look for the "Received ... with ESMTPA or ESMTPSA ..." header). Set "smtpd_tls_received_header = yes" if the client authenticates with a TLS certificate. Wietse