procmail
[Top] [All Lists]

Re: How to send From: Subject: and body < 512 bytes to another program?

1999-05-13 14:09:35
Good idea! Why can I never think of the simple way to solve a problem, only
the hairy, complex ways....

formail is definitely a super tool for this job.

And if limiting to the first 15 lines is too rough, and you want to e.g.
guarantee that no more than 512 bytes are sent, you could combine the ideas
and

        | formail -k -X From: -X Subject: | dd bs=1 count=512

-Bennett