Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Is this also going to work if I want to change the sender of the mail for specific recipients? Commented Jan 19, 2018 at 22:46
  • Thanks for the tips. Unfortunately for me, my postfix config doesn't work as per documentation. header_checks doc says the header is checked in one bunch, not line by line. But this doesn't work accordingly to my config. So your tip doesn't work on my config. Commented May 25, 2018 at 14:54
  • There was a mistake in my config example. header_checks was set to a file path, but as it contains regex rules the path needs to be prefixed with pcre: Commented Jun 9, 2018 at 2:37
  • 1
    I wish it would work this way, but unfortunately it cannot: serverfault.com/questions/498664/… Commented Jun 27, 2019 at 9:00
  • if ... endif just dealing the same string line, can't dealing multiple lines. So this doesn't work. Commented Apr 5, 2020 at 11:10