Red Hat Bugzilla – Bug 13890
exim -qqf doesn't reuse SMTP connections
Last modified: 2008-05-01 11:37:56 EDT
When flushing the queue, if multiple messages are destined for the same
SMTP host, exim should send all of them down the same SMTP connection.
However, running 'exim -qqf' doesn't do this - a separate SMTP session is
started up for each message.
The exim author has provided the following fix:
--- exim-3.13/src/transports/smtp-old.c Thu Jan 13 15:00:17 2000
+++ exim-3.13/src/transports/smtp.c Tue Jul 11 12:04:14 2000
@@ -1615,7 +1615,7 @@
we don't actually want to attempt any deliveries. When doing a queue
queue_smtp_domains is unset. */
- if (!deliver_force && (queue_smtp ||
+ if ((!deliver_force || queue_2stage) && (queue_smtp ||
expired = FALSE;
Thanks. The patch has been applied and should show up in the exim-3.13-11
package in rawhide.
Great, thanks. Though exim-3.16 has just been released, which includes fixes
for both this and bug #13539, so maybe it's best to go for that?