On 1/29/21 1:01 AM, Cyborg via Exim-users wrote:
> In this case, you will need a central sql database that stores the sender and 
> receiver with a timestamp and if your acl finds an entry within your given 
> timeframe,
> will need redirect the message to :blackhole: 

It might be simpler to just add a "condition" (or two) to the autoreply router 
pointing to the autoreply transport.

You can use Redis, and use the INCR command and check for a value greater than 
one, meaning the key was there before.

The second condition can be used to EXPIRE the key. If the previous condition 
failed, this would not execute. If the previous condition passed, that means 
the key was just added to redis and needs a TTL set. This condition can be 
forced to always return 1 or whatever.



-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to