Friday, October 7, 2011

Install SMTP server on 2003 R2

Simple and fast way to create a SMTP server on a 2003 server.




1. Go to Control Panel -> Add or Remove Programs -> Add/Remove Windows Components -> Application Server -> Details -> Internet Information Services (IIS) -> Details -> check SMTP Service -> OK.



2. Go to Start -> Administrative Tools -> Internet Information Services (IIS) Manager -> expand server -> Right click on Default SMTP Virtual Server -> Properties -> Access -> Relay… -> select All except the list below -> OK -> Apply -> OK.



3. Test the server:
Send a manual email through telnet to confirm everything working successfully. (Telnet is also installed from Server Manager -> Add Features).

- Open Command Prompt and type: 
telnet localhost 25 (Enter key)
HELO (Enter key)
mail from: anyuser@anymailserver.com (Enter key)
rcpt to: anotheruser@anymailserver.com (Enter key)
data (Enter key)
mail test (Enter key) . (Enter key)

=> "Queued mail for delivery" message should be displayed. 

No comments:

Post a Comment