Re: demime.pl related problem

Zhiliang <[email protected]> Tue, 21 Sep 2010 13:28:43 -0500 (CDT)
Newsgroups gmane.mail.smartlist.user
Message-ID <[email protected]>
On Tue, 21 Sep 2010, Richard Ball wrote:

> Date: Tue, 21 Sep 2010 13:04:21 -0400
> From: Richard Ball <[email protected]>
> To: [email protected]
> Subject: Re: demime.pl related problem
>
>  On 21-9-2010 12:44, Zhiliang wrote:
>> I have "demime.pl" working fine on my list for a while, except once a
>> while some spam mail cause this error to appear in a mail to the
>> listmaster:
>>
>>    450 Lynx formatting failed: open3: exec of lynx --stdin
>>    --dump --force_html --hiddenlinks=ignore --localhost
>>    --image_links --nolist --noredir --noreferer --realm
>>    failed at /var/list/bin/demime.pl line 1519
>>
>> I could't figure out why and I was not really bothered as long as normal
>> mailing works fine and the spam is filtered out.  Now something weird
>> happened -- upon a normal post by a legitimate user, the Smartlist
>> completely replaced the mail body with this error line to have posted to
>> the list.
>>
>> Could anyone help for hints what could be wrong?
>>
>> FYI - the demime.pl recipe is the very first before all others in
>> rc.local:
>>
>>    :0 fw
>>    | /var/list/bin/demime.pl -
>>
> That looks like a lynx error so I'd start by running the original
> message through lynx and see if you can work out why it is having a
> formatting problem.
>
> You could also try replacing the lynx call with one to elinks (or w3m)
> and see if that works better for the problem messages.
>
> Mind you, I don't use smartlist nor demime nor lynx etc. any more so
> your mileage may vary :-)
>
> Rich

You mean the (old) text-only linux browser "lynx"?  I don't have it on the 
system (probably that's why!). I only looked for "open3" from its 
depenecies :-|

Wonder why "demime.pl" needs to make http calls... I may need to look for 
a replacement for "demime.pl".

Thank you for suggestions on elinks etc. That's useful!

Zhiliang