This is a guide to setting up your own antispam gateway on a LINUX machine.
Let's break the guide into some easy steps:
You will need:
You will need:
Next you need to download the required software and copy it to your chosen computer.
Now you can begin configuring Hexamail Guard. After some initial steps you can use the webadmin to configure the rest of the settings
Now you can run Hexamail for the first time
To get Hexamail to run on start up or as a daemon (systemd service) you need to do the following.
First edit the startup script start.sh to contain the folder Hexamail is installed in by changing the following line:
You can now start and stop Hexamail using the command(s):
You can configure using a remote Windows administration gui, using the Web Administration or by editing the configuration file directly.
The configuration settings are now the same as in the Windows Administration and you can use the same help file to read about the various options in the Administration sections here: Hexamail Guard Help
In the WebAdmin press the help button on the page you are using to see help relating to that specific page of settings.
Alternatively you can configure most of Hexamail using the configuration file directly using the instructions in the Configuration section here: Hexamail Guard Help
Hexamail Guard is a full-featured echo $type; and can offer various services to email and calendar clients.
Here is a list of services and the ports that need to be opened on your firewall/router to access each service
|Send/Recv Mail||SMTP||25||Used to send email to your server by other servers and send outbound email from email clients. NOTE some ISPs will block this port so clients may need to send via the ISP provided smarthost/smtp server or use SSL or an alternative SMTP port|
|Send/Recv Mail||SMTP (SSL)||465||Used to send outbound email from email clients securely. Use the SSL setting in your mail client and specify port 465 if your ISP is blocking port 25|
|Remote Administration||HTTP||echo $port;||Used for remote administration using the Windows Administration console|
|Web Administration||HTTP||880*||Used for remote administration using the Web Administration|
In your firewall you should allow incoming TCP connections for each port listed that you require, and in your Router/NAT device setup a rule to forward TCP traffic on the listed ports to the computer running Hexamail
* As configured in your configuration file or administration interface, default settings are shown