Server Administration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesServer Administration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old November 1st, 2004, 12:31 AM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
mail server on windows machine

looking to set up a secure mail server from my personal home machine

only reason i want it is to test scripts. in other words, i have php/apache/mysql on my home system to program, but i cannot verify how my mail type scripts work without a working mail server.

Windows XP Pro OS
Apache 2.0.48

i DONT want to set up a mail server for sending mail, except from scripts that i write that need to send mail

Reply With Quote
  #2  
Old November 1st, 2004, 01:22 AM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: mail server on windows machine

The easiest way is to set up IIS and install only the smtp services.

Reply With Quote
  #3  
Old November 1st, 2004, 01:32 AM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: mail server on windows machine

i tried IIS, but could not get it configured, or configured properly.

not quite sure what to do to make it work

Reply With Quote
  #4  
Old November 4th, 2004, 09:00 PM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: mail server on windows machine

I don't have much experience with IIS, but I can say that mail servers are a tricky bunch.

Does Sendmail run on Windows? I have my notes on installing and configuring Sendmail on a Slackware Linux machine. If for some reason it's been ported to Windows and you wanted to try that, I can provide you a copy of my notes. They might be of help.

I think you can might be able to set up PHP to reference a nonlocal mail server under Windows (which the option to do so isn't available under Linux).

I know that the PEAR::MAIL::Factory classes allows you to send mail through a nonlocal mail server. You could use that in your mail scripts...

php Code:
Original - php Code
  1. require_once("Mail.php");
  2.  
  3. $headers["From"] = "sender@example1.org";
  4. $headers["To"]   = "receiver@example2.net";
  5. $headers["Subject"] = "TEST"
  6.  
  7. $body = "This is a test message.";
  8.  
  9. $params["host"] = "mail.example.com";
  10. $params["port"] = "25";
  11.  
  12. $m = Mail::factory("smtp", $params);
  13. $m->send($recipient, $headers, $body);


I myself am more familiar with Apache than IIS... I didn't even know there was an SMTP portion to it (though I did know it could do FTP). I know Notepad has some IIS experience though I don't know how much, especially in the SMTP area.

I guess you should decide if you wanted to try the above options or if you wanted to go with IIS.

If you go with IIS, if you could describe the configuration options I could try to help you uncover resonable values for them.

I do have a few IIS admin books kickin' around the house and know a bit of mail server admin'ing, so I can try to help you as best I can.

-Tim

Reply With Quote
  #5  
Old November 4th, 2004, 11:08 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: mail server on windows machine

some folks are saying nice things about mdeamon..


Reply With Quote
  #6  
Old November 4th, 2004, 11:28 PM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: mail server on windows machine

I talked to a Windows Admin buddy of mine and he gave me a bit more info on IIS's SMTP capabilities.

Apparently it's just the old unpatched Microsoft Exchange 5 code that provides IIS with its SMTP capabilities. With that said, IIS for SMTP is risky. He suggested ASPMail to provide a more secure and reliable service.

I've not heard about mdeamon at all, Zombie. What about qmail? Again probably a *nix designed mail server, but it might run under Cygwin?

The more I think about it, Kender, you might just want to see if you can research the mail directives in the php.ini file to send through an external mail server or use PEAR::Mail::Factory. Especially since you don't want to use the email server a lot and it would be a lot of effort to install and secure.

-Tim

Reply With Quote
  #7  
Old November 4th, 2004, 11:54 PM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: mail server on windows machine

where would i look into the pear features, and how to write for it?

Reply With Quote
  #8  
Old November 5th, 2004, 09:58 PM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: mail server on windows machine

Well, the code would be:
php Code:
Original - php Code
  1. require_once("Mail.php");
  2.  
  3. $headers["From"] = "sender@example1.org";
  4. $headers["To"]   = "receiver@example2.net";
  5. $headers["Subject"] = "TEST"
  6.  
  7. $body = "This is a test message.";
  8.  
  9. $params["host"] = "mail.example.com";
  10. $params["port"] = "25";
  11.  
  12. $m = Mail::factory("smtp", $params);
  13. $m->send($recipient, $headers, $body);


... the PEAR website is pear.php.net.

-Tim

Reply With Quote
  #9  
Old November 5th, 2004, 11:12 PM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: mail server on windows machine

since i already ran the pear install when i installed php5, there is nothing else to install.. functionality should already be there?

Reply With Quote
  #10  
Old November 6th, 2004, 12:27 AM
bluephoenix's Avatar
bluephoenix bluephoenix is offline
Levelheaded Curmudgeon
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Syracuse, NY
Posts: 507 bluephoenix User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 13 m 2 sec
Reputation Power: 2
Send a message via AIM to bluephoenix
RE: mail server on windows machine

PEAR is installed by default with PHP versions 4.3.0 and above; you'll only need to install it manually if you're restricted to earlier versions. Information on how to perform a manual installation of PEAR can be found at pear.php.net/manual/en/installation.getting.php.

-Tim

Reply With Quote
  #11  
Old November 6th, 2004, 12:34 AM
kender's Avatar
kender kender is offline
Resident Kender
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: NW Missouri
Posts: 163 kender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 20 m 51 sec
Reputation Power: 2
Send a message via ICQ to kender
RE: mail server on windows machine

thanks all for the help

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesServer Administration > mail server on windows machine


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |