Re: [exim] Random execution of command

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Michael Haardt
Datum:  
To: exim-users
Betreff: 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