On 10/15/2013 7:02 PM, Paul C wrote: ... > but I'm trying to bypass making a socket connection > to postfix and just inject the mail files directly in to the postfix > queue directory myself.
This is completely unsupported and not recommended, and unlikely to be faster than using the documented SMTP interface. Use multiple SMTP connections to inject mail into postfix. You can probably reuse some of the code from the smtp-source.c test program included with postfix. Very likely disk IO will be your bottleneck. Consider putting the postfix queues on a fast SSD drive for maximum throughput. -- Noel Jones