[TriLUG] sending mail with PHP
brian at strutmasters.com
Fri Sep 3 08:38:17 EDT 2004
Okay, I haven't fixed it yet, but I believe I am MUCH closer.
Today I had the revelation... Since I can't seem to find any useful data in
the logs, and since PHP's mail() function simply invokes /usr/sbin/sendmail,
how about I do a verbose sendmail command in the shell and see what it tells
me? And here's the kicker:
[me at it]$ /usr/sbin/sendmail -v -t
To: <brian at strutmasters.com>
From: <brian at strutmasters.com>
Subject: Testing, you creep!
Yeah, that's right, chump, this is a test!
<brian at strutmasters.com>... Connecting to [127.0.0.1] via relay...
<brian at strutmasters.com>... Deferred: Connection refused by [127.0.0.1]
Dun dun dunnnn! Connection refused by 127.0.0.1. Just as I was beginning
to suspect. So the question now becomes, where do I start tinkering to get
sendmail to accept connections from localhost? I'll be nosing around while
I wait for replies; I just figured someone who knew might be able to reduce
the number of shots I have to take in the dark.
----- Original Message -----
From: "Jeremy Portzer" <jeremyp at pobox.com>
To: "Triangle Linux Users Group discussion list" <trilug at trilug.org>
Sent: Thursday, September 02, 2004 4:07 PM
Subject: Re: [TriLUG] sending mail with PHP
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
More information about the TriLUG