[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with sendmail, error code 67.

Richard A Nelson wrote:
On Mon, 2 Jul 2007, Shams Fantar wrote:

I have used Google to have the answers at my problem, but I did not find anything.

You need more practice, the 1st page of my only search turned up this:
Take a look at /usr/include/sysexits.h on your system.  It lists all of
the standard exit codes for programs.  On a Linux 2.0.35 system I

   #define EX_NOUSER       67      /* addressee unknown */

And further up:

   *      EX_NOUSER -- The user specified did not exist.  This might
   *              be used for mail addresses or remote logins.

I did not know /usr/include/sysexits.h. ;-)

If I make 'sendmail -s testing sfantar@localhost', the prompt doesn't come back and there is no message. But if I make 'mail -s testing sfantar@localhost', I have an error message : Can't send mail: sendmail process failed with error code 67

sendmail and mail are different commands, with different syntax, it
isn't surprising that you see different results.

Yes, I know, I tested just.

My php.ini for mail() : sendmail_path = /usr/sbin/sendmail -t -i

Looks good

If I want to use mail(), I can't !

Because you are passing bad data, have a misconfigured mta, or both.

There is nothing in the logs.

If there is truly nothing in /var/log/mail.log, it implies that sendmail
saw the mail recipient as being local, and as such, refused to accept
the mail for a non-existant local user.

Yes, you are right. But, what is the solution ? I have no idea...

Logs of errors : http://jumble.snurf.info/pb_sendmail

$ mail -stesting asdf@localhost
Cc: Null message body; hope that's ok
/home/cowboy/dead.letter... Saved message in /home/cowboy/dead.letter
Can't send mail: sendmail process failed with error code 67

Shams Fantar (http://snurf.info)

Reply to: