Hope this help:
How-To Configure hMailserver and ASSP to filter SPAM
Jason Weir <jason.weir@comcast.net> 4/14/2004
This configuration was tested with both hMailserver and ASSP running on the same Windows 2000 Professional box, but it should work on almost anything that will run hMailServer
hMailServer -
http://www.hmailserver.comASSP -
http://assp.sourceforge.net/Software Versions:
- ASSP v1.0.9
- HmailServer v2.0.x and 3.x
- Activestate Perl v5.6.1
Requirements:
- hMailserver up and running, configured correctly and is passing mail.
- Perl installed with Win32::Daemon module installed
hMailServer Configuration:
- Open hMail Administrator
- Under Settings->SMTP change SMTP Port to 125 save settings and restart server
ASSP Installation & Configuration:
- Installation is straightfoward, download and unzip files to c:\assp
- Create the following directories
c:/assp/spam
c:/assp/notspam
c:/assp/errors
c:/assp/errors/spam
c:/assp/errors/notspam
- Open a command prompt from c:\assp. Run: perl assp.pl
- Point your browser to
http://127.0.0.1:55555/ blank username, password is nospam4me
- Check the "Show Advanced Configuration Options" checkbox and click the "Apply Changes" Button
- Change the following Settings
SMTP Destination = 127.0.0.1:125
Check "As a Service" checkbox
Listen port = 25
Local Domains = list the domains you have hMailServer configured for
- Click the "Apply Changes"
- Press Ctrl-C to stop the assp.pl process
- Run: perl addservice.pl -i c:\assp\assp.pl c:\assp
- Start the Anti-Spam Smtp Proxy service
- Test by trying to telnet to 127.0.0.1:25 you should see the mail server banner.
This gets ASSP working in Test Mode, mail should now pass through ASSP to hMailServer. You will notice messages building up in the spam and notspam directories. If you see spam in the notspam folder or vice versa you must manually move those messages to the correct folder. Once you have 100 or so messages build up in the spam and notspam folders run the rebuildspamdb.pl script, this builds the spam database. Read the ASSP documentation regarding turning off test mode as well as automating rebuildspamdb.pl