Member
Registered: Aug 2003
Posts: 57
Rep:
|
sendmail won't send from shell or php script
I was able to successfully test outgoing mail from my Fedora core 2 machine with mail -s "test" root, when I set it up. I have since added a few virtual hosts to the apache server which work fine. Now the mail command results in the following logged to /var/log/maillog
Aug 5 14:53:13 delight sendmail[2814]: i75IrCY0002814: from=root, size=36, class=0, nrcpts=1, msgid=<200408051853.i75IrCY0002814@delight.asce
nsionweb.com>, relay=root@localhost
Aug 5 14:53:13 delight sendmail[2815]: i75IrD3w002815: tcpwrappers (delight.ascensionweb.com, 127.0.0.1) rejection
Aug 5 14:53:13 delight sendmail[2814]: i75IrCY0002814: to=root, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30036,
relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable
Aug 5 14:53:13 delight sendmail[2814]: i75IrCY0002814: i75IrCY1002814: DSN: Service unavailable
Aug 5 14:53:13 delight sendmail[2814]: i75IrCY1002814: to=root, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31060, relay=[127.0.0.1],
dsn=5.0.0, stat=Service unavailable
Aug 5 14:53:13 delight sendmail[2814]: i75IrCY1002814: i75IrCY2002814: return to sender: Service unavailable
Aug 5 14:53:13 delight sendmail[2814]: i75IrCY2002814: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=32084, relay=[127.0.
0.1], dsn=5.0.0, stat=Service unavailable
Aug 5 14:53:13 delight sendmail[2814]: i75IrCY1002814: Losing ./qfi75IrCY1002814: savemail panic
Aug 5 14:53:13 delight sendmail[2814]: i75IrCY1002814: SYSERR(root): savemail: cannot save rejected email anywhere
the php script we use results in a similar log:
Aug 5 12:12:36 delight sendmail[31902]: i75GCapX031902: from=apache, size=1272, class=0, nrcpts=1, msgid=<200408051635.85e103302544@wow.warcr
aftstrategy.com>, relay=apache@localhost
Aug 5 12:12:36 delight sendmail[31903]: i75GCac8031903: tcpwrappers (delight.ascensionweb.com, 127.0.0.1) rejection
Aug 5 12:12:36 delight sendmail[31902]: i75GCapX031902: to=massmooth@hotmail.com, ctladdr=apache (48/48), delay=00:00:00, xdelay=00:00:00, ma
iler=relay, pri=31272, relay=[127.0.0.1] [127.0.0.1], dsn=5.0.0, stat=Service unavailable
Aug 5 12:12:36 delight sendmail[31902]: i75GCapX031902: i75GCapY031902: DSN: Service unavailable
Aug 5 12:12:37 delight sendmail[31902]: i75GCapY031902: to=apache, delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=32296, relay=[127.0.0.1
], dsn=5.0.0, stat=Service unavailable
Aug 5 12:12:37 delight sendmail[31902]: i75GCapY031902: i75GCapZ031902: return to sender: Service unavailable
Aug 5 12:12:37 delight sendmail[31902]: i75GCapZ031902: to=postmaster, delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=33320, relay=[127.0
.0.1], dsn=5.0.0, stat=Service unavailable
Aug 5 12:12:37 delight sendmail[31902]: i75GCapY031902: Losing ./qfi75GCapY031902: savemail panic
Aug 5 12:12:37 delight sendmail[31902]: i75GCapY031902: SYSERR(apache): savemail: cannot save rejected email anywhere
Could someone please point me in the right direction to deciphering this log? Does is have something to do with the virtual hosts, if so how do I configure the outgoing mail to be delivered to anywhere.
Regards,
Dan
|