cancel
Showing results for 
Search instead for 
Did you mean: 

Email servers

FIXED
ashleysprigg
Dabbler
Posts: 16
Thanks: 9
Registered: ‎31-01-2014

Re: Email servers

Ok, this morning I removed my hub one and replaced it with my openreach supplied bridge which I have altered firmware, Set to route mode.

I am on it now with nothing else connected but the laptop I am using. not even the server.

Telnet to google.co.uk did clear the screen

And then the following commands as you said.

HTTP/1.0 400 Bad Request
Content-Type: text/html; charset=UTF-8
Content-Length: 1555
Date: Sat, 03 Dec 2016 09:24:10 GMT

<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content
="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 400 (Bad
Request)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px ar
ial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto
0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(/
/www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}
p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{b
order:0}@media screen and (max-width:772px){body{background:none;margin-top:0;ma
x-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/brand
ing/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@med
ia only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com
/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/10
0% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/goo
glelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-
ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/goo
glelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{d
isplay:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com
/><span id=logo aria-label=Google></span></a>
<p><b>400.</b> <ins>ThatÔÇÖs an e
rror.</ins>
<p>Your client has issued a malformed or illegal request. <ins>Tha
tÔÇÖs all we know.</ins>


Connection to host lost.

C:\Users\ashley>telnet relay.plus.net 25
Connecting To relay.plus.net...Could not open connection to the host, on port 25
: Connect failed

C:\Users\ashley>telnet relay.plus.net 587
Connecting To relay.plus.net...Could not open connection to the host, on port 58
7: Connect failed

C:\Users\ashley>
spraxyt
Resting Legend
Posts: 10,063
Thanks: 674
Fixes: 75
Registered: ‎06-04-2007

Re: Email servers

I'd say that Google test demonstrates telnet (and its protocol) work on your connection but clearly not with relay.plus.net and ports 25 and 587. However tcp layer tracing to port 25 connects.

I can confirm telnet to relay.plus.net 25 and 587 works for me, including sending complete emails using basic email commands.

I wonder if telnet to a different (external) mail relay will work? Finding a non-SSL relay isn't easy these days but you could try

telnet smtp (dot) orangehome (dot) co (dot) uk  587

(replacing each " (dot) " with a full stop - typed this way to make search engine indexing harder).

That should lead to the window being cleared, then a 220 ESMTP server ready response.

Enter

ehlo telnet

and the server should respond with a 250 hello message and a list of capabilities. Enter

quit

to disconnect.

Trying port 25 does get a response but it's a connection error 10060 since that port allows connections only from within the EE network.

David
ashleysprigg
Dabbler
Posts: 16
Thanks: 9
Registered: ‎31-01-2014

Re: Email servers

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\ashley>ping smtp.orangehome.co.uk

Pinging smtp.orangehome.co.uk [193.252.22.140] with 32 bytes of data:
Reply from 193.252.22.140: bytes=32 time=40ms TTL=241
Reply from 193.252.22.140: bytes=32 time=41ms TTL=241
Reply from 193.252.22.140: bytes=32 time=40ms TTL=241
Reply from 193.252.22.140: bytes=32 time=40ms TTL=241

Ping statistics for 193.252.22.140:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 40ms, Maximum = 41ms, Average = 40ms

C:\Users\ashley>telnet smtp.orangehome.co.uk 587
Connecting To smtp.orangehome.co.uk...Could not open connection to the host, on
port 587: Connect failed

C:\Users\ashley>

The same is for the relay i'm currently using smtp.sendgrid.net

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\ashley>telnet smtp.sendgrid.net 25
Connecting To smtp.sendgrid.net...Could not open connection to the host, on port
25: Connect failed

C:\Users\ashley>telnet smtp.sendgrid.net 587
Connecting To smtp.sendgrid.net...Could not open connection to the host, on port
587: Connect failed

C:\Users\ashley>

But when I do telnet smtp.sendgrid.net 2525 it connects (which is what I have set my servers relay settings to)

220 SG ESMTP service ready at ismtpd0002p1lon1.sendgrid.net
ehlo telnet
250-smtp.sendgrid.net
250-8BITMIME
250-PIPELINING
250-SIZE 31457280
250-STARTTLS
250-AUTH PLAIN LOGIN
250 AUTH=PLAIN LOGIN

It just seems like nothing works on 25 or 587

 

spraxyt
Resting Legend
Posts: 10,063
Thanks: 674
Fixes: 75
Registered: ‎06-04-2007

Re: Email servers

Fix

@ashleysprigg wrote:

It just seems like nothing works on 25 or 587


Yes, I think that's the problem, just guessing but a firewall rule seems the most likely cause. Possibly antivirus/mail protection related. First check is probably the firewall setting in the Plusnet Member Centre. Mine is Off (as is Surf and Safeguard).

I get successful connections with all telnet attempts to relay.plus.net (ports 25 and 587), smtp (dot) orangehome (dot) co (dot) uk (port 587 - but port 25 fails after 30 sec time out) and smtp.sendgrid.net (ports 25, 587, 2525).

C:\>telnet relay.plus.net 25
220 avasout06 smtp relay.plus.net
ehlo telnet
250-avasout06 hello [MyIP], pleased to meet you
250-HELP
250-AUTH LOGIN PLAIN
250-SIZE 104857600
250-PIPELINING
250-8BITMIME
250 OK
quit
221 avasout06 smtp closing connection
C:\>telnet relay.plus.net 587
220 avasout06 smtp relay.plus.net
ehlo telnet587
250-avasout06 hello [MyIP], pleased to meet you
250-HELP
250-AUTH LOGIN PLAIN
250-SIZE 104857600
250-PIPELINING
250-8BITMIME
250 OK
quit
221 avasout06 smtp closing connection
C:\>telnet smtp (dot) orangehome (dot) co (dot) uk 587
220 mwinf5d04 ME ESMTP server ready
ehlo telnet
250-mwinf5d04 hello [MyIP], pleased to meet you
250-HELP
250-AUTH LOGIN PLAIN
250-SIZE 44000000
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 OK
quit
221 2.0.0 mwinf5d04 ME closing connection
C:\>telnet smtp (dot) orangehome (dot) co (dot) uk 25
421 Cannot connect to SMTP server 193.252.22.189 (193.252.22.189:25), connect error 10060
C:\>telnet smtp.sendgrid.net 25
220 SG ESMTP service ready at ismtpd0002p1lon1.sendgrid.net
ehlo telnetting
250-smtp.sendgrid.net
250-8BITMIME
250-PIPELINING
250-SIZE 31457280
250-STARTTLS
250-AUTH PLAIN LOGIN
250 AUTH=PLAIN LOGIN
quit
221 See you later
C:>telnet smtp.sendgrid.net 587
220 SG ESMTP service ready at ismtpd0001p1lon1.sendgrid.net
ehlo telnetting587
250-smtp.sendgrid.net
250-8BITMIME
250-PIPELINING
250-SIZE 31457280
250-STARTTLS
250-AUTH PLAIN LOGIN
250 AUTH=PLAIN LOGIN
quit
221 See you later
C:\>telnet smtp.sendgrid.net 2525
220 SG ESMTP service ready at ismtpd0001p1lon1.sendgrid.net
ehlo telnetting2525
250-smtp.sendgrid.net
250-8BITMIME
250-PIPELINING
250-SIZE 31457280
250-STARTTLS
250-AUTH PLAIN LOGIN
250 AUTH=PLAIN LOGIN
quit
221 See you later
David
ashleysprigg
Dabbler
Posts: 16
Thanks: 9
Registered: ‎31-01-2014

Re: Email servers

Well blow me!

I disabled AV and I get the following.

220 avasout04 smtp relay.plus.net
ehlo telnet
250-avasout04 hello [81.174.146.153], pleased to meet you
250-HELP
250-AUTH LOGIN PLAIN
250-SIZE 104857600
250-PIPELINING
250-8BITMIME
250 OK

Now to work out how to make mcafee enterprise to allow the ports.

That should be the easy bit with the help of Google I think.

Thanks ever so much for all the help everyone.

spraxyt
Resting Legend
Posts: 10,063
Thanks: 674
Fixes: 75
Registered: ‎06-04-2007

Re: Email servers

I'm pleased to hear the cause has been established. Smiley

Although tracetcp reached the server on port 25, using the winpcap library probably enables it to pass the AV scan. A lesson for us all there I think. Cool_smiley

David