X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/8537492026e315644bea0b5947924f29a51ebe4c..f214d9e00ae0539817a258325889c2a637bfc6ec:/cookbooks/exim/templates/default/exim4.conf.erb diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index e9cb2b9c1..2430e17be 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -498,9 +498,11 @@ acl_check_data: <% end -%> # Deny spammy messages with headers of the form: + # X-PHP-Originating-Script: :SendMail.php # X-PHP-Originating-Script: :SendMail.class.php + # X-PHP-Originating-Script: :ExtendedMail.php # X-PHP-Originating-Script: :ExtendedMail.class.php - deny condition = ${if match {$h_X-PHP-Originating-Script:}{^[0-9]+:(Send|Extended)Mail\\.class\\.php\$}} + deny condition = ${if match {$h_X-PHP-Originating-Script:}{^[0-9]+:(Send|Extended)Mail(\\.class)?\\.php\$}} message = This message failed local spam checks. # Accept the message.