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\
In reply to Re: SENDMAIL problem!
by gellyfish
in thread SENDMAIL problem!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |