How to deliver quarantined email with exim

Julian Field MailScanner at
Tue Apr 1 20:48:58 IST 2008

Kirk Lowery wrote:
> On Tue, Apr 1, 2008 at 2:49 PM, Julian Field
> <MailScanner at> wrote:
>>  Kirk Lowery wrote:
>>  > On Tue, Apr 1, 2008 at 2:01 PM, Julian Field
>>  > <MailScanner at> wrote:
>>  >
>>  >
>>  >> Move them into /var/spool/exim/input, make sure they have exactly the
>>  >>  same ownership, group and permissions as all the other files in there,
>>  >>  and Exim should pick them up and deliver them.
>>  >>  To hurry the process along, something like
>>  >>  /usr/sbin/exim -C /etc/exit/exit_send.conf -Mc message-id-here
>>  >>  should kick it into making a delivery attempt.
>>  >>
>>  >
>>  > Thanks for your response.
>>  >
>>  > Here's what happened:
>>  >
>>  > delivering 1Jgjhp-0003fH-PS
>>  > LOG: MAIN
>>  >   Spool file 1Jgjhp-0003fH-PS-D not found
>>  >
>>  > Is there something wrong with my conf file?
>>  >
>>  Not if it normally works. See if you can make the outgoing exim do a
>>  complete run of the queue. It should do this periodically anyway, so the
>>  reason it couldn't find the file might be that it has already been
>>  delivered. Has the files (-D and -H) gone since you moved them there?
> In the incoming exim queue new messages are coming in. They have the
> "-D" and "-H" suffix added to the message id. When I run "exim -q",
> they are delivered just fine. But the messages from the MailScanner
> quarantine directory do not have two files per message with these
> suffixes. There is only one file with the message id as the file name.
You need to look up the "Quarantine Whole Messages As Queue Files =" 
setting in MailScanner.conf. If you want to be able to release messages 
by dropping them back into the outgoing queue, this needs to be set to 
"yes". I guess yours is "no" right now.


Julian Field MEng CITP CEng
Buy the MailScanner book at

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key:

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list