On 11.6.2013 14:51, Wietse Venema wrote:
Patrik Rak:
On 11.6.2013 12:49, Wietse Venema wrote:
Patrik Rak:
On 20.5.2013 17:30, Patrik Rak wrote:
What we might do, though, is to introduce time-dependent fallback relay,
which would be used for deferred mail only after it was in the queue for
some time, similar to what Viktor mentioned. That way, the amount of
mail in the deferred queue is considerably limited, and only older mail
is moved to the fallback relay. This way the greylisted mail would have
much better chance of getting delivered, compared to current state, and
both machines could be IMO tuned more appropriately. One could even
setup a cascade of few more if desired...
BTW, any opinions about this feature?
What if we were to group jobs by attribute X, where X can
be sender or size or something else?
Hmm, I am afraid I don't understand what you mean exactly. How would
that help with reducing the deferred backlog so graylisted mail isn't
delayed excessively by deferred queue scan taking looong time?
... where X can be time in queue.
I am looking for general principles, rather than special cases.
Ah, I see. For some reason I got it as "what we could do instead",
rather than "how we could extend the idea". Thus my confusion. Sorry.
Well, we can definitely add other attributes into the mix. I was
originally thinking about using the fallback relay, so the deferred mail
gets one more try before getting passed to separate instance, but
looking at it in this broader context, we might perhaps override the
nexthop directly instead.
The problem with current fallback relay is that it only allows us to
separate deferred mail from new mail after one try. There are ways of
separating mail based on senders and recipients already, but there is no
mechanism for separating mail queued for longer than X, nor message
bigger than X (although the latter might be already achievable with a
bit of filtering).
Patrik