著者: Adam Nielsen 日付: To: Lena CC: exim-users 題目: Re: [exim] How do you get multiple messages sent via the same
smarthost SMTP connection?
> I'm not sure, but you can try: >
> begin transports
> remote_smtp:
> driver = smtp
> serialize_hosts = *
>
> This solution is better (if it works) because messages will not wait for
> next queue run.
I tried this, but it seems to have a slightly different result. It does
only make one connection to the smarthost, but once it has sent that
message it skips all remaining messages in the queue because the single
allowed smarthost connection is in use. (Perhaps because it was doing
it in parallel.)
This means that only one message is sent each time the queue runs, so
for 1000 messages the queue will need to be run through 1000 times!
Even if it was changed so that no parallel deliveries were permitted, it
looks like it will still disconnect from the smarthost after each message.