quarantined HAM in queue files

Glenn Steen glenn.steen at gmail.com
Thu Apr 26 13:33:16 IST 2007


On 26/04/07, Drew Marshall <drew at technologytiger.net> wrote:
> On Thu, April 26, 2007 10:16, Bart van den Heuvel wrote:
> > OK, so i can leave the extention out when i copy the queue file.
>
> Well sort of. You shouldn't be copying anything with that extension. if
> you cd /var/spool/MailScanner/quarantine/<date>/<queuefile>.<4digits> and
> list the contents, what do you get?
>
> You should see another file just called <queuefile> this is the one to
> change the permissions, owner (If required) and copy to the relevent
> queue.

True for the "normal" quarantine Drew... But I think Bart is looking
at the spam quarantine, where he just has the queue file (if
quarantining non-queue files, it'd be the RFC822-decoded message in a
file named <queue ID>.<random 5>). So... We're not (hopefully)
completely wrong:-).

> > The main problem is that if i requeue the file in the respective queue the
> > message stands there until i do a (in webmin it is also not mentioned as a
> > queued message):
> >
> > postfix check
> >
> > then the file disapeares into nothingness, it is never mentioned in any
> > log (/var/log/mail.log) even postfix -vv check never mentionds the queue
> > file operation.
>
> The reason the file you are copying will go is that Postfix will recreate
> the hashed queue directories if it detects no mail in the queue. The file
> you have been moving about can't be a queue file (As Postfix knows it) or
> it would have been detected and processed.
>

Hm. Might it actually be an RFC822 file? Easy enough to check with a
regular pager like less, and possibly postcat. ... In which case the
advice about using sendmail (the conveniance command) or similar tool
would come into play (from the wiki doc).

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