Unfortunately there are many MTAs/MUAs that send to my host, which then sends to the custom smtp transport destination. Building a hash map for all potential hosts would be problematic.
I need to allow as many messages as possible IN, and then relay those messages as fast as possible to my custom smtp transport destination. There must be a way to requeue messages in my active queue faster. Thanks in advance. On Tue, Feb 16, 2016 at 10:14 AM Wietse Venema <wie...@porcupine.org> wrote: > Wietse Venema: > > Travis Dolan: > > > The destination server has no issue with the amount of messages we > send it. > > > We have custom a python script accepting port 25, and simply takes > > > everything and places in RabbitMQ. The incoming queue for this > destination > > > is highly active, which is really the root issue. I need to move those > > > messages out as fast as they come in. > > > > Have you considered slowing down the injection rate, so that it > > better matches the output rate and does not congets the queue. > > Corrected example: > > /etc/postfix/main.cf: > smtpd_client_restrictions = check_client_access hash:/etc/postfix/access > > /etc/postfix/access: > 1.2.3.4 sleep 2 > > This assumes the default setting of smtpd_delay_reject=no. > > Wietse > >