Solved

Emails not being delivered to comcast or aol when relaying from iis through exchange 2003

Posted on 2010-08-24
7
930 Views
Last Modified: 2012-05-10
Ok I have a quandry.

Emails sent to aol or comcast.net normally go through without a hitch from our exchange server. tested and works fine.

The issue arises when i have to relay an email from the webserver through the exchange server.

below is some of the code i use. it works when sending to any other domain, like gmail, but not aol and comcast.

can someone shed some light on this?
SmtpClient myClient2 = new SmtpClient("mail.server.net", 110);
        myClient2.UseDefaultCredentials = false;
        myClient2.Credentials = new System.Net.NetworkCredential("administrator@server.net", "password");

Open in new window

0
Comment
Question by:innotionent
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 9

Expert Comment

by:Barry Gill
ID: 33518925
what do your logs say?

Also, as these two machines are both behind your firewall (I assume) then does mail.server.net resolve to a local address for the weserver? if not, then a firewall rul may be preventing traffic from your network being bounced against it and redirected to back inside your network.

Another thing to check is are the messages being delivered by Exchange? do they get into a queue? Is comcast blocking them? thi can be found from the logs.

Can you confirm that your server is allowing basic authentication from the webserver IP address?
0
 
LVL 5

Author Comment

by:innotionent
ID: 33521120
I will check the logs to see what is going on.

Mail goes out from the webserver to gmail, yahoo and our mailserver and other mailservers just fine.

It's AOL and Comcast that's the issue.
0
 
LVL 9

Expert Comment

by:Barry Gill
ID: 33521419
they have their own specialist RBL's and some unique handling requirements
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Author Comment

by:innotionent
ID: 33521870
I think my issue is that even though I'm specifying the smtp server. it's still putting headers from the mail server.

i need to send from the mail server exclusively
0
 
LVL 9

Expert Comment

by:Barry Gill
ID: 33521908
sorry, I misread that as "you send to gmail etc through the smarthost already just aol/comcast don't get it"
do you want to send one to me at barrulus at outies dot co dot za and I will have a look at the headers?
0
 
LVL 5

Accepted Solution

by:
innotionent earned 0 total points
ID: 33546022
I figured it out.
i had pickupfromiis set instead of network.
after i changed that it started to work fine.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In-place Upgrading Dirsync to Azure AD Connect
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses
Course of the Month9 days, 9 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question