Last week I posted about a setup I'm using for routing outgoing messages
depending on which network interfaces are active on my laptop. This setup
is now working fine.
However, I'm think the behaviour of 'exim -qq' is not what's expected.
Suppose ppp0 is inactive; then all remote mail will get passed to a
queryprogram router which will return "DEFER". Then when ppp0 becomes
active, 'exim -qqf' gets run, and at this point the queryprogram router
returns
OK remote_smtp some.smtp.server bydns_a
for every message. So I'm under the impression that the first pass of
'exim -qq' should mean that *all* the outgoing messages in the queue get
routed to some.smtp.server, and so the second pass should deliver them
all in a single SMTP session (batch_max is unset). But if I run with
'exim -qqf -d9', it seems that each message is going in a separate SMTP
session.
Am I just misinterpreting what's expected here?
Thanks,
Chris.