It would be helpful if you posted your code, using
<code> tags.
I can then get an idea of where you are going wrong.
How are you using the -f switch? It seems to me all you need to do is use
-f sender
and you're fine.
Azatoth a.k.a Captain Whiplash
Make Your Die Messages Full of Wisdom!
Get YOUR PerlMonks Stagename here!
Want to speak like a Londoner?