Re: [exim] Random execution of command

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Michael Haardt
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: 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