Re: demime.pl related problem

Richard Ball <[email protected]> Tue, 21 Sep 2010 13:04:21 -0400
Newsgroups gmane.mail.smartlist.user
Message-ID <[email protected]>
  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