On 12/13/2010 10:11 AM, 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, both of which are managed by the same Postfix. The > message should come back to me without any relay to outside. > > 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. > > 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> > > Any debug I can do? I do not see any helpful message in Postfix. > Thanks, > Yan >
That message is stating that sdirapp001.stage.cin.mp-emaxx.com doesn't have access to relay messages through that server. Here's something from #postfix on freenode: NOQUEUE: reject: RCPT from CLIENT_HOST[CLIENT_IP]: 554 5.7.1 <recipi...@rcpt_domain>: Relay access denied; from=<sen...@sender_domain> to=<recipi...@rcpt_domain> proto=ESMTP helo=<HELO>: This typically means that CLIENT_IP is not in mynetworks (and did not AUTH), and that RCPT_DOMAIN was not recognized as one of this Postfix's domains (not listed in mydestination,relay_domains or virtual_*_domains) -Matt