Can someone please explain to me why sendmail is rejecting mail from apache
(via php's mail() function), yet accepting it from the command line for the
same address? I know it's something silly, I just can't figure it out.
Logfile extract below...
Nov 7 11:06:02 l2 sendmail: gA7B5uL20053: from=abeecher, size=19,
class=0, nrcpts=1, msgid=<200211071105.gA7B5uL20053 at forums.tcm.ie>,
relay=root at localhost
Nov 7 11:06:07 l2 sendmail: gA7B67j20061: from=apache, size=1253,
class=0, nrcpts=1, msgid=<200211071106.gA7B67j20061 at forums.tcm.ie>,
relay=apache at localhost
Nov 7 11:06:09 l2 sendmail: gA7B5uL20053:
to=forums.tcm.ie at spamfilter.cc, ctladdr=abeecher (500/500), delay=00:00:13,
xdelay=00:00:07, mailer=esmtp, pri=30019, relay=johnhoop.beecher.net.
[126.96.36.199], dsn=2.0.0, stat=Sent (gA7B65R16364 Message accepted for
Nov 7 11:06:12 l2 sendmail: gA7B67j20061:
to=forums.tcm.ie at spamfilter.cc, ctladdr=apache (48/48), delay=00:00:05,
xdelay=00:00:05, mailer=esmtp, pri=31253, relay=johnhoop.beecher.net.
[188.8.131.52], dsn=5.0.0, stat=Service unavailable
Nov 7 11:06:12 l2 sendmail: gA7B67j20061: gA7B6Ci20064: DSN: Service
Nov 7 11:06:13 l2 sendmail: gA7B6Ci20064: to=adam.beecher at tcm.ie,
delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=31353, relay=mail.tch.ie.
[172.16.0.90], dsn=2.0.0, stat=Sent (Ok, message saved)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!