[exim] Random number generation in an ACL

Pàgina inicial
Delete this message
Reply to this message
Autor: Ian P. Christian
Data:  
A: exim-users
Assumpte: [exim] Random number generation in an ACL
Hi all,

I want to do a database cleanup in my exim config, so there's a 1 in 10,000
chance some SQL will be run - I could cron it, but I prefer the config to be
self-contained.

To do this, I obviously need to generate a random number - is this possible in
the ACLs? I've hacked it in using perl at the moment, but I'm just curious as
to if I've missed anything - a built in ACL function or something.

Kind Regards,

Ian
--
Ian P. Christian
http://pookey.co.uk