On Wed, Dec 15, 2010 at 05:36:19PM +1100, James Gray wrote:

> At the risk of being blacklisted on this rather "robust" forum,
> when I've needed a DB backend for mail I've invariably ended up
> with a product designed for that purpose.  The idea of piping or
> scripting may seem desirable at first, but as mail volume increases
> the overhead becomes unmanageable

The problem is not Postfix, rather when your mailstore is a custom
database, at high loads (O(100) msgs/sec per host) you need some
performant way to inject mail into said database, forking a database
client for each message is not a good option, so the DB mailstore needs
to present an LMTP (i.e. standard and in this case the right standard
interface is LMTP) injection service.

So if you need a DB mail-store, and you need performance, insist on
LMTP support so you don't get locked into an unfortunate choice of
front-end MTA.

If the DB mail product supports SMTP instead, that's fine too, but
LMTP is more appropriate for a non-queueing mail store, otherwise
you have to manage the complexity of yet another queue between 
in front of the mailstore.

-- 
        Viktor.

Reply via email to