I have noticed that some of my emails that are being sent out have no sender. I know this is again RFC policy so I am trying to fix it but I don't know where to start looking. I have programs that I wrote in php that automatically send out email. Are my programs not entering in the sender or is that something that sendmail is configured to do. Am I suppose to have something configured in the sendmail.mc file that I don't have possibly.
Here is an example email:
From MAILER-DAEMON@<mydomain>.com Mon Jun 14 08:39:17 2004
Date: Mon, 14 Jun 2004 08:39:17 -0600
From: Mail Delivery Subsystem <MAILER-DAEMON@<mydomain>.com>
To: postmaster@<mydomain>.com
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="i5EEdH830859.1087223957/<mydomain>.com"
Subject: Postmaster notify: see transcript for details
Auto-Submitted: auto-generated (postmaster-notification)
This is a MIME-encapsulated message
--i5EEdH830859.1087223957/<mydomain>.com
The original message was received at Mon, 14 Jun 2004 08:39:16 -0600
from apache@localhost
with id i5EEdG930856
----- The following addresses had permanent fatal errors -----
mrsathya@india.com
(reason: 550 <>: No thank you rejected: Account Unavailable, Possible Forgery)
----- Transcript of session follows -----
... while talking to india-com.mr.outblaze.com.:
>>> RCPT To:<cathyg@india.com>
<<< 550 <>: No thank you rejected: Account Unavailable, Possible Forgery
550 5.1.1
mrsathya@india.com... User unknown
550 5.1.1 @... User unknown
--i5EEdH830859.1087223957/<mydomain>.com
Content-Type: message/delivery-status
Reporting-MTA: dns; <mydomain>.com
Arrival-Date: Mon, 14 Jun 2004 08:39:16 -0600
Final-Recipient: RFC822;
cathyg@india.com
Action: failed
Status: 5.1.1
Remote-MTA: DNS; india-com.mr.outblaze.com
Diagnostic-Code: SMTP; 550 <>: No thank you rejected: Account Unavailable, Possible Forgery
Last-Attempt-Date: Mon, 14 Jun 2004 08:39:17 -0600