On 2 Apr 2019, at 8:42, André Rodier wrote:

> Hello,

Hello,

> I would like to delete automatically User-Agent or X-Mailer information
> in the headers of outgoing emails.
>
> I have tried the header_checks, and it works, but with all emails, even
> those received.
>
> Can you tell me how to proceed, please?
>
> Thanks,

Make an header_checks table only for the submission service:

[master.cf]
submission […]
[…]
-o 
receive_override_options=header_checks,pcre:$config_directory/header_checks_submission.pcre
[…]

-- 
matt [at] lv223.org
GPG key ID: 7D91A8CA

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to