Dallman Ross <dman(_at_)netcom(_dot_)com> writes:
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.)
If you don't use Content-Length: fields locally then any that appear in
received mail messages may contain completely bogus values. Consider what
would happen if someone sent you a mail message (like _this_ one, heh
heh) with a Content-Length: of, say, 999999. Try splitting a mailbox
with that message in the middle of it using formail _without_ the -Y
flag and see what happens.
If you don't set it yourself, you should _never_ trust it.
Philip Guenther