Hi list!

In my exim.conf I have these statements:

warn set acl_m_from = ${domain:${sg {$h_from:} {^\N(.*)?\<(.*)?\>$\N} {\$1}}} warn set acl_m_froma = ${addresses:${sg {$h_from:} {^\N(.*)?\<(.*)?\>$\N} {\$1}}} warn set acl_m_from1 = ${extract{2}{@}{${reduce{${addresses:$h_from:}}{}{$item}}}}
  warn  set acl_m_fromad = ${addresses:$h_from:}

My goal is to check the sender (FROM-Header) against a list of addresses. Unfortunately, if the FROM-Header contains a comma (eg: "Tester, Test <test.tes...@test.de>") it fails. acl_m_from is empty and acl_m_froma contains just the first part of the header (Tester). I really can't understand this behaviour, since "(.*)" should mean "all characters"...

Can someone help me?

Thanks
Luca Bertoncello
(lucab...@lucabert.de)

--
## 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/

Reply via email to