Sergio <secmas@???> (Di 22 Jan 2008 23:10:50 CET):
> Thanks a lot Heiko,
> is there a way to set a fixed delay? I mean 2 or 3 seconds on every email
> address?
>
> What it will be great is if the delay starts after the 10th email, so the
> first 10 will not have any delay at all, but after that every email will be
> delayed. So this way, more emails more time to deliver, but it will be
> customer fault.
> >
> > warn condition = ${if >{$rcpt_count}{1}}
> > log_message = *rcpt:delay/rcpt_count ($rcpt_count)
> > delay = ${eval:$rcpt_count}s
Not tested, but should work:
warn condition = ${if >{$rcpt_count}{10}}
log_message = *rcpt:delay/rcpt_count ($rcpt_count)
delay = 2s
--
Heiko