Click here to Skip to main content

Hosting and Servers

Sponsored by
 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
QuestionConnecting to Exchange SMTP Server through Telnet/Custom CodememberDisIsHoody11 Dec '12 - 11:31 
I originally posted this in the "Web Programming" forum and in discussions over there it seems that the issue I may be having is related specifically to the Exchange server I'm trying to use. I'm going to re-post my messages over here in the hopes that someone will be able to tell me why I can't do what I'm trying and why there seems to be inconsistencies in the data that I've been finding. Sorry for the long post, but I'm just trying to post everything I already asked in the other forum and the only thing anyone was able to suggest what that it was some sort of network security issue and that I needed to ask someone who knows Exchange very well. Thanks in advanced for any help/suggestions/solutions that you can provide. This is something very important to an application I'm developing and without it I lose a major function.
 
Below is a combination of post I had written over a 2 day period based on additional information users were asking for. I cut it back some, but I just want to make sure I provide everything I can:
 

I'm a VB.NET developer and I like to expand by knowledge by trying to program things from scratch that are already implemented in the the.NET framework. My current project is programming a SMTP server using just sockets. I've already read the RFC on SMTP and my company has an Exchange Server (2007) that I was going to use for testing.

The web address of the server is exchange.mycompany.com and I used reverse DNS to get the IP adress. The domain name does have a MX record a well. From the command prompt on my computer (which is running Win7 Professional) I tried using telnet to connect on port 25. I tried using the domain name as well as the IP address, but both times it said it couldn't connect to the server on port 25.

I checked the settings in Outlook and the port is correct. I then tried connecting on port 110, and some other ones that are sometimes used, and it gave the same error message.

Next I connected to the Exchange server through VPN and tried telnet again on port 25 and this time it worked. However in the SMTP banner it said remote.mycompany.com instead of exchange.mycompany.com. So I disconnected from the VPN and tried the telnet again on all the ports I initially tried but used remote.mycompany.com but again got the same error message. I did an IP address lookup and remote.mycompany.com and exchange.mycompany.com point to the same IP address.

I then used mxtools.com and dnsstuff.com (I think that was the adress) and used their SMTP tools to see of they could connect. I entered mycompany.com as the domain name and they looked up the MX record, which returns exchange.mycompany.com as the SMTP server, and both tools were able to connect with no issues identified.

So my questions: 1) If the MX record list exchange.mycompany.com as the SMTP sever, why does the banner return remote.mycompany.com? 2) Why can't I connect the SMTP server through telnet unless I'm connected through VPN, but the two websites I used to test it the connection worked?

Obviously the server works because because the two websites can connect to it, I can when I'm in VPN, and other servers can because I receive email on my corporate account. What could prevent my computer from connecting to the SMTP server through telnet when I'm not on VPN. I should also mention that I even tried turning off all my anti-virus software to make sure that it wasn't blocking it.
 
I was thinking maybe because I don't have a domain name so if the Exchange server tries to lookup the IP address of my computer there is no MX or PTR record. Is this something SMTP servers look for?

Just today I also found something that I don't know how to explain or how it may affect this. The MX record for the server list exchange.mycompany.com. However, even when I'm on VPN, I can't connect to the SMTP server using that address in telnet or the IP address it points to. I have to use remote.mycompany.com, which is shown in the SMTP banner and points to the SAME IP ADDRESS. Is there a setting in Exchange that makes it script only request coming from this address? If so, how do the online SMTP tools discover this subdomain when I only gave the tools the domain name (mycompany.com) and the MX record only shows exchange.mycompany.com? The address remote.mycomany.com is not located anywhere in the zone file.
 
What I'm trying to do (at least for now) is figure out how to deliver mail to the Exchange server from my software. For example, if I build an SMTP server and a client which connects to my that SMTP server and I want to send an email to webmaster@mycompany.com (where the SMTP server for mycompany.com is hosted on the Exchange server), how would the SMTP server I created connect to the Exchange server in order to deliver the email? Doesn't the Exchange server have to allow some sort of connection from outside the intranet in order to receive emails from other domains (gmail, yahoo, etc.)?
Questioninstallation of xamp on ubuntumemberMassalay10 Dec '12 - 9:02 
I have a problem with the installation of xamp on ubuntu 11.04.
I succesded to install it but when i click on phpmyadmin it outputs a message saying something like this "all files are not suppose to be made world writable". Plz who can help me solve this problem.
AnswerRe: installation of xamp on ubuntumvpRichard MacCutchan10 Dec '12 - 21:40 
Massalay wrote:
message saying something like
Please show the exact wording of the message and the full circumstances of when it appears.
 
[edit]
You could also see these suggestions[^]
[/edit]
One of these days I'm going to think of a really clever signature.

AnswerRe: installation of xamp on ubuntumemberAlbert Holguin8 Feb '13 - 5:50 
You just have to do a chmod to some file that the script is checking permissions on. Should be a simple fix, I'm guessing the script is also telling you which file is configured wrong.
 
File permissions in Linux (and how to change)[^]
QuestionAzure vs Own Servers [modified]mentorDaveAuld22 Nov '12 - 3:12 
I currently use a couple of virtual servers for a variety of things e.g. source control, websites, general storage etc.
 
I am thinking of maybe moving the websites across to Azure as you get an allowance with a MSDN subscription, and this would allow me to probably dump one of the VS's.
 
I'm just not sure though. Is anyone here using Azure for small personal websites? how have you found it?
 
(I am not talking about a virtual machine on azure, I am talking about a pure web site)

 
Edit: After much reading and reasearching, I have completely gone off the idea of using Azure for VMs at the moment. I'm just going to stick to a rented VM from my isp for the time being.
Dave
Find Me On: Web|Facebook|Twitter|LinkedIn

Folding Stats: Team CodeProject



modified 2 Dec '12 - 8:48.

QuestionIIS 7.x related - for hosting .Net applicationmemberGautam Hattiangadi16 Nov '12 - 22:45 
I want to deploy .net application with following type of setup:
a) IIS server is on different server
b) Application is deployed on different server and
c) Database is separate server
 
My OS is Windows 2008 R2. Can this be done? Need help on this please.
Gautam Hattiangadi

QuestionAntivirus for Businessmemberjrahma25 Oct '12 - 23:21 
Hi,
 
I want to know what's best solution for Windows Server protection with average 50 workstation?
 
I want to have managed solution to deploy and manage all clients from the server keep in mind that some clients are windows where some some are linux.
 
What do you recommend?
AnswerRe: Antivirus for BusinessmemberEddy Vluggen26 Oct '12 - 2:57 
Not a recommendation per se; I'm using Avast[^]! on both the Windows and Linux-machines, and seems like there's a "mobile" version. There's a version for "small business", aiming at 1-200 pc's.
 
The reason I'm not using Symantec is because they provide a backdoor to a third party. Norton has been tried and removed, after coming up with annoying messages, dialogs and eating away resources.
 
There's a nice comparison on the Wikipedia[^].
Bastard Programmer from Hell Suspicious | :suss:
if you can't read my code, try converting it here[^]

AnswerRe: Antivirus for Businessmembermanoranjan20 Nov '12 - 17:38 
There are many managed solutions available. E.g.:
1. Sophos End point security and control
2. TrendMicro OfficeScan
3. McAfee VirusScan Enterprise
 
However, the best solution depends on your needs!
 
Some variables could be:
1. Support/ SLA
2. Price
3. Configuration/Management options
4. Integration with existing infrastructure
5. Confidentiality requirements (e.g. connecting to Vendor's servers is not acceptable)
 
See the following web-sites to get a feel of performance of various AV products.
 
http://www.av-comparatives.org/[^]
 
http://www.av-test.org/en/home/[^]
AnswerRe: Antivirus for BusinessmemberSCraw285527 Dec '12 - 2:50 
Depends which versions of Windows Servers you're running?
 
Forefront endpoint protection and System Center Endpoint Protection come with most licensing agreements with current Windows products.
 
As was pointed out:
 
TrendMicro is fairly good, which even MalwareBytes has a Enterprise version of their quality AV.
 
Manageability is a huge factor though, which cost is not far behind. A lot depends on existing Infrastructure like if you have a Firewall, IDS/IPS systems like Dell Secureworks, or other security blocks in place.
Something worth reading, albeit it's invincible!

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web03 | 2.6.130523.1 | Last Updated 1 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid