Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Using smtp.ntlworld.com as smarthost fails

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Virgin Media Services > Virgin Media Internet Service

Using smtp.ntlworld.com as smarthost fails
Reply
 
Thread Tools
Old 14-11-2006, 12:12   #1
Rich99
Inactive
 
Join Date: Dec 2005
Posts: 14
Rich99 is an unknown quantity at this point
Using smtp.ntlworld.com as smarthost fails

I have postfix installed on a fresh Ubuntu 6.10 box. The ubuntu config generated a setup that should receive mail by smtp & send it via smtp.ntlworld.com (ie a smarthost). However when I try & send mail (in this case directly from the ubuntu machine using 'mail') I get the following error message:

Nov 13 21:20:06 ubuntu-server postfix/smtp[4950]: B6FE16D818B: to=<me@work.ac.uk>, orig_to=<root@ubuntu-server>, relay=smtp.ntlworld.com[81.103.221.11]:25, delay=7.2, delays=0.01/0/7.2/0.03, dsn=5.0.0, status=bounced (host smtp.ntlworld.com[81.103.221.11] said: 550 relaying mail to work.ac.uk is not allowed (in reply to RCPT TO command))

From my windows machine which is behind the same NAT box, I can send mail from outlook via the smtp.ntlworld.com server with no problems. Any ideas why postfix can't send via the ISP smtp server? I tried swapping postfix for exim4 on this ubuntu machine & the same problem occurred, so it may not be postfix specific. I've posted to the postfix mailing lists in case it could be a postfix problem, but I wondered if anyone knew whether there could be anything on the ntlworld side of things effecting this?
Rich99 is offline   Reply With Quote
Advertisement
Old 14-11-2006, 12:17   #2
grandmaster
Inactive
 
grandmaster's Avatar
 
Join Date: May 2005
Location: Nr Manchester
Age: 48
Posts: 1,109
grandmaster has reached the bronze age
grandmaster has reached the bronze agegrandmaster has reached the bronze agegrandmaster has reached the bronze age
Re: Using smtp.ntlworld.com as smarthost fails

I can only assume that it is trying to use SMTP.ntlworld as a relay and this is disabled to stop spammers.
I think most isp's and companys disable relays.
grandmaster is offline   Reply With Quote
Old 14-11-2006, 12:46   #3
Rich99
Inactive
 
Join Date: Dec 2005
Posts: 14
Rich99 is an unknown quantity at this point
Re: Using smtp.ntlworld.com as smarthost fails

But surely there's no difference between outlook sending via the smtp server & postfix? I'm on the ntl subnet, so it should allow me to send via it surely? Spam prevention would be preventing non-ntl ip's from relaying.
Rich99 is offline   Reply With Quote
Old 14-11-2006, 12:51   #4
Toto
Inactive
 
Join Date: Dec 2004
Posts: 3,403
Toto has a bronzed appealToto has a bronzed appeal
Toto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appeal
Re: Using smtp.ntlworld.com as smarthost fails

Quote:
Originally Posted by Rich99 View Post
But surely there's no difference between outlook sending via the smtp server & postfix? I'm on the ntl subnet, so it should allow me to send via it surely? Spam prevention would be preventing non-ntl ip's from relaying.
Check to make sure the from and reply to address are the same.
Toto is offline   Reply With Quote
Old 14-11-2006, 13:34   #5
simbr
Inactive
 
simbr's Avatar
 
Join Date: Apr 2005
Location: Cardiff
Age: 46
Services: ntl Phone, ntl Digital TV, ntl Cable (10 Mbps)
Posts: 406
simbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to all
Re: Using smtp.ntlworld.com as smarthost fails

Main reasons for 550 from the ntl SMTP server:

1) You're not on the ntl network
2) You've specified and invalid from: address

I'll assume the first point is moot (although, if you're on wireless it's worth checking that you haven't wandered onto your neighbours unsecured router as I've seen this happen) so it's most likely the latter. The server will accept any email address as sender as long as the format is valid, but if the address ends in @ntlworld.com then it also has to be a valid ntlworld account as well. The server will also not accept a null sender address (<>). The to: address also has to be in a valid format, but I believe the error is slightly different if you mangle the to: address so I think that option can be ignored.
simbr is offline   Reply With Quote
Old 14-11-2006, 14:05   #6
Rich99
Inactive
 
Join Date: Dec 2005
Posts: 14
Rich99 is an unknown quantity at this point
Re: Using smtp.ntlworld.com as smarthost fails

Quote:
Originally Posted by simbr View Post
Main reasons for 550 from the ntl SMTP server:

1) You're not on the ntl network
2) You've specified and invalid from: address

I'll assume the first point is moot (although, if you're on wireless it's worth checking that you haven't wandered onto your neighbours unsecured router as I've seen this happen) so it's most likely the latter. The server will accept any email address as sender as long as the format is valid, but if the address ends in @ntlworld.com then it also has to be a valid ntlworld account as well. The server will also not accept a null sender address (<>). The to: address also has to be in a valid format, but I believe the error is slightly different if you mangle the to: address so I think that option can be ignored.
Regarding point 1, everythings wired & I'm on the ntl network. regarding point 2, you can see from the log message above that the sender is 'root@ubuntu-server' which is obviously not routeable. Are you saying the sender address has to be 'user@domain.com' for the ntlworld smtp server to accept it? I'll see if I can change that in postix & report back
Rich99 is offline   Reply With Quote
Old 14-11-2006, 15:34   #7
Toto
Inactive
 
Join Date: Dec 2004
Posts: 3,403
Toto has a bronzed appealToto has a bronzed appeal
Toto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appealToto has a bronzed appeal
Re: Using smtp.ntlworld.com as smarthost fails

Quote:
Originally Posted by Rich99 View Post
Regarding point 1, everythings wired & I'm on the ntl network. regarding point 2, you can see from the log message above that the sender is 'root@ubuntu-server' which is obviously not routeable. Are you saying the sender address has to be 'user@domain.com' for the ntlworld smtp server to accept it? I'll see if I can change that in postix & report back
On the ntl network the sender email address and the reply-to address MUST be the same.
Toto is offline   Reply With Quote
Old 14-11-2006, 16:10   #8
simbr
Inactive
 
simbr's Avatar
 
Join Date: Apr 2005
Location: Cardiff
Age: 46
Services: ntl Phone, ntl Digital TV, ntl Cable (10 Mbps)
Posts: 406
simbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to allsimbr is a name known to all
Re: Using smtp.ntlworld.com as smarthost fails

Quote:
Originally Posted by Rich99 View Post
regarding point 2, you can see from the log message above that the sender is 'root@ubuntu-server' which is obviously not routeable. Are you saying the sender address has to be 'user@domain.com' for the ntlworld smtp server to accept it? I'll see if I can change that in postix & report back
I believe so, yes. I'm not able to access an SMTP server directly from the machines in work since mcafee blocks port 25 so I cannot test those particular circumstances myself at the moment.
simbr is offline   Reply With Quote
Old 15-11-2006, 10:56   #9
sheka
Inactive
 
Join Date: Dec 2004
Services: TV XL, Phone M, 20Mb
Posts: 35
sheka is an unknown quantity at this point
Re: Using smtp.ntlworld.com as smarthost fails

Quote:
Originally Posted by Toto View Post
On the ntl network the sender email address and the reply-to address MUST be the same.
They aren't in my case....I just relay through smtp.ntlworld.com. Reply address is sometimes my @ntworld.com email address, sometimes a @bigfoot.com address and sometimes something else. It helps as I tend to use different email adddresses depending on what I am doing, posting to forums, internet shopping, personal email, etc. Helps reduce the amount of spam.....

When ever I saw a 550 - it was due to sending mail directly from my PC and not through smtp.ntlworld.com. Some receivers look to see if the IP address that is trying to send is from a dynamic DHCP pool, if it is they can block the request.
sheka is offline   Reply With Quote
Old 15-11-2006, 13:15   #10
Rich99
Inactive
 
Join Date: Dec 2005
Posts: 14
Rich99 is an unknown quantity at this point
Re: Using smtp.ntlworld.com as smarthost fails

All sorted - it was the name format, just added .com to the end of the hostname & it sent fine. Seems fairly pointless on the ntl side of things - since you can put anything you like there, why does it matter if it's the correct format or not?
Rich99 is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:07.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum