juanluisbaptiste / docker-postfix

Simple SMTP relay docker image.
GNU General Public License v3.0
336 stars 166 forks source link

SMTP Header Checks Multiple Regex #85

Open labsrc opened 2 years ago

labsrc commented 2 years ago

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.

juanluisbaptiste commented 2 years ago

Hi @labsrc, not currently.

cablebender commented 1 year ago

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