porting procmail [sick and tired of spam]

Hi techies,

It’s as though my email address has propagated to every corner of the
Internet. More and more of those “Make Money Fast!!” and “Find Out
Everything About Everyone!!” and other titles not worth mentioning in
this
decent newsgroup keep appearing in my mailbox. Unfortunately it’s not
easy
to change my email address.

Anyway, this lead me to take shot at porting procmail. (I couldn’t find
any already ported version on QDN for QNX4). Anyone by coincidence also
busy with this would like to compare notes?

Here’s what I’ve done so far: I can build the version 3.21 binaries.
(I’ve
included a patch as an attachment to this post.) But I’ve done
practically no
testing at all. So the usual “use at your own risk” and “not responsible
for any damage” yadayada disclaimers apply here.

I must say I’m not too impressed with the programming style. For one
I’ve
encountered a couple of “Assignment found in boolean expression”
warnings.
One of them I’m almost sure is a bug, so I changed the “=” to “==”.

You’ll need pdksh to build it. Here’s a quick recipe:

zcat procmail3.21.tar.gz | pax -vr

  • apply the patch (see attachment)

patch -p0 -E < procmail-3.21-qnx.diff

  • build the thing

make SHELL=/usr/local/bin/pdksh # I assume that’s where your pdksh is

make install SHELL=/usr/local/bin/pdksh

Test it out.

Any tips, comments appreciated.

regards,
rick
at anp dot nl (I’m sure a human reader can decipher this email address
:slight_smile: