Hello.
I have this regular expression to check Message-Id header
[\S]+@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?

(* before @ and two words separated with dot after @)

  deny          condition               = ${if match
{$h_Message-Id:}{[\S]+@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?}
 {1}}
                message                 = X-ACL-DATA: Invalid Message-Id
                log_message             = X-ACL-DATA: Invalid Message-Id

But if a send e-mail with a...@test and [email protected] all messages passed
by this acl and delivery.

pcretest work's fine with this expression


-- 
Vasiliy G Tolstov <[email protected]>
Selfip.Ru


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to