juanluisbaptiste/docker-postfix

SMTP Header Checks Multiple Regex

labsrc opened this issue · 2 comments

Is there a way to add multiple regex's to the smtp_header_checks file? I see there is a way to add OVERWRITE_FROM as an option, but I have a separate regex I also need to add to the smtp_header_checks file.

Hi @labsrc, not currently.

Is there a way to add multiple regex's to the smtp_header_checks file? I see there is a way to add OVERWRITE_FROM as an option, but I have a separate regex I also need to add to the smtp_header_checks file.

Can you tell how to use OVERWRITE FROM exactly? In the file "header_check" i would enter it like this /From:.*/ REPLACE From: original@mailaddress.org