James Arlen:

> Question: 
> What is the most efficient way to reprocess a Mailbox through the .qmail-
> scheme?


> Background:
> We recently came to the aid of a domain that lost its primary and
> secondary server and the entire list of email recipients.  We accepted
> delivery of messages into a ./Mailbox.  For the past week we have been
> collecting up usernames and placing them in .qmail-* files with forwarding
> information. All mail for which we had (have) no destination is being
> stored in a single Mailbox (about 100 megs now) through the use of a
> .qmail-default


> Is there a simple way to reprocess our mailbox and get some more of these
> messages delivered?

[...]

Get procmail which includes formail which can split up a mailfile into
indvidual messages, omit specified headers and pipe each message into
a program with the -s option. You might need to delete (via the -I
option of formail) the Delivered-To: header to avoid mail loop
detection. It might be safer to not pipe the rewritten message
directly into qmail-inject, but to create individual files for each
message, check them for sane content and then feed all the message
files into qmail-inject. 

Actually, does not mess822 provide similar functionality?



-- 

Joerg Lenneis

email: [EMAIL PROTECTED]

Reply via email to