Peter Scott:
> Hello.  I'm very new to Postfix configuration; I switched from Sendmail 
> because I want to send mail through the Amazon Simple Email Service and 
> Postfix has concurrency options that were easier to understand.  
> However, they're not doing what I want and the mail is going too slow.
> 
> Sending mail via Amazon happens via piping it to a program that makes an 
> HTTP connection.  This takes about 0.5 seconds.  We have a high volume 
> of mail that needs to be delivered at a rate of at least 10 messages per 
> second, and our Amazon account supports up to 90/s.  But when I send 
> mail with sendmail.postfix it appears synchronous, i.e., takes 0.5 s to 
> return.  Amazon says that concurrency is the way to increase the rate: 
> make multiple simultaneous connections.

The Postfix sendmail command RECEIVES mail.  The program returns
BEFORE MAIL IS DELIVERED. Mail delivery is handled by other programs
that run in the background.

If it takes 0.5s for you to put mail into Postfix, then that is
your bottleneck.  

Possibilities:

- Perhaps your HTTP-based system is slow.

- Perhaps the storage system is slow. We had a thread a week ago
about a storage system that needed 0.3 to 0.5 seconds to write a
message to the queue.

        Wietse

Reply via email to