1 Jul 2008 07:32
How do you get multiple messages sent via the same smarthost SMTP connection?
Adam Nielsen <adam.nielsen <at> uq.edu.au>
2008-07-01 05:32:14 GMT
2008-07-01 05:32:14 GMT
Hi all, I've got a Mailman installation on a server that feeds its messages in to Exim. Since this machine is behind a firewall, all mail is smarthosted out to another mailserver. The problem is that this other mailserver (beyond my control) has a rate limit enforced. This means that after 20 connections in a row further connections are dropped until traffic stops for a few minutes. Once Mailman has delivered all the messages to Exim, Exim seems to make a separate SMTP connection to the smarthost for each message. After 20 messages (20 connections) the IP gets rate limited and Exim can't deliver any more messages (the rest of the queued messages fail with "defer (-53): all host address lookups failed temporarily") 15 minutes later when the next queue runner starts another 20 messages go but that's it. From reading the docs it seems that Exim is supposed to reuse SMTP connections, but for some reason this isn't happening for me. Perhaps it's because of the "mailman_verp_smtp" transport I have set up? There's an option in there called "max_rcpt" which limits one recipient per message which would seem to be causing this problem, but as far as I understand I can't remove that otherwise the wrong envelope addresses etc. would be used. Any ideas would be much appreciated, because at the moment a mailout takes almost an entire day to complete! Many thanks,(Continue reading)
My first thought was the following one:
---
warn message = X-Spam-Flag: YES
RSS Feed