Hello,

I have this option in master.cf for smtpd:

  -o cleanup_service_name=anonymize-sender-ip

and here it is defined:

  anonymize-sender-ip  unix      n         -        n        -        0
     cleanup
  -o header_checks=regexp:/var/local/postfix/maps/anonymize-sender-ip

and in anonymize-sender-ip, I just replace my actual IP address with
127.0.0.1

Everything works fine, but every time I send email, postfix/cleanup logs
the replace operation in my log:

  postfix/cleanup: D62108F: replace: header Received: from ....

I don't need this in my logs. Can I somehow disable log only for my
custom defined service "anonymize-sender-ip" ?


thank you

Reply via email to