Relaying an internal PHP application by Exchange 2013

Hello, dear Fellows,

We use an Exchange 2013 server to relay two web applications via a Front-End Transport Receive Connector, properly configured.
All messages sent by the ASP Web Application, are received by all the recipient domains.
But somes messages sent by the PHP Web Application are not received by some Domains, remaining within the queue, with error messages:
554 5.4.4 SMTP.SEND.DNS.NonExistentDomain;non existent domain
451 4.4.0 Primary Target IP responded with 421 4.7.0 "ServerName" Too many errors "Cannot achieve Exchange Server authentication. Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts"

Do you think this is a PHP problem, or an Exchange problem ?
Thanks for your answers

Djamal Belouizdad
Exchange Administrator

February 17th, 2015 5:47pm

Hello,  Fellows,

We use an Exchange 2013 server to relay two web applications via a Front-End Transport Receive Connector, properly configured.
All messages sent by the ASP Web Application, are received by all the recipient domains.
But somes messages sent by the PHP Web Application are not received by some Domains, remaining within the queue, with error messages:
554 5.4.4 SMTP.SEND.DNS.NonExistentDomain;non existent domain
451 4.4.0 Primary Target IP responded with 421 4.7.0 "ServerName" Too many errors "Cannot achieve Exchange Server authentication. Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts"

Do you think this is a PHP problem, or an Exchange problem ?
Thanks for your answers

Djamal Belouizdad
Exchange Administrator

Free Windows Admin Tool Kit Click here and download it now
February 18th, 2015 8:30am

Hello,  Fellows,

We use an Exchange 2013 server to relay two web applications via a Front-End Transport Receive Connector, properly configured.
All messages sent by the ASP Web Application, are received by all the recipient domains.
But somes messages sent by the PHP Web Application are not received by some Domains, remaining within the queue, with error messages:
554 5.4.4 SMTP.SEND.DNS.NonExistentDomain;non existent domain
451 4.4.0 Primary Target IP responded with 421 4.7.0 "ServerName" Too many errors "Cannot achieve Exchange Server authentication. Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts"

Do you think this is a PHP problem, or an Exchange problem ?
Thanks for your answers

Djamal Belouizdad
Exchange Administrator

February 18th, 2015 1:24pm

Hello,  Fellows,

We use an Exchange 2013 server to relay two web applications via a Front-End Transport Receive Connector, properly configured.
All messages sent by the ASP Web Application, are received by all the recipient domains.
But somes messages sent by the PHP Web Application are not received by some Domains, remaining within the queue, with error messages:
554 5.4.4 SMTP.SEND.DNS.NonExistentDomain;non existent domain
451 4.4.0 Primary Target IP responded with 421 4.7.0 "ServerName" Too many errors "Cannot achieve Exchange Server authentication. Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts"

Do you think this is a PHP problem, or an Exchange problem ?
Thanks for your answers

Djamal Belouizdad
Exchange Administrator

Free Windows Admin Tool Kit Click here and download it now
February 18th, 2015 1:24pm

Hello,  Fellows,

We use an Exchange 2013 server to relay two web applications via a Front-End Transport Receive Connector, properly configured.
All messages sent by the ASP Web Application, are received by all the recipient domains.
But somes messages sent by the PHP Web Application are not received by some Domains, remaining within the queue, with error messages:
554 5.4.4 SMTP.SEND.DNS.NonExistentDomain;non existent domain
451 4.4.0 Primary Target IP responded with 421 4.7.0 "ServerName" Too many errors "Cannot achieve Exchange Server authentication. Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate hosts"

Do you think this is a PHP problem, or an Exchange problem ?
Thanks for your answers

Djamal Belouizdad
Exchange Administrator

February 18th, 2015 4:24pm

Hi,

Do the ASP Web Application and PHP Web Application use the same receive/send connector connectors? Do they have the same authentication?

If not, please use Get-ReceiveConnector |FL and Get-SendConnector |FL to compare the configurations.

Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

Free Windows Admin Tool Kit Click here and download it now
February 18th, 2015 9:43pm

Hi,

Is there any update on this thread?


Thanks,

Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com

 

February 23rd, 2015 5:46pm

Hello Simon

Thanks for your answer.

First, when we experienced this problem, we used the same receive connector, with the two IP adresses of the two web applications.
We are now using a dedicated receive connector for the PHP application, with exactly the same authentication parameter as the ASP application, but we get the same error.

The Send Connector for the two Applications is our default Internet Send Connector.

We also use a mass mailing application with his dedicated received connector that works well.

Thanks

Djamal BELOUIZDAD
MCT,MCSE

Free Windows Admin Tool Kit Click here and download it now
February 25th, 2015 4:38am

Hello Djamal,

I do not know if it's the right answer, but I'll tell you about my problem and how we solved the problem.

We had a problem with two sites developed in PHP, when we send emails from applications in PHP, recipients receive the email but with an empty corp.

We just added a new line (un saut de ligne PHP <br /><br />) at the beginning of corp email.

before the modification:

$Body="Bonjour,<br /><br />

            Vous avez reu un fichier .......<br /><br />"

after the modification:

$Body="<br /><br />

Bonjour,<br /><br />

            Vous avez reu un fichier .......<br /><br />"

Thanks

Samir TABTI

Administrateur Rseau et Systme (AXONES)

         


April 21st, 2015 5:32pm

Hello Djamal,

I do not know if it's the right answer, but I'll tell you about my problem and how we solved the problem.

We had a problem with two sites developed in PHP, when we send emails from applications in PHP, recipients receive the email but with an empty corp.

We just added a new line (un saut de ligne PHP <br /><br />) at the beginning of corp email.

before the modification:

$Body="Bonjour,<br /><br />

            Vous avez reu un fichier .......<br /><br />"

after the modification:

$Body="<br /><br />

Bonjour,<br /><br />

            Vous avez reu un fichier .......<br /><br />"

Thanks

Samir TABTI

Administrateur Rseau et Systme (AXONES)

         


  • Edited by Samir TABTI Tuesday, April 21, 2015 9:32 PM
Free Windows Admin Tool Kit Click here and download it now
April 21st, 2015 9:31pm

Thanks, Samir

I will forward your solution to my colleague in charge of PHP, and coming back

Djamal

April 28th, 2015 9:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics