procmail
[Top] [All Lists]

Re: Add a home grown header

1999-10-10 12:19:43
"David W. Tamkin" <dattier(_at_)Mcs(_dot_)Net> writes:

Harry Putnam asked,

| :0 HB
|  * ^Content-Type: text/html
|    {
|     :0
|     | formail -I "X-HTML: HTML message" >> /var/spool/mail/reader
|     }
| 
| No doubt this will introduce horrible locking problems, but I couldn't
| quite figure out how to do this more elegantly, without a redirect but
| still have the mail land in $DEFAULT mail box.

  :0HBfh
  * ^Content-Type: text/html
  | formail -I "X-HTML: HTML message"

Yup, thats a lot cleaner.... sends only the head that gets the edit to
the pipe.  I'd over looked the filter flag too..... Thanks

<Prev in Thread] Current Thread [Next in Thread>