in reply to SENDMAIL problem!
Firstly you don't specify how it doesn't work - does it throw an error or simply not send any mail.
Secondly I think you want /usr/sbin/sendmail -oi -t if you are expecting sendmail to parse the recipient address from the headers of the message you feed it.
/J\
|
|---|