Re: [exim] Random execution of command

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Michael Haardt
Date:  
À: exim-users
Sujet: 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