Am 16.08.2016 um 10:30 schrieb Kevin Golding:
Probably even more of a performance nightmare, but possibly easier to
maintain could be something like:

header __FROM_EXAMPLECOM From:addr =~ /\@(example\.com)$/i
header __FROM_EXAMPLEORG From:addr =~ /\@( example\.org)$/i
header __FROM_EXAMPLENL  From:addr =~ /\@( example\.nl)$/i

meta __DKIM_REQUIRED ( __FROM_EXAMPLECOM || __FROM_EXAMPLEORG ||
__FROM_EXAMPLENL )

horrible to maintain - normally you generate that with a script and so you can in php (as example) simply implode('|', $list) to fill the regex (make sure anything is proper escaped before)

/\@(example\.com|example.org|example.net)$/i

Reply via email to