Tuesday, September 04, 2001, 8:43:52 AM, David W. Tamkin wrote:
DWT> First, Timothy, uninstall that horrible MUA you're using that messes with
Yeah I'm not thrilled with that either.
I'm trying (have not bought) TheBat as I'm trying to get an MUA more
robust that Outlook, which bites the big kaooey.
DWT> and send to eternal damnation (you can do that, can't you?) the creep
DWT> who tricked you into buying it. "
We try to minimize the eternal damnation stuff whenever possible ;-)
DWT> What happens if you add the `b' flag? Will metamail accept the headless
DWT> body and process it the way you want? Note that without the `B' flag
DWT> procmail will still search the head, not the body, for the regexp in the
DWT> condition, as you want.
metamail needs the header information to figure out the correct MIME
If I send it just the body, the filename for the attachment gets
mucked up, which is what I was trying to avoid.
DWT> If not, there's always this hack:
DWT> * ^Content-Type: multipart/mixed
DWT> | sed -e1h -e1!H -e\$G
DWT> :0fwb #body now includes spare copy of head
DWT> | metamail -q -x
Oh, I like that :-)
Thanks -- that seems to work. I have to test it against some other
abominations like HTML mail, but this makes for a nice, clean
Once I have it tested and working better, I'll post it to the list in
its revised form.
procmail mailing list