PDA

View Full Version : Win2k- Enabling MailEnable


wunderlin
2003-07-31, 09:41 AM
My initial server configuration had Mailenable set to port 0 and MS's SMTP service set to port 25. If you want to use MailEnable, you must change MS's port to an alternate number (2525 or something) and put Mailenable's port to 25.

Garner
2003-07-31, 13:07 PM
Its an error in the way SB set up the Win2k servers. They install IIS which 'grabs' port 25 for its SMTP service. When MailEnable is installed it cant access port 25 because IIS has already opened it. Disabling the SMTP part of IIS (heck disable IIS and install Apache ;)) and then entering port 25 into MailEnable worked for me :)

DanielV
2003-08-01, 02:48 AM
Thanks for the heads up, guys! I have informed our Windows developer, and he will investigate this matter promptly.

Nestor
2003-08-01, 14:50 PM
I remember my server had IIS's smtp installed along side with MailEnable. I couldn't get MailEnable to relay until I figured out that IIS was doing the relaying. It was no big deal but I could see this be a big problem to someone that is not familiar with SMTP and ports and that type of stuff.

Another suggestion, make sure you disable relaying in MailEnable for unauthenticated users. The only people that should have access to the relay are authenticated (mail enable authentication) and the local machine. This would stop servers from being blacklisted. I didn't figure this out until I was already on the blacklists. I've since close the open relay but it took some digging to find out how using MailEnable.

wunderlin
2003-08-01, 14:57 PM
I'm pretty sure relay was turned off on my mailenable's installation. I had to enable it with smtp authentication in order to use outlook- it even warned me once when I almost set it up wrong that it could be used by spammers- nice confirmation.

Nestor
2003-08-01, 15:17 PM
You know, you might be right. I tinkered around with this so much figuring it out, it might have been disabled.

But anyway, a flash tutorial on MailEnable will also go a long way to curb spam relaying.

Garner
2003-08-02, 05:40 AM
I only have relay allowed for 'privileged' IP range. That range only being 127.0.0.1 (local machine).

We have no problems with sending or receiving mail this way. You need the local machine relay for sending mail from PHP when you use SMTP authentication like I do. As PHP cant use SMTP auth it has to act as if it was relaying the mail - hence you need to allow the local machine relay access.

As long as relay is only enabled for authenticated users (if you want) and the local machine (again only if you need it) and you use SMTP authentication for sending mail you shouldn't have a problem. I had ORDB (http://www.ordb.org) test mine once I'd set it up to confirm my settings, according to them I'm not an open relay.