Loren Wilton skrev den 2023-07-17 00:29:
header __FROM_THOMAS_1 From =~
/<thomas\.cameron\@camerontech\.(?:com)>/i
You can simplify this. The parenthesized grouping was only necessary
when there was more than one possible string, in my case .com and
.net. Since you only have .com you can remove the (:? and ) and make
the regex a little more efficient:
> header __FROM_THOMAS_1 From =~
/<thomas\.cameron\@camerontech\.com>/i
back to basic:
why accept local envelope SENDER domains on port 25 ?
its safe to reject them
its not a question on spf or stupid srs rewrites