On 12/13/10 4:11 PM, Zhou, Yan wrote:
Hi there,

I am integrating Postfix 2.3.3 with LDAP. Everything works fine in
development and QA environments, but when the app. moves into our stage
environment, it fails. I do not understand why, but I do know our Stage
environment has tighter control, e.g., no mail relay, etc.

I am sending a message from direct2.care180.com to direct3.care180.com,
both are defined in my LDAP. Essentially one user is sending a message
to another one,

No, you're sending a message from one *mail domain* to another *mail domain*. If you want this box to manage email for both domains, you need to tell postfix this.

both of which are managed by the same Postfix. The
message should come back to me without any relay to outside.

Then you need to make sure that postfix knows it is responsible for both these domains.

I verified that Postfix did query LDAP and the entities are found. But
instead of the message coming back to Postfix, I am getting this error.
I do not know why Postfix is attempting a relay.
Because postfix determined that it is not the final destination for the message.
Dec 13 10:00:06 sdirsmtp002 postfix/smtpd[13136]: NOQUEUE: reject: RCPT
from sdirapp001.stage.cin.mp-emaxx.com[10.128.61.10]: 554 5.7.1
<kz...@direct3.care180.com>: Relay access denied;
from=<yz...@direct2.care180.com>  to=<kz...@direct3.care180.com>
proto=ESMTP helo=<sdirapp001.stage.cin.mp-emaxx.com>

The machine at

sdirapp001.stage.cin.mp-emaxx.com[10.128.61.10]


tried to send a message from

<yz...@direct2.care180.com>

to

<kz...@direct3.care180.com>

but postfix refused to forward the message.

This means that postfix is not aware that it should handle mail for direct3.care180.com addresses.

Add both domains to the mydestination parameter in main.cf and reload postfix.

Any debug I can do? I do not see any helpful message in Postfix.

The above log is about as helpful as it can get - it tells you exactly what was attempted, and what the result was.

Thanks,
Yan





Confidentiality Notice: The information contained in this electronic 
transmission is confidential and may be legally privileged. It is intended only 
for the addressee(s) named above. If you are not an intended recipient, be 
aware that any disclosure, copying, distribution or use of the information 
contained in this transmission is prohibited and may be unlawful. If you have 
received this transmission in error, please notify us by telephone (513) 
229-5500 or by email (postmas...@medplus.com). After replying, please erase it 
from your computer system.

You do realize, I hope, the utter ridiculousness of such a notice at the end of mail sent to a public mailing list :)

--
J.

Reply via email to