custom queue receiver
- Can Burak Cilingir
- 2010-01-04 @ 15:44
This is Can Burak Cilingir, from Singapore.
I need some of the features of PowerMTA, which I can
already "simulate" up to some extend with lamson. Lamson
seems the be the best option I could find to build these
features on top.
Currently I have my own "QueueReceiver" which can delay
relaying to Postfix based on some parameters.
I want the ability to throttle deliveries to some
destinations based on:
- Destination domain
- Destination ip
- Source ip (of the webserver/client)
- Headers on the mails
As I am relaying to postfix, I "assume" that when I delay
the delivery from lamson, postfix will also delay the
delivery to the world. When you assume that no delivery
problems between the final host and postfix, this'll be the
case. nut in real world, this is not guaranteed.
Is it feasible to control these kind of behaviour from
The only option I can think of is to create a new queue for
each individual destination and spawn QueueReceiver's
dynamically to deliver these queues.
I'll be more than happy to receive your comments on these.
Can Burak Cilingir