Arabic  Chinese (simplified)  Chinese (traditional)  French  German  Italian  Japanese  Korean  Portuguese  Russian  Spanish 

HMailServer

From ASSPSMTP

Jump to: navigation, search

On This Page

Installing ASSP with hMailServer

Intro

I am updating this How-To because the older versions are out of date in a couple of areas. Also, some information on things is misleading, conflicting and so forth. So this guide will explain how I set this up using the advice from previous guides and incorporating my own trial and error.

This guide assumes that you are installing hMailServer and ASSP on the same server. If this isn’t the case, then substitute the IP/hostname/ports for what is proper to your network layout.

This was set up and tested on Win2k3 Enterprise running in VMware.

Install hMailServer. The fineries of this are covered in great detail elsewhere. Disable all anti-spam features of the software.

Change the SMTP port settings in Settings-TCP/IP Ports to a port different than 25. In this example I use port 125.

Close hMailServer

Install Perl

Install Perl and the modules required for ASSP by following steps 1 through 5 of the Quick Start for Windows article.

Install ASSP

Download ASSP from sourceforge.net and decompress the contents. Most guides say to extract the files and folders into c:\ASSP, but this isn’t entirely accurate…

Create the following folders

C:\ASSP

C:\ASSP\spam

C:\ASSP\notspam

C:\ASSP\errors

C:\ASSP\errors\spam

C:\ASSP\errors\notspam

Take a look at the extracted ASSP contents. Drill down to the ASSP folder. The contents of this folder are what you need to use. Copy all folders and files in the /ASSP folder. This will include several folders and .pl files. Copy these items to your newly created C:\ASSP folder.

Setup the Windows Service

Open a command prompt.
Start | Run cmd

cd to C:\ASSP\

Use the Perl command to add ASSP to the Windows Services.
perl addservice.pl -i c:\assp\assp.pl c:\assp

Now create a file named assp.cfg in the c:\ASSP\ directory.
This can be by creating a text document and renaming it assp.cfg
Open C:\ASSP\assp.cfg with Notepad Paste this line into it

AsAService:=1

Save the file and close notepad.

Start the Service

Click Start | Run and type Services.msc

Find the Anti Spam SMTP Proxy service

Change the startup type to Automatic and set the Recovery options as you see fit

Start the service.

Basic ASSP Configuration

Open a web browser and navigate to http://127.0.0.1:55555

Log in with a blank username and ‘nospam4me’ as the password.

Open the Server Setup section.

Change the Admin password to something of your choosing.

Open the Network Setup section

Change SMTP Destination field to 127.0.0.1:125

  • This tells ASSP to relay your mail to hMailServer

If you accept SMTP from an alternate port (to compensate for ISP’s who blocks outgoing port 25, put this port in the Second SMTP Port field

Open the Relaying section

Add 127.0.0.1 to the Accept all mail

Also add any other IP that can relay from this server (web server with Round Cube etc)

In Local Domains, adds all of your domains that you are accepting mail for

Open the Collecting Menu

Add an Address, User or Domain here who always receives spam. This will help build the database. These are the most obvious setting to change. From here just let spam build up in the folders. You can check the spam and notspam folders to help classify some spam that is classified as notspam and visa versa.

Post Setup

If you are supporting users, consider downloading and installing the ASSP Toolbar. It integrates with Outlook and will allow users to easily report items as being spam.

ASSP Toolbar for Outlook

These icons link to social bookmarking sites where readers can share and discover new web pages. Blinklist  del.icio.us  digg  Furl  Google  ma.gnolia  Reddit  Slashdot  Spurl  YahooMyWeb 
Personal tools