[exim] exim pcre match question

Top Page
Delete this message
Reply to this message
Author: Vasiliy G Tolstov
Date:  
To: exim users
Subject: [exim] exim pcre match question
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 aaa@test and aaa@??? all messages passed
by this acl and delivery.

pcretest work's fine with this expression


--
Vasiliy G Tolstov <v.tolstov@???>
Selfip.Ru