Re: [exim] Random execution of command

Pàgina inicial
Delete this message
Reply to this message
Autor: Michael Haardt
Data:  
A: exim-users
Assumpte: Re: [exim] Random execution of command
> I need execute or a random (1/1000) or The time of received email (02 hours of
> day...)
>
> Example:
>   warn condition = <<<<????????>>>>>
>        set acl_m4 = ${lookup mysql{MYSQL_QUERY_REMOVE}}


Like this? It should match 20% of the time (untested).

condition = ${if match{$tod_epoch}{[0-1]\$}{1}{0}}

Michael