Qmail
[Top] [All Lists]

Re: Putting delivered mail back in the queue

To: qmail@list.cr.yp.to
Subject: Re: Putting delivered mail back in the queue
From: "Rick Root" <rick.root@webworksllc.com>
Date: Tue, 23 Jan 2007 14:46:48 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: gmail-qmail@securepoint.com
Delivered-to: sp.com.list@gmail.com
Delivered-to: mailing list qmail@list.cr.yp.to
In-reply-to: <20070123163056.GA28235@discworld.dyndns.org>
Mailing-list: contact qmail-help@list.cr.yp.to; run by ezmlm
References: <b528d9d90701230725n1d4a2952g2cfa73c99b7173f9@mail.gmail.com> <20070123154832.GA28000@discworld.dyndns.org> <b528d9d90701230805j6e70ceffn1e4558dbffbfc32d@mail.gmail.com> <20070123163056.GA28235@discworld.dyndns.org>
On 1/23/07, Charles Cazabon <qmail@discworld.dyndns.org> wrote:
>
>    #!/bin/bash
>    for X in *viviotech*
>    do
>            cat $X | /var/qmail/bin/qmail-inject
>    done

Ouch.  Note that will do the wrong thing in many cases: whenever you received
a message that was distributed to others as well, the other addresses listed
in To:, cc:, bcc:, and Apparently-to: will get new copies of the message.
Mailing list mail will be re-injected back to the mailing list.  Kittens will
die, trees will fall, and mail administrators everywhere will curse the ground
you walk on.
So I noticed =)  Luckily I didn't run it on my entire maildir ;)
 
It ended up working fine when I added the -An options, specified the envelope sender with the -f option, and specified the envelope recipient (my email)
 
I hope not TOO many kittens died.

--
I'm not certified, but I have been told that I'm certifiable...
Visit http://www.opensourcecf.com today!
<Prev in Thread] Current Thread [Next in Thread>