Am 29.08.2013 16:44, schrieb Prashanth Katuri:
Hi,I have been trying to work on the below if match condition and getting below error. Below is the condition: slb_directory_mail_routes: driver = manualroute transport = remote_smtp domains = directory-mail.slb.com route_list = * "${if match {$sender_host_name}{mail\\.slb\\.com|(gb0135|fea)mta\\d\{2\}\\..*\\..*\\.slb\\.com|usxsl05(0|1|2|3)\\.slb\\.atosorigin-asp\\.com|nl0105ex c\\d\{2\}\\.eur\\.slb\\.com|sx00(2|3|4|6)\\.ddc-nl0105\\.slb\\.com|nl0230mbx\\d\{2\}n(1|2)\\.dir\\.slb\\.com}\ # We can trust that it has been scanned and send it to directory-mail.slb.com {directory-mail.slb.com}\ # If the message hasn't been scanned send it to the relay {gateway.mail.slb.com}\ }" bydns I am getting below error. pkaturi@gb0882ldaptst00 >exim -bt [email protected] [email protected] cannot be resolved at this time: slb_directory_mail_routes router: failed to expand "${if match {$sender_host_name}{mail\.slb\.com|(gb0135|fea)mta\d{2}\..*\..*\.slb\.com|usxsl05(0|1|2|3)\.slb\.atosorigin-asp\.com|nl0105exc\d{2}\.eur\.slb\.com|sx00(2|3|4|6)\.ddc-nl0105\.slb\.com|nl0230mbx\d{2}n(1|2)\.dir\.slb\.com}{directory-mail.slb.com}{gateway.mail.slb.com}}": missing or misplaced { or } <-- [email protected]<mailto:[email protected]>
RegExpression should be encapsulated with \N .. check the exim.docs for the exact syntax.
-- ## List details at https://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/
