We help IT Professionals succeed at work.

Exchange 2003 - Unable to forward mails to AD contact - #5.5.0 smtp;556 This system is not configured to relay for you

inetworks
inetworks asked
on
1,160 Views
Last Modified: 2008-04-24
Hi,

We are running Exchange 2003 Satndard SP2 on Windows 2000 Standard Server SP4. We have configured for some of the clients, to forward all mails coming to their internal mail id  to an external mail id (Gmail, Yahoo etc) using AD mail enabled contact. It was working fine, but 2 days back it started raising NDRs. No updates or any other configuration happened for the last 4 months.  NDR is as follows.
***********************************************************************
Your message did not reach some or all of the intended recipients.

      Subject:      Personal email id
      Sent:      6/11/2007 4:00 PM

The following recipient(s) could not be reached:

      XYZ Gmail on 6/11/2007 4:14 PM
            There was a SMTP communication problem with the recipient's email server.  Please contact your system administrator.
            <server.ourdomain.net#5.5.0 smtp;556 This system is not configured to relay for you>
***********************************************************************
Also please find the full header of the message.

***********************************************************************

Microsoft Mail Internet Headers Version 2.0
X-PMWin-Version: 2.6.1, Antispam-Engine: 2.5.1, Antivirus-Engine: 2.46.2
Thread-Index: AcesIgE3lbRF2KPnQQuurXg7fZIeSg==
From: <postmaster@ourdomain.net>
To: <externalsender@senderdomain.com>
Content-Transfer-Encoding: 7bit
Date: Mon, 11 Jun 2007 16:14:05 +0400
MIME-Version: 1.0
Content-class: urn:content-classes:message
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896
Importance: normal
Priority: normal
Content-Type: multipart/report;
      report-type=delivery-status;
      boundary="9B095B5ADSN=_01C7ABE25E030204000001EAserver.ourdomain"
X-DSNContext: 7ce717b1 - 1194 - 00000002 - 00000000
Message-ID: <wx7zcxEGd00000007@server.ourdomain.net>
Subject: Delivery Status Notification (Failure)

--9B095B5ADSN=_01C7ABE25E030204000001EAserver.ourdomain
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
      charset="unicode-1-1-utf-7"

--9B095B5ADSN=_01C7ABE25E030204000001EAserver.ourdomain
Content-Transfer-Encoding: 7bit
Content-Type: message/delivery-status

--9B095B5ADSN=_01C7ABE25E030204000001EAserver.ourdomain
Content-Transfer-Encoding: 7bit
Content-Type: message/rfc822

X-PMWin-Spam: Gauge=IIIIIIII, Probability=8%, Report='__MIME_VERSION, __CT, __CT_TEXT_PLAIN, __HAS_MSGID, __SANE_MSGID, __CTE, __HAS_X_MAILER, __USER_AGENT_MS_GENERIC, __FRAUD_419_INTRO, __MIME_TEXT_ONLY'
X-PMWin-Version: 2.6.1, Antispam-Engine: 2.5.1, Antivirus-Engine: 2.46.2
Received: from 192.163.15.99 ([192.163.15.99]) by server.ourdomain.net with Microsoft SMTPSVC(5.0.2195.6713); Mon, 11 Jun 2007 16:13:56 +0400
Received: from server ([192.163.15.99]) by server with XYZ POP Connector(01.25.2159.34214); Mon, 11 Jun 2007 12:13:56 -0000
Received: (qmail 5750 invoked from network); 11 Jun 2007 12:12:49 -0000
Received: from unknown (HELO abcde-6.ouremailhoster.net) (84.38.21.176) by 0 with SMTP; 11 Jun 2007 12:12:49 -0000
Received: from localhost (mailfilter6.ouremailhoster.net [127.0.0.1]) by abcde-6.ouremailhoster.net (Postfix) with ESMTP id 34F5A322E8 for <client@ourdomain.net>; Mon, 11 Jun 2007 05:12:49 -0700 (PDT)
Received: from abcde-6.ouremailhoster.net ([127.0.0.1]) by localhost (abcde-6.ouremailhoster.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20291-74 for <client@ourdomain.net>; Mon, 11 Jun 2007 05:12:46 -0700 (PDT)
Received: from mx-out.ouremailhoster.net (mx-out.ouremailhoster.net [217.194.170.69]) by abcde-6.ouremailhoster.net (Postfix) with ESMTP id 41A3232301 for <client@ourdomain.net>; Mon, 11 Jun 2007 05:12:39 -0700 (PDT)
Received: from localhost.ouremailhoster.net (localhost.ouremailhoster.net [127.0.0.1]) by mx-out.ouremailhoster.net (8.13.1/8.12.9) with SMTP id l5BC21EL019831; Mon, 11 Jun 2007 05:02:01 -0700 (PDT) (envelope-from externalsender@senderdomain.com)
Received: from [83.110.142.106] (via account 20292) by mx-out.ouremailhoster.net with ESMTP id c8508DB2 authenticated by SMTP; Mon, 11 Jun 2007 05:01:48 -0700 (PDT)
From: "External Sender" <externalsender@senderdomain.com>
To: "'Client'" <client@ourdomain.net>
Subject: Personal email id
Date: Mon, 11 Jun 2007 16:00:04 +0400
Content-class: urn:content-classes:message
MIME-Version: 1.0
Importance: normal
Priority: normal
Content-Type: text/plain;
      charset="us-ascii"
Message-ID: <200706111202.l5BC21EL019831@mx-out.ouremailhoster.net>
Content-Transfer-Encoding: 7bit
Thread-Index: AcesIAwG8FPz8IzjSUalzQZc6Vg6bw==
X-Mailer: Microsoft Office Outlook, Build 11.0.5510
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896
X-Spam-Status: No, hits=-2.599 tagged_above=-999 required=3 tests=BAYES_00,MSGID_FROM_MTA_HEADER
Unknown: X-Spam-Level:
Return-Path: <externalsender@senderdomain.com>
X-OriginalArrivalTime: 11 Jun 2007 12:13:56.0934 (UTC) FILETIME=[FC409E60:01C7AC21]


--9B095B5ADSN=_01C7ABE25E030204000001EAserver.ourdoamin--

Please advise.

Thanks & Regards,
inetworks
Comment
Watch Question

Expert of the Year 2007
Expert of the Year 2006

Commented:
That is not an Exchange message, so it is being generated by another server.
Do you send your email through an ISPs SMTP server? If so that is probably the cause of the problem.
The ISP is seeing who the message is from (the original sender) and is blocking the message. This is an increasing problem with forwarding messages from your server and there is no way around it.

Simon.

Author

Commented:
Hi Simon,

All mails are routed through a SMTP connector, which uses our email hosting company's SMTP server using basic authentication. I will give our scenarios when mails are getting forwarded:

(1) Mails send to the recipient (with mail forward enabled:- Delivery to local inbox and forwarded mailbox) from an internal client will get delivered to both mailboxes.

(2) Mails send from external mails (Gmail, Yahoo etc) to the same recipient, only the mail will get delivered to local inbox, to the forwarded mailbox an NDR (stated in the first post) is generated.

Our sister concern using the same email hosting company, ISP, they are able to forward.

Please advise.

Thanks & Regards,
inetworks
Expert of the Year 2007
Expert of the Year 2006

Commented:
As I stated above, it is not an Exchange message. Therefore something is different.
Is the authentication working? If it is failing but the server recognises your domain it may allow relaying through on that basis (not a good idea from a security point of view, but I have seen it done).

The messages sent by internal recipients go through because the From field is recognised as a domain the relay server knows about.

Simon.

Author

Commented:
Hi Simon,

Yes authentication is working.

Regards,
inetworks
Expert of the Year 2007
Expert of the Year 2006

Commented:
You need to speak to your ISP then. See what is different and why the message is being rejected.

Simon.

Author

Commented:
Hi Simon,

I have done a message trace. I can see the message getting delivered to the inbox, immediately after that NDR is generated. Any idea.

Regards,
inetworks
Expert of the Year 2007
Expert of the Year 2006
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Hi Simon,

The information that the message was not generated by the exchange server lead me in the right direction. I was using the mail hoster's SMTP server. I changed it to our ISP's SMTP server and cool it started working. Full points to you buddy.

Once again thanks.
Requesting administrators to close the topic.

Regards,
Ajit


Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.