mail command fails

Ok here is the deal...

Some cron scripts that clients use call the "mail" command in console which is fine but it fails...

Example of one:


[budo.ch@mcqueen ~]
$ mail -v sgrayban@gmail.com
Subject: testing email
testing email
Cc:
sgrayban@gmail.com... Connecting to [127.0.0.1] port 587 via relay...
220 mcqueen.openstream.ch ESMTP server ready at Fri, 15 Aug 2008 14:54:00 +0200
>>> EHLO mcqueen.openstream.ch
250-mcqueen.openstream.ch Hello budo.ch@localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE 52428800
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-DELIVERBY
250 HELP
>>> MAIL From: SIZE=61 AUTH=budo.ch@mcqueen.openstream.ch
553 5.3.0 ... User unknown
/home/budo.ch/dead.letter... Saved message in /home/budo.ch/dead.letter
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 mcqueen.openstream.ch closing connection
Can't send mail: sendmail process failed with error code 65

As you can see it says user unknown. Is that because they aren't in the /etc/alias ? or is my sendmail.mc file wrong that prevents this?

Status: 
Closed (fixed)