Email Help
I'm having problems sending email from apache/php on my server. Actually 2 problems. Here's a bit of the /var/log/maillog,
Code:
Jan 7 14:46:51 localhost sendmail[1860]: j07Kkpu0001860: Authentication-Warning: www.mydomain.com: apache set sender to /dev/null using -f Jan 7 14:46:51 localhost sendmail[1860]: j07Kkpu0001860: from=/dev/null, size=875, class=0, nrcpts=1, msgid=<200501072051.743b57816928@www.mydomain.com>, relay=apache@localhost Jan 7 14:46:51 localhost sendmail[1862]: j07KkpjQ001862: from=</dev/null@www.mydomain.com>, size=1145, class=0, nrcpts=1, msgid=<200501072051.743b57816928@www.mydomain.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] Jan 7 14:46:51 localhost sendmail[1860]: j07Kkpu0001860: to=chad@myotherdomain.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30287, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j07KkpjQ001862 Message accepted for delivery) Jan 7 14:46:51 localhost sendmail[1864]: j07KkpjQ001862: to=<chad@myotherdomain.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30557, relay=mail2.dnsvr.com. [216.40.250.39], dsn=2.0.0, stat=Sent (Ok: queued as 90C89B63E4) Jan 7 14:46:53 localhost sendmail[1865]: j07KkrOu001865: Authentication-Warning: www.mydomain.com: apache set sender to /dev/null using -f Jan 7 14:46:53 localhost sendmail[1865]: j07KkrOu001865: from=/dev/null, size=882, class=0, nrcpts=1, msgid=<200501072053.3e14a3757765@www.mydomain.com>, relay=apache@localhost Jan 7 14:46:53 localhost sendmail[1867]: j07KkrjQ001867: from=</dev/null@www.mydomain.com>, size=1152, class=0, nrcpts=1, msgid=<200501072053.3e14a3757765@www.mydomain.com>, proto=ESMTP, daemon=MTA, relay=localhost.localdomain [127.0.0.1] Jan 7 14:46:53 localhost sendmail[1865]: j07KkrOu001865: to=myyahoo@yahoo.com, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30294, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (j07KkrjQ001867 Message accepted for delivery) Jan 7 14:46:54 localhost sendmail[1869]: j07KkrjQ001867: to=<myyahoo@yahoo.com>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30564, relay=mx2.mail.yahoo.com. [67.28.114.36], dsn=2.0.0, stat=Sent (ok dirdel)
www.mydomain.com and www.myotherdomain.com (Virtual hosting). I tried to
send an email to chad@myotherdomain.com, I never got the email (first problem).
When I sent an email to
myyahoo@yahoo.com (the second email) I received it with the return address of
/dev/null@www.mydomain.com (second problem).
I then telneted into localhost 25 and sent an email to chad@myotherdomain.com
and I was able to recieve that email
so I know my ISP isn't blocking the email.
Any help would be appreciated.
thanks,
--chad