Metamail Alternatives on Solaris 10

Hi All,

We have been trying to Install Metamail on our Solaris 10 server but have failed to do so.
We are a bit topo short of time here so are now trying to Explore any Meta Mail alternatives.

What we basically want to do is:

Server will recieve email, Procmail will recieve the email and Feed it to the utility like Metamail and the out put of Metamail will be passed to one of our programs (Shell script) which will process the Decoded mail further.

We are using a similar thing already on our AIX box, and we want to now Migrate to Solaris and that is where its giving us a Issue.

Please Help!!!