When I try this on Debian Squeeze
date |mail -s "mail test " myUser
with mail command get
No mail for myUser
When I try this on Debian Squeeze
date |mail -s "mail test " myUser
with mail command get
No mail for myUser
default the mail command isn't used to send mail but to read it.
on debian box install xmail to be able to send mail:
this will allow you to send mail using your command