Re: [Exim] How to enforce lookup time?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: edouard.boucher
Datum:  
To: Alexander V Alekseev
CC: Exim Users
Betreff: Re: [Exim] How to enforce lookup time?
Quoting Alexander V Alekseev <alex@???>:

>         Hello!

>
>     Many thanks to Philip for help (about sender_data
> in ACL).

>
>     Another question, which I couldn't solve: How to
> force sleep for some seconds in string expansion?
> My idea is to wait a few seconds, before saying "Relay not
> permitted" to some spammer. So it would be useful to
> write smth like ${lookup{...}fail{10seconds}}. Does
> anyone have an idea?


There is an exemple of setting this in the ACL section of the doc.
  deny    ...some conditions...
          delay = 30s


in ...some conditions... you can put your lookup :
dbm;/path/to/known/spammer/file
(it doesnt have to be dbm, you can use other lookups)

so the acl would be :
deny dbm;/path/to/known/spammer/file
     delay = 30s
     message = relay not permitted


edouard