MgSMTP 0.9s rc1
[mgsmtp.git] / readme_source.txt
1 MegaBrutal's SMTP Server (MgSMTP)
2 Copyright (C) 2010-2012 MegaBrutal
3
4
5 This is the source code for MgSMTP version 0.9r. View the changelog to be informed about the advances made since the previous version. Versions prior to 0.9i were private, their changes were not noted.
6
7
8 For source files those implement core features of MgSMTP, the GNU Affero General Public License applies:
9 - MgSMTP.pas
10 - Log.pas
11 - Spool.pas
12 - Mailbox.pas
13 - Relay.pas
14 - Bounce.pas
15 - Listener.pas
16 - Policies.pas
17
18 For other files, mostly helper units, the GNU Lesser General Public License applies:
19 - Common.pas
20 - DNSMX.pas
21 - DNSResolve.pas
22 - EINIFiles.pas
23 - NetRFC.pas
24 - Network.pas
25 - RFCSMTP.pas
26 - SocketUtils.pas
27
28 I've used and modified the unit, "comparewild.pas", originally published by Thomas Kelsey in 2007. For this single file, the GNU General Public License applies.
29
30
31 See license.txt and license_lesser.txt, and license_gpl-2.0.txt to read the mentioned licenses.
32
33
34 Compiling this source is really easy. You need the FPC (Free Pascal Compiler) installed on your computer. Supporting environmental variables (such as the compiler's directory in PATH) should be set up as well. I suggest you to use the most recent stable version of FPC to compile MgSMTP. I used 2.4.0 when released this package. To actually compile the source code, open up a command-line, and issue the following command:
35
36 fpc MgSMTP.pas
37
38 Magic happens! FPC will compile the entire source code in a few seconds. You should get an MGSMTP.EXE as a result. Please read the other README file on instructions how to install it.
39
40 The mgsmtp_tests.zip package contains some test programs I used. If you do changes to this software, they may come handy for debugging.
41
42
43 ~~~ By MegaBrutal ~~~