NYCPHP Meetup

NYPHP.org

[nycphp-talk] OT: Unable to receive mail

Keith J Richardson Keith.Richardson at thompsonhealth.com
Wed Jan 14 08:01:50 EST 2004


Here at work we use a MS Exchange 2000 server, which was installed recently. The one thing that they disabled was SMTP access unless you were logged into the domain, and they had to disable that to allow PHP to send emails. I am sure that we can make it "log on" to the mail server, but right now we decided not to.

Here is my php.ini settings:
SMTP is set to 172.17.1.13 (Internal Email server IP Address, not addressable from the internet)
sendmail_from is set to php at thompsonhealth.org (an alias that I created for my account)
sendmail_path is blank.

I can create an email message with those settings just by doing:
mail("keith.richardson at thompsonhealth.org","this is a test subject","This is a test message");

and it will send an email to myself.

maybe it is a problem with your email address not being on the exchange server, so it denys email messages sending through it from you? I would believe that this is some setting in exchange that is blocking you.

-----Original Message-----
From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org]On Behalf Of Jeff Siegel
Sent: Tuesday, January 13, 2004 9:49 PM
To: NYPHP Talk
Subject: [nycphp-talk] OT: Unable to receive mail


I'm having what might be called a long-running "feud" with a client. 
Their computer tech claims the problem is in my code...I claim the 
problem is in their mail server. Here's the scenario.

A PHP form sends out two emails upon completion: one to the client and a 
confirmation copy to the person who filled out the form. If I use my own 
email address in place of my client's address, I always receive the 
emails that come from the form. If I substitute my client's address as 
the recipient, the client never receives the email.

I suspect that the problem lies in the configuration of the client's 
mail server, namely MS Exchange Server, that has a number of things shut 
down (or perhaps, filtered is the right term) so that spammers don't use 
their mail server. (Yes, this happened to them...some spammer figured 
out that they could use their mail server to send out a zillion emails.)

Below is a copy of the message headers. What I think is happening is 
that whatever they've configured in Exchange Server prevents a message 
with these headers from getting through.

Any help with this is greatly appreciated.

Jeff Siegel
====================================
MESSAGE HEADERS
FYI:
1) hofweb8.com is the ISP's mail server.
2) "website.com" doesn't exist...it's a bogus name

====================================
 From - Tue Jan 13 17:43:24 2004
X-UIDL: 365417
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <mediplus at hofweb8.com>
Received: from hofweb8.com (hofweb8.com [209.139.92.11])
         by dauntless.cnchost.com (ConcentricHost SMTP MX 1.43)
         id RAA20576 for <jsiegel at mydomain.com>; Tue, 13 Jan 2004 
17:41:56 -0500 (EST)
Errors-To: <mediplus at hofweb8.com>
Received: from mediplus by hofweb8.com with local (Exim 4.20)
	id 1AgXE9-0002aK-8f
	for jsiegel at mydomain.com; Tue, 13 Jan 2004 17:41:37 -0500
To: jsiegel at mydomain.com
Subject: A new IME-Peer Review Request: Ref. Num.: C9D1567DFD6247
From: "jerrywebreferral at website.com" <jerrywebreferral at website.com>
Reply-To: <jerrywebreferral at website.com>
X-Sender: <jerrywebreferral at website.com>
X-Mailer: PHP4
X-Priority: 1
Message-Id: <E1AgXE9-0002aK-8f at hofweb8.com>
Date: Tue, 13 Jan 2004 17:41:37 -0500
X-AntiAbuse: This header was added to track abuse, please include it 
with any abuse report
X-AntiAbuse: Primary Hostname - hofweb8.com
X-AntiAbuse: Original Domain - mydomain.com
X-AntiAbuse: Originator/Caller UID/GID - [1118 1119] / [26 6]
X-AntiAbuse: Sender Address Domain - hofweb8.com
X-UIDL: 365417


_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk



More information about the talk mailing list