On 12.5.2013 0:41, Viktor Dukhovni wrote:
On Sun, May 12, 2013 at 12:13:22AM +0200, Patrik Rak wrote:

I have considered this solution as well.

It sounds simple enough, but once you start thinking about how
to implement that, it's not as easy.

Actually, that's how I reached the separate transport solution - the more I was thinking how to limit the deferred recipients within single transport, the more it seemed logical to internally split the transport in half so each part can work without interfering with the other. Then I thought "well, why not give the control to the user right away, so they can have it with all the knobs and benefits that come with it".

Then I believe you're solving the wrong problem.  Your claim is
on the one hand that multiple instances are too complex, and users
want something simple to avoid congested output queues.

Not congested queues, but congested delivery agents.

For the same reason why you want the deferred recipients in separate instance, so they don't affect the rest and you can control it independently, I want them in separate transport, so they don't interfere with the rest. Is it wrong to want that?

Then you decide that the simple thing is too hard, and you want
them to configure a second set of transports for deferred mail and
hand tune these all within a single Postfix instance.

Somewhere the original motivation is completely lost, and the
solution is *more* complex than setting up another instance as a
fallback queue and solves a subset of the possible issues (e.g.
not active queue saturation, just high transport latency).

I don't think so. Adding second instance consumes more resources, requires more configuration and doubles any further maintenance costs. I don't get how you can claim it puts less burden on the user than adding single line to two config files?

I also don't understand what you consider so difficult regarding adding one extra transport, especially in stock config? Adding the relay transport didn't seem like a problem either. And I have used different transports for subset of target sites many times, even long before the relay class was added, and it never seemed any difficult to manage. Would you mind to elaborate a bit?

You need to decide which problem you're solving.  If you want
something simple enough for the naive user, it needs to actually
be simple.  If you want a power tool for the experienced user, give
it power and flexibility.

That's exactly what I am trying. Adding one line to master.cf and one line to main.cf is IMO as simple as it gets (other than the option of making it the default setting in the first place). The experienced user than has the option of tuning it more if he wants to and besides he always has the option of using the fallback relay setup like ever before... Horses for courses, it's not like I am forcing anyone to have to configure both ways at the same time...

Patrik

Reply via email to