orbitalgra
asked on
Exchange 2003 cannot send external e-mail
Hi All,
I have setup a W2003 DC running DNS and DHCP with the domain name of priorynetworks.local. I have installed Exchange 2003 and configured the recipients default policy to use a domain of priorynetworks.co.uk and ran the Internet Mail Wizard to setup an SMTP connector which will send mail using DNS rather than smarthost.
I can send e-mail internally and receive external mail no problem,but when I try and send external mail it just sits in the queue and gives an error of "The connection was dropped by the remote host"
I am able to resolve mx records for domains on the server and telnet using port 25 to mail servers on the Internet. I have also created a PTR record for 213.152.53.139 mailserver.priorynetworks. co.uk which is the external IP address of my Internet connection.
I can't think of anything else which would stop mail from being routed externally, any ideas?
I have setup a W2003 DC running DNS and DHCP with the domain name of priorynetworks.local. I have installed Exchange 2003 and configured the recipients default policy to use a domain of priorynetworks.co.uk and ran the Internet Mail Wizard to setup an SMTP connector which will send mail using DNS rather than smarthost.
I can send e-mail internally and receive external mail no problem,but when I try and send external mail it just sits in the queue and gives an error of "The connection was dropped by the remote host"
I am able to resolve mx records for domains on the server and telnet using port 25 to mail servers on the Internet. I have also created a PTR record for 213.152.53.139 mailserver.priorynetworks.
I can't think of anything else which would stop mail from being routed externally, any ideas?
ASKER
Hi FDiskWizard,
I've ran this withthe following results:
C:\Documents and Settings\Administrator\Des ktop>smtpd iag ben.allen@priorynetwork
s.co.uk graham.mills@orbitalnetwor ks.co.uk
Searching for Exchange external DNS settings.
Computer name is DC1.
VSI 1 has the following external DNS servers:
There are no external DNS servers configured.
Checking SOA for orbitalnetworks.co.uk.
Checking external DNS servers.
Checking internal DNS servers.
SOA serial number match: Passed.
Checking local domain records.
Checking MX records using TCP: priorynetworks.co.uk.
Checking MX records using UDP: priorynetworks.co.uk.
Both TCP and UDP queries succeeded. Local DNS test passed.
Checking remote domain records.
Checking MX records using TCP: orbitalnetworks.co.uk.
Checking MX records using UDP: orbitalnetworks.co.uk.
Both TCP and UDP queries succeeded. Remote DNS test passed.
Checking MX servers listed for graham.mills@orbitalnetwor ks.co.uk.
Connecting to hermes.hosts.co.uk [85.233.160.21] on port 25.
Error: Expected "220". Server is not accepting connections.
Failed to submit mail to hermes.hosts.co.uk.
Connecting to athena.hosts.co.uk [85.233.160.20] on port 25.
Error: Expected "220". Server is not accepting connections.
Failed to submit mail to athena.hosts.co.uk.
It points to the smtp server not accepting connections but I know it is. Any idea what the Expected 220 means?
I've ran this withthe following results:
C:\Documents and Settings\Administrator\Des
s.co.uk graham.mills@orbitalnetwor
Searching for Exchange external DNS settings.
Computer name is DC1.
VSI 1 has the following external DNS servers:
There are no external DNS servers configured.
Checking SOA for orbitalnetworks.co.uk.
Checking external DNS servers.
Checking internal DNS servers.
SOA serial number match: Passed.
Checking local domain records.
Checking MX records using TCP: priorynetworks.co.uk.
Checking MX records using UDP: priorynetworks.co.uk.
Both TCP and UDP queries succeeded. Local DNS test passed.
Checking remote domain records.
Checking MX records using TCP: orbitalnetworks.co.uk.
Checking MX records using UDP: orbitalnetworks.co.uk.
Both TCP and UDP queries succeeded. Remote DNS test passed.
Checking MX servers listed for graham.mills@orbitalnetwor
Connecting to hermes.hosts.co.uk [85.233.160.21] on port 25.
Error: Expected "220". Server is not accepting connections.
Failed to submit mail to hermes.hosts.co.uk.
Connecting to athena.hosts.co.uk [85.233.160.20] on port 25.
Error: Expected "220". Server is not accepting connections.
Failed to submit mail to athena.hosts.co.uk.
It points to the smtp server not accepting connections but I know it is. Any idea what the Expected 220 means?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
My local IP is 213.152.53.139 which when tested with backscatter comes back as not listed.
85.233.160.20 is the ISP (Namesco) which is receiving the e-mail for orbitalnetworks.co.uk and are dropping the connection.
I am unable to send mail to other e-mail domains, well none so far that i've tried, so it's not just this single ISP that is dropping the connection. Very frustrating...
85.233.160.20 is the ISP (Namesco) which is receiving the e-mail for orbitalnetworks.co.uk and are dropping the connection.
I am unable to send mail to other e-mail domains, well none so far that i've tried, so it's not just this single ISP that is dropping the connection. Very frustrating...
So, by your 'using DNS' remark above - you're sending email direct instead of through your ISP, correct?
And looking at the error from SMTPDiag again, it even looks like your ISP's MX server for you even rejects your server.
If you Telnet from your PC to 85.233.160.20 on port 25, does it work?
Does it work when doing it from the Exchange server?
It seems like it would fail that way also.
Or better yet, try sending an email to those remote domains using BMail.exe - much easier than TELNET :)
Download link is about 1/2 way down the page:
http://www.beyondlogic.org/solutions/cmdlinemail/cmdlinemail.htm
Try using your Exchange server as MYSERVER, as well as the recipients domain server per their MX record.
Examples:
bmail.exe -s Exchange01.domain.local -t recipient@acme.com -f me@mydomain.com -b "This is a test" -h -a "This is the subject"
bmail.exe -s gmail-smtp-in.l.google.com -t Account@gmail.com -f me@mydomain.com -b "This is a test" -h -a "This is the subject"
Does your ISP allow you to relay through them? If so you could also switch to smarthost mode. Or point BMAIL command at their SMTP.
And looking at the error from SMTPDiag again, it even looks like your ISP's MX server for you even rejects your server.
If you Telnet from your PC to 85.233.160.20 on port 25, does it work?
Does it work when doing it from the Exchange server?
It seems like it would fail that way also.
Or better yet, try sending an email to those remote domains using BMail.exe - much easier than TELNET :)
Download link is about 1/2 way down the page:
http://www.beyondlogic.org/solutions/cmdlinemail/cmdlinemail.htm
Try using your Exchange server as MYSERVER, as well as the recipients domain server per their MX record.
Examples:
bmail.exe -s Exchange01.domain.local -t recipient@acme.com -f me@mydomain.com -b "This is a test" -h -a "This is the subject"
bmail.exe -s gmail-smtp-in.l.google.com
Does your ISP allow you to relay through them? If so you could also switch to smarthost mode. Or point BMAIL command at their SMTP.
ASKER
I am unable to telnet on port 25 to 85.233.160.20, just get a blank screen and returned to the windows prompt when I press Enter.
I have also tried sending a test e-mail to 2 different recipients, both fail saying they are unable to relay for the recipients addresses:
C:\Documents and Settings\Administrator>bma il.exe -s dc1.priorynetworks.local -
t info@orbitalnetworks.co.uk -f graham.mills@priorynetwork s.co.uk -b "This is a
test" -h -a "Test from Exchange"
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic. org
Opening connection to dc1.priorynetworks.local [192.168.10.1] on port 25
220 mailserver.priorynetworks. co.uk Microsoft ESMTP MAIL Service, Version: 6.0.3
790.3959 ready at Thu, 30 Sep 2010 15:54:54 +0100
550 5.7.1 Unable to relay for info@orbitalnetworks.co.uk
C:\Documents and Settings\Administrator>bma il.exe -s dc1.priorynetworks.local -
t orbitalnetworks@gmail.com -f graham.mills@priorynetwork s.co.uk -b "This is a t
est" -h -a "Test from Exchange"
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic. org
Opening connection to dc1.priorynetworks.local [192.168.10.1] on port 25
220 mailserver.priorynetworks. co.uk Microsoft ESMTP MAIL Service, Version: 6.0.3
790.3959 ready at Thu, 30 Sep 2010 15:56:12 +0100
550 5.7.1 Unable to relay for orbitalnetworks@gmail.com
C:\Documents and Settings\Administrator>
I have done a search on mxtoolbox.com to see if my IP address is blacklisted, and according to them it's listed in Barracuda, Solid and Tiopan. Would it be correct to assume this would be the problem?
I have also tried sending a test e-mail to 2 different recipients, both fail saying they are unable to relay for the recipients addresses:
C:\Documents and Settings\Administrator>bma
t info@orbitalnetworks.co.uk
test" -h -a "Test from Exchange"
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic.
Opening connection to dc1.priorynetworks.local [192.168.10.1] on port 25
220 mailserver.priorynetworks.
790.3959 ready at Thu, 30 Sep 2010 15:54:54 +0100
550 5.7.1 Unable to relay for info@orbitalnetworks.co.uk
C:\Documents and Settings\Administrator>bma
t orbitalnetworks@gmail.com -f graham.mills@priorynetwork
est" -h -a "Test from Exchange"
Command Line SMTP Emailer V1.07
Copyright(C) 2002-2004 Craig.Peacock@beyondlogic.
Opening connection to dc1.priorynetworks.local [192.168.10.1] on port 25
220 mailserver.priorynetworks.
790.3959 ready at Thu, 30 Sep 2010 15:56:12 +0100
550 5.7.1 Unable to relay for orbitalnetworks@gmail.com
C:\Documents and Settings\Administrator>
I have done a search on mxtoolbox.com to see if my IP address is blacklisted, and according to them it's listed in Barracuda, Solid and Tiopan. Would it be correct to assume this would be the problem?
ASKER
I've managed to get removed from the Baracuda black list and can no send and receive external e-mail as expected. Thanks FDiskWizard for your help and pointing me towards being blacklisted.
Download:
http://www.microsoft.com/downloads/en/details.aspx?familyid=bc1881c7-925d-4a29-bd42-71e8563c80a9&displaylang=en
Guide...
http://www.msexchange.org/tutorials/SMTPDIAGdiagnose-Exchange-2003-SMTP-DNS.html