Re: [exim] Random execution of command

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Michael Haardt
Dátum:  
Címzett: exim-users
Tárgy: 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