On Thu, Sep 07, 2000 at 12:27:01PM -0700, M.B. wrote:
> We have lots of old mail sitting in users' mailboxes and rather
> than just purge it after a certain time, it has been requested that
> I bounce it back to the sender.
>
> I know how to get individual mail from maildirs to qmail-inject,
> but how can I get them to go back to the sender as a bounce?
Primarily you should set Return-Path: to <> and probably replace
the From: line. Having a look at a qmail generated bounce is a good
idea.
That's really about all there is to it. You of course will want to set the
subject accordingly as well as provide a reason for the bounce at the
top of the email, nothing a little perl magic can't do.
Regards.