Thursday, 26 July 2012

SMTP Mail Server with Windows

Don't waste time on anything else (all the custom applications are crap), just install exim with cygwin.

Run cygwin as an Administrator (to allow you to install the exim service) :

Start-> Run: "cygwin" then press Ctrl-Shift-Enter

Run "exim-config" after installation:

- "ipv6 support" : up to you
- "enter period of the queue runner" : default (15)
- "do you want to install exim daemon as a service" : yes
- "are you using cygsla" : yes
- "value of CYGWIN" : default
- "do you want to start the exim service now" : yes

Start and stop the service with :
"net stop exim"
"net start exim"

Check exim routing with:
exim -bt a@example.com

Send a test message using:

exim -v you@domain.com
From: you@domain.com
To: recipient@example.com
Subject: Testing

This is an exim test .
^D

No comments:

Post a Comment