procmail
[Top] [All Lists]

Re: About HTML email recipe in pm-tips

2002-05-12 04:49:12
Marco asked Sean,


| Considering this, is the following enough?
|
| :0b:
| * ^Content-Type:[       ]*text/html
| | w3m -dump -T text/html

Sounds like it.

| Another question is why you put five spaces inside the square
| brackets. Wouldn't one ( i.e. [ ]* ) be enough?

There were surely a space and a tab between the brackets; somewhere along the
line a mail transport or somebody's client mutated the tab into enough spaces
to reach the same column position.

| Last but not least: I understand the sandbox suggestion, but can't
| remember how do you re-process from the command line a mailbox file
| previously created. What's the trick?

If it's the sort of file that can contain only one message,  procmail < file
will do it.  If it's an mbox and can have more than one message,
formail -s procmail < file  is the right way.





_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail