maddy icon indicating copy to clipboard operation
maddy copied to clipboard

limits support for target.smtp

Open foxcpp opened this issue 11 months ago • 2 comments

Use case

Forwarding messages to external systems with ratelimits.

Your idea for a solution

Add limits to target.smtp - the code will be very similar to target.remote.

As an alternative consider implementing target-agnostic "target.limited" wrapper.

Consider interaction with target.queue - might be a good idea to skip increasing retries if delivery fails due to timeout waiting on limits.

foxcpp avatar Feb 08 '25 11:02 foxcpp

Please assign this to me. I would like to work on it

mughees-urrehman avatar Feb 08 '25 18:02 mughees-urrehman

Done)

foxcpp avatar Feb 09 '25 08:02 foxcpp