Click Here For JSpamFilter Click Here For Latest Downloads. Click Here To Request A Free Trial Of JSpamFilter. Click Here To Purchase JSpamFilter. Click Here For Our Support Section. Click Here For The JSpamFilter Manual. Click Here For A List Of Our FAQs. Click Here For The SiteMap. Click Here To Contact Us. Click Here For Information About Modest Software.

Modest Software, Inc.

Lotus Domino 5
Microsoft Exchange Server 5.5
Microsoft Exchange Server 2000
NetWare / GroupWise
Ipswitch IMail Server
Eudora Internet Mail Server (EIMS) on Apple Macintosh OS X
Merak Mail Server
SL Mail
Other Mail Servers

  Lotus Domino 5

Start the Lotus Domino Administrator. Click on the Configuration tab on the top, then select "All Server Documents" on the left. Double-click on the server you want to use JSpamFilter with.

On the next screen, choose the "Ports" tab, then the "Internet Ports" tab below that, then select the "Mail" tab below that.

Change the "Mail (SMTP Inbound)" port to 26, then click on "Save and Close". Close the Domino Administrator.

Finally, type "restart server" in the Lotus Domino Server Console for the change to take effect.

  Microsoft Exchange Server 5.5

The port is set by changing the "smtp" entry in winnt\system32\drivers\etc\services. In a nutshell, change the entry that reads:

smtp 25/tcp mail #Simple Mail Transfer

to instead read:

smtp 26/tcp mail #Simple Mail Transfer

...then restart the Microsoft Exchange Internet Mail service.


  Microsoft Exchange Server 2000

In the Exchange System Manager, Select "Servers" / [Your Server] / Protocols / Select "Default SMTP Server" and choose 'Properties' / General / Advanced / Change the port number to the port desired.

  NetWare / GroupWise

JSpamFilter requires a JVM version of 1.4 or higher. If required, newer versions of the Novell JVM can be downloaded from

Load java.nlm, then execute JSpamFilter with a command something like this:

java -jar sys:\jspamfilter\jspamfilter.jar sys:\jspamfilter\jspamfilter.conf

You can set the listening port for the GWIA to 26 by following the instructions here:

There appears to be a bug in the Symantec Just-In-Time Java Compiler used by the Novell JVM, which causes the following exception to be thrown:

Exception in thread "main" java.lang.IllegalMonitorStateException: current thread not owner

The solution is to disable the compiler by changing sys\etc\java.cfg as follows:

  Ipswitch IMail Server

The listen port is controlled in the registry, at:
HKEY_LOCAL_MACHINE/System/CurrentControlSet/Services/SMTPD32/Parameters/Port (the Port dword value may need to be created) Once the value exists, set the number to the port you want to use (e.g., 26 decimal.)

The iMail server (up to and including version 6, we haven't verified this for version 7 of iMail) can hang when it gets long lines and it's not in DATA mode. Many spam-sending agents are malformed and will send messages even though a RCPT TO command may not have been accepted. JSpamFilter supports a work-around to this problem:

First, create a batch file in your JSpamFilter directory, called RestartImail.bat, and put the following two lines in it:

net stop "IMail SMTP Server"
net start "IMail SMTP Server"

Then, add this line anywhere in your JSpamFilter.conf file:


If the mail server becomes unreachable for more than a few seconds, JSpamFIlter will execute the batch file.

  Eudora Internet Mail Server: EIMS

To change the SMTP listening port on EIMS:

  1. Connect with EIMS Admin
  2. Go to Preferences
  3. Go to the Connection Settings pane
  4. Change the SMTP server TCP port to 26 (or the desired port)
  5. Click OK
  6. Quit and relaunch EIMS Server X

  Merak Mail Server

The port is set as "SMTP Port" on the System tab of the Merak configuration applet.

If you have an older version, the other setting for "Relay SMTP Port" should always be left at 25.


According to Post.Office product support:

Currently there is no way to specify the port that Post.Office is accepting connections on.
Read the next section on "SL Mail" for suggestions.

  SL Mail

Unfortunately, if you change the "SMTP Port" in SL Mail, both the "listen" and "talk" ports are changed, and other mail servers don't listen on port 26.

One workaround is to tell SL Mail to listen on the IP address (aka "localhost"), then change JSpamFilter's ListenIP to the IP address of the server's Ethernet card, JSpamFilter's TalkIP to, and JSpamFilter's ListenPort and TalkPort to 25.

Another possiblity is to have JSpamFilter listen on port 26 and talk to port 25, and configure your firewall to route inbound port 25 connections to port 26 on the mail server.

  Other Mail Servers

If you are having trouble configuring a mail server not listed, contact us. If it is not possible to change the "listen" port of the mail server, JSpamFilter can be run on a different IP address or server from the "real" mail server; see the notes for SL Mail (above), or the manual under "ListenIP" and "TalkIP".


JSpamFilter  |  Free Trials  |  About Us  |  Privacy  |  Contact  |  License  |  Site Map

Copyright ModestSoftware 2002 - 2019