Previous Thread
Next Thread
Print Thread
Rate Thread
#182828 12/23/2003 2:46 PM
Joined: Dec 2003
Posts: 2
Junior Member
Junior Member
Offline
Joined: Dec 2003
Posts: 2
I am usign ahost, discountasp.net that is great but I have a problem using the email feature of UBB. I have tried setting the smtp server to localhost at their suggestion to no avail. Everyth=ime I try to register a user and the system tries to email a registration notice, it fails with this error message:

Unable to connect to the SMTP server. The following error was returned: Unknown error The server either does not exist, or rejected the connection. Please ensure that the UBB is allowed to relay mail through the server.

My provider does not know what to tell me put in the smtp setting to make it work. I am sure there must be other UBB users running on a windows host, any help would be appreciated.

Sponsored Links
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
That error means that there was no SMTP server present on port 25. If your host has no clue what their SMTP server name is, then they might not have one. In which case, you're out of luck.

May I advise not using a "discount" host? wink


UBB.classic: Love it or hate it, it was mine.
Joined: Jul 2003
Posts: 273
Member
Member
Offline
Joined: Jul 2003
Posts: 273
try mail.yourdomian.com(net)(org)(whatever)

sometimes they will have set that up to foward to the appropriate server.

either that or webmail.yourdomain.com(ditto)

check your DNS records section of your control panel if you have one.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
It should be localhost, but they may have it set to require authentication in which case you'll need to pass a username and password. It's also possible that they have a separate server that uses the IP range to determine who is allowed to relay through it. If they can't tell you then you have the wrong host. Using your sites MX record (mail.yoursite.com) isn't going to work unless they specifically gave you the domain name with the hosting and an e-mail server.

Again that would mean that they would have given you the proper information to begin with.

Joined: Jul 2003
Posts: 273
Member
Member
Offline
Joined: Jul 2003
Posts: 273
the way mine has it set up (or my old host.. I haven't checked with DP yet) was that the MX record wasn't really an MX record and was CNAME'd to a separate system (which I guess had an MX record). I would have thought that they could just put the IP for the mail-server as the MX record, but for some reason that wasn't how they set it up. That's why I say to check the DNS records.

Remember though, I'm as much a newbie as I am a dolt, so listening to me could also be a bad thing. wink

Sponsored Links
Joined: Jul 2003
Posts: 273
Member
Member
Offline
Joined: Jul 2003
Posts: 273
after looking at their prices, I've noticed that they aren't much lower than most hosts, worse case you switch hosts to one that supports at least smtp.

If you don't need the asp, asp.net, or other usually Windows only support, you could go with Unix or Linux and use Sendmail.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
I own my own names and determine what my MX is. I guess letting someone else do these things for you would lead to confusion for some people. Either way that host is not ptoviding the info they should. I'd have to wonder about the reliability and security of the servers they run. Windows or *nix, doesn't matter. If they aren't run properly then you're going to get haxxored and have downtime or worse....someone will get your data.

#182835 12/27/2003 11:14 PM
Joined: Dec 2003
Posts: 2
Junior Member
Junior Member
Offline
Joined: Dec 2003
Posts: 2
As a web developer, I really need ASP.Net as well as UBB support. There must be some provider out there who supports both. If anyone knows of such a host, please let me know.

#182836 12/28/2003 12:38 AM
Joined: Jan 2000
Posts: 5,834
Likes: 20
UBBDev Owner
Time Lord
UBBDev Owner
Time Lord
Joined: Jan 2000
Posts: 5,834
Likes: 20
If you're looking for an affordable host, I reccommend http://www.hostnuke.com/ their prices are quite affordable (as low as $6.99) and they have a great uptime (I should know, I work the helpdesk)...


UBBDev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.threads: My UBB Themes, My UBB Scripts
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
Originally posted by Gary Blatt:

As a web developer, I really need ASP.Net as well as UBB support.

www.pair.com , www.verio.net , www.interland.com , etc all have asp.net accounts that support cgi/perl applications as well.
http://www.interland.com/shared/bluehalo/?package=b200&page=b200&path=snavb200


- Allen wavey
- What Drives You?
Sponsored Links
Joined: Mar 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 5
A few interesting things regarding this error:

1. I found a few hits on Google regarding this error and they are all recent issues that have been brought up in the last month with UBB.

2. I just started seeing the problem myself on one of my UBB forums today. Nothing has changed in the forum control panel that I know of. The only thing that DID change on the IIS server that's hosting the forums is that I applied 2 Microsoft security hotfixes via SUS yesterday. No changes at all were made to the SMTP server and to my knowledge the SMTP server is functioning just fine still.

3. This problem only seems to happen on one of the UBB forums I host. It is not happening on another set of UBB forums that I host (same UBB version 6.5.0) on the same IIS 5 server, but different virtual website.

Jas

#182839 01/12/2004 11:31 PM
Joined: Mar 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 5
The problem seems to have gone away after a server reboot. The only thing I can think of is that there was some sort of file lock on one of the required script files responsible for sending SMTP email. I ran full backups last night and this morning, however, I run full backups every week, so who knows.

#182840 01/12/2004 11:49 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
There is nothing that could cause the UBB not to be able to connect to the SMTP server unless there's something outside of the scripts that causes the failure. The methods used by UBB are the industry standards, and can not "just break." There has not been an SMTP issue with UBB.classic that has NOT been related to the server or Perl installation since the new mail routines in 6.1.

If a server reboot fixed the issue, and the server itself also functions as an SMTP server, then chances are that the SMTP service itself was broken or otherwise offline.


UBB.classic: Love it or hate it, it was mine.
Joined: Mar 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 5
Thank you for the reply Charles.

Oddly enough, the problem has resurfaced again this morning.

Last night's sequence of events was:
1. Reboot the SMTP server. No effect. UBB SMTP email still broken and we get the error message.

2. Reboot the web server. Ahh.. SMTP error message has gone away and things are working again.

3. This morning, things are still working, then all of the sudden we're back to the error message again.

This problem is not happening on the other UBB forums I host on the same web server ie., the problem is specific to this particular set of UBB forums. So I just don't think it's a global web server problem.

I'm not sure what else to do other than to re-install the forums and "move" a backed up copy of all the registered users, forums, and topics back to the new installation using the supported move methods.

I'll check the perl installation but that wouldn't explain why the other forums I host work fine using the same perl installation.

Charles, correct me if I'm wrong, but you are also pointing the finger at the SMTP server too. Since both of my forums (1 works, 1 is broke) use the same SMTP server, that kind of blows that theory. Access and denial of relaying on the SMTP server is graned on a per IP address basis and right now my SMTP server only allows relaying from one internal IP address, and that's the web server that hosts both sets of UBB forums.

Problems like this are intriguing to me. It's satisfying to come up with a root cause, unfortunately, I don't know if I'll ever come up with a root cause on this issue. It may very well bug me in the back of my mind for a long tiem smash

Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
If both UBBs are using the same version of the code, are on the same machine, and both are pointing at the same EXACT SMTP server, then there is no reason that I can ever think of as to why things would break in that way.

Congrats, you stumped me. confused shocked confused


UBB.classic: Love it or hate it, it was mine.
#182843 01/13/2004 11:52 PM
Joined: Mar 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 5
Ok, PM email is fixed this time permanently.

I installed a brand new fresh set of forums from the UBB .zip file. SMTP error still happened.

So then I got the packet sniffer out and found the when the SMTP mail message was being generated, the web server wasn't even talking to the mail server at all. Not 1 single packet was going from the web server to the SMTP server.

I also ran the packet sniffer when generating an SMTP mail message from the other set of UBB forums that have been working fine. A whole series of frames could be viewed in the sniffer showing the SMTP message being successfully sent.

I found the root cause of the issue. It was a rogue DNS server in my test lab that was performing recursive DNS name lookups for the production web server and providing the improper IP address DNS host name resolution for the SMTP server which is not what I wanted it to be doing. So when the faulty UBB forum was trying to initiate SMTP mail, it was trying to talk to a router which of course is not running an SMTP service. The resulting error message in UBB was:
"Unable to connect to the SMTP server. The following error was returned: Unknown error The server either does not exist, or rejected the connection. Please ensure that the UBB is allowed to relay mail through the server."

What threw me off was the "or rejected the connection" part of the error message. I was focusing solely on a relay restriction issue on the mail server or a corrupt file somewhere in the UBB forum files.

The egg is on my face on this one. :rolleyes:

#182844 01/13/2004 11:59 PM
Joined: Mar 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 5
Quote
Originally posted by Charles Capps:

If both UBBs are using the same version of the code, are on the same machine, and both are pointing at the same EXACT SMTP server, then there is no reason that I can ever think of as to why things would break in that way.

Congrats, you stumped me. confused shocked confused
They were pointing to a DIFFERENT FQDN names (which I knew) and one of the names resolves properly, and the other name does not rockband

What you said is true... all things being equal, including the SMTP server names, it should have worked for both forums.

BTW, I like the rockband graemlins smile


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)