Re: exim queueing
Frank Van Damme wrote, On 2013-02-19 3:17 AM:
Hi,
most of my Debian serves have an Exim daemon running as satellite to
another server. I'm experiencing delays at the moment and trying to
send mail using the "sendmail" command from the command line, it
appears that the entire process of routing and delivering to the
smarthost is handled before the process exits (which is probably what
is cauwing the delay). For my purposes, it would be more interesting
to queue the messages and have the mail server send them later, in
batches. Is that possible or is it just not the way Exim works?
exim can be instructed (via the main configure file) to always queue:
queue_only
however the default is NOT to queue_only.
#queue_only
it can be told to run the queue a certain # of simultaneous times:
queue_run_max = 2
queue_run_max = 99
However, you may be experiencing a different feature of exim.
That is to verify recipient BEFORE delivery.
Within an ACL, there may be an instruction:
verify = recipient
or
verify = recipient/callout=10s
or
require verify = header_sender
which will force your exim process to 'verify' (to the best of its
ability) that the recipient address is valid. If the recipient addy
is off-site, exim may well be performing a callout (a dummy delivery)
to the address to see if the server would accept it. It the server is
acting as a relay, then it seems prudent to verify BOTH sender AND
recipient before it creates loops of failure messages.
exim is extremely flexible. It can be instructed to queue 'only' if
the server load exceeds a certain number.
Reply to: