Hi,

I have an smtpd listener that functions as an MX (listening on tcp/25,
accepting email for local domains), and a separate smtpd listener that
functions as submission server (listening on tcp/587, using mandatory
TLS and authenticated smtp, allowing relay services).
Now I would like to use header_checks to remove some privacy-information
(like the User-Agent header and some information in the first Received
header) for all mail that enters through submission. I don't want these
checks applied for mail that enters through the regular tcp/25 smtpd. Is
this possible?

I noticed that the header_checks configuration options only applies to
cleanup, not to smtpd. I didn“t see a way to have separate cleanup
processes/configurations for the different smtpd's, nor a way to let
cleanup behave differently depending on the smtpd that received the email.

Or is this an example where a multi-instance configuration would be the
preferred solution?

Kind regards,

Erik.

Reply via email to