mhonarc-users

Re: Cutting lines (removing signature)

2003-09-16 09:48:57
Jeroen FF Heijmans wrote:
I added next lines as first ones in my blog.mrc (from the site):
<MIMEFilters>
application/x-patch;       m2h_text_plain::filter;      my-txtplain.pl
message/delivery-status;   m2h_text_plain::filter;      my-txtplain.pl
message/partial;           m2h_text_plain::filter;      my-txtplain.pl
text/*;                    m2h_text_plain::filter;      my-txtplain.pl
text/plain;                m2h_text_plain::filter;      my-txtplain.pl
x-sun-attachment;          m2h_text_plain::filter;      my-txtplain.pl
</MIMEFilters>

That was not very wise... By doing so, you tell MHonArc to filter all those MIME types using the filter designed for plain text messages. To start with, you'd better just have:

    <MIMEFilters>
    text/plain; m2h_text_plain::filter; my-txtplain.pl
    </MIMEFilters>

Then, when you have made it work, you may want to make similar custom filters for other MIME types as well.

But still the signatures stay in de posts.

If you are testing it by adding messages, try including the -rcfile option:

    prompt> mhonarc -add -rcfile ...

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl


---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-USERS

<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], Jeroen
    • Re: Cutting lines (removing signature), Gunnar Hjalmarsson <=