How to deliver quarantined email with exim

Glenn Steen glenn.steen at gmail.com
Tue Apr 1 21:04:44 IST 2008


On 01/04/2008, Julian Field <MailScanner at ecs.soton.ac.uk> wrote:
>
>
>  Kirk Lowery wrote:
>  > On Tue, Apr 1, 2008 at 2:49 PM, Julian Field
>  > <MailScanner at ecs.soton.ac.uk> wrote:
>  >
>  >>
>  >>  Kirk Lowery wrote:
>  >>  > On Tue, Apr 1, 2008 at 2:01 PM, Julian Field
>  >>  > <MailScanner at ecs.soton.ac.uk> 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.
>
Um... Doesn't exim have the "convenience" sendmail command?
In which case one should be able to do the usual "sendmail -t -o -i <
file" thing ... These files would be RFC822 "coded" files, that that
command should be able to handle directly. They're in the spam
quarantine, right?

Cheers
-- 
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list