To: "Colin J. Raven" <cjraven(_at_)quik(_dot_)com>
From: Philip Guenther <guenther(_at_)gac(_dot_)edu>
"Colin J. Raven" <cjraven(_at_)quik(_dot_)com> writes:
Sometime ago, I seem to recall someone posting a solution that allows
a person to send an entire mail folder to another recipient, (or
myself when changing ISP's) so for example, send my in-procmail
folder from me(_at_)account1 to me(_at_)account2(_dot_) Does anyone recall
this
post?
First, set up the forwarding so that you don't have to worry about
messages being delivered to me(_at_)account1's mailbox. Then, assuming
me(_at_)account1's mailbox is in mbox format, you can just use formail to
split the mailbox and invoke sendmail on each one:
formail -Y -s sendmail me(_at_)account2 < /path/to/mailbox
I use this a lot, but hadn't seen the -Y flag to formail. I
just looked. Is there a danger if it's not used? Are Content-Length:
fields somehow bad? (-Y causes ignore to them.)
--
\ .-. .-. .-. .-. .-. .-. .-. /
\-d-/-m-\-a-/-n-\-(_at_)-/-n-\-e-/-t-\-c-/-o-\-m-/-.-\-c-/-o-\-m-/
'-' '-' '-' '-' '-' '-' '-' '-'