Thread View: comp.mail.pine
4 messages
4 total messages
Started by Dale Wharton
Tue, 22 Jan 2002 02:04
"Problem filtering!" --UNIX pine 4.31
Author: Dale Wharton
Date: Tue, 22 Jan 2002 02:04
Date: Tue, 22 Jan 2002 02:04
20 lines
1489 bytes
1489 bytes
1) To enable hyperlinks in email, I set configuration entry sending-filters=[path]/changemimetype _TMPFILE_ _MIMETYPE_ 2) File <changemimetype> comprises four statements: proc main #!/bin/sh echo -n "Content-Type:text/html" > $2 endproc 3) The arrangement displeases UNIX pine. When I issue ^X Send and accept to have message filtered, pine first says "Filter command returned error," then "Problem filtering! Nothing sent or saved to fcc." It happens with or without HTML tags in the message. 4) How to fix it? TIA for any help! -- Dale Wharton ve2ndw@rac.ca M O N T R E A L Te souviens-tu?
Re: "Problem filtering!" --UNIX pine 4.31
Author: Eduardo Chappa
Date: Tue, 22 Jan 2002 16:46
Date: Tue, 22 Jan 2002 16:46
18 lines
1703 bytes
1703 bytes
*** Dale Wharton (ve2ndw@rac.ca) wrote in comp.mail.pine on Jan 21, 2002: :) 2) File <changemimetype> comprises four statements: :) :) proc main :) #!/bin/sh :) echo -n "Content-Type:text/html" > $2 :) endproc :) :) 3) The arrangement displeases UNIX pine. When I issue ^X :) Send and accept to have message filtered, Unless you have a very good reason to keep the first and last line of your script there, I would remove them and repeat the process. -- Eduardo http://www.math.washington.edu/~chappa/pine/
Re: "Problem filtering!" --UNIX pine 4.31
Author: Dale Wharton
Date: Wed, 23 Jan 2002 00:28
Date: Wed, 23 Jan 2002 00:28
33 lines
2142 bytes
2142 bytes
Eduardo: I lied. Thanks for smoking me out. There were more than the four statements listed below. The others were UNIX comments (preceded by semicolons) intended as inline documentation. Those comments stumped pine. Stripped down to the second and third of the four statements (as you suggested), the filter works. Much obliged ... -- Dale Wharton ve2ndw@rac.ca M O N T R E A L Te souviens-tu? Today (2002 01 22) at 08:46, Eduardo Chappa wrote: > *** Dale Wharton (ve2ndw@rac.ca) wrote in comp.mail.pine on Jan 21, 2002: > > :) 2) File <changemimetype> comprises four statements: > :) > :) proc main > :) #!/bin/sh > :) echo -n "Content-Type:text/html" > $2 > :) endproc > :) > :) 3) The arrangement displeases UNIX pine. When I issue ^X > :) Send and accept to have message filtered, > > Unless you have a very good reason to keep the first and last line of your > script there, I would remove them and repeat the process. > > -- > Eduardo > http://www.math.washington.edu/~chappa/pine/ > >
Re: "Problem filtering!" --UNIX pine 4.31
Author: bill davidsen
Date: Tue, 29 Jan 2002 16:50
Date: Tue, 29 Jan 2002 16:50
17 lines
2133 bytes
2133 bytes
In article <Pine.OSF.4.31.0201221643430.16246-100000@alcor.concordia.ca>, Dale Wharton <ve2ndw@rac.ca> wrote: | Eduardo: I lied. Thanks for smoking me out. | | There were more than the four statements listed below. The | others were UNIX comments (preceded by semicolons) intended | as inline documentation. Those comments stumped pine. What shell uses semicolons instead of # just for grins? Not the /bin/sh you had in the example, I bet. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc Programming without software engineering is like sculpting with a chain saw. The very talented can produce a work of art, the mediocre wind up with a misshapen lump in a pile of rubble, and in neither case does the end result have more than a passing resemblance to the original intent.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads