![]() |
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? |
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. |
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.
|
Re: Using smtp.ntlworld.com as smarthost fails
Quote:
|
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. |
Re: Using smtp.ntlworld.com as smarthost fails
Quote:
|
Re: Using smtp.ntlworld.com as smarthost fails
Quote:
|
Re: Using smtp.ntlworld.com as smarthost fails
Quote:
|
Re: Using smtp.ntlworld.com as smarthost fails
Quote:
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. |
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?
|
| All times are GMT +1. The time now is 06:08. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum