On 15/03/16 20:33, Pj wrote:
> i need help setting up a simple regex expression to catch and filter all
> emails received from 5am to 1am

Assuming you mean "deny everything between 01:00 and 05:00 -

deny
 set acl_m_hour = ${sg {$tod_full} {\N^.* (\d\d):.*$\N} {\$1}}
 condition =      ${if >= {$acl_m_hour} {1}}
 condition =      ${if <= ${acl_m_hour} {5}}

-- 
Cheers,
  Jeremy

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