Re: Can I do this with Postfix? Equal prioritization of email delivery from different users
> we have a configuration where several bulk-mail users are sharing the
> same email server.
> For example:
> When the first user1 sends out their bulk we have 1000x emails in queue.
> Now one minute later user2 sends also out 1000 emails.
> However from my experience the emails of user2 only will be sent out
> after the emails of user1 are done.
I suppose that they are sending one recipient per message? Postfix
will interleave multi-recipient deliveries just fine.
Internally, Postfix maintains one queue per destination. This means
that if everyone sends single-recipient messages to the same domain,
then their messages will be delivered in approximately the order
that Postfix received them. If everyone sends to different domains,
then those 2000 messages would go out in parallel.
Other forms of fairness would involve splitting each per-destination
queue based on some message property and selecting a message from
each split (some might want to split by sender, by size, by priority,
and so on). I don't have a solution for doing that automatically,
and having to configure such things by hand seems annoying.