Contents
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
Post.Office
SL Mail
Other Mail Servers
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.
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.
see
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q173903
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.
JSpamFilter requires a JVM version of 1.4 or higher. If required, newer versions of the Novell JVM can be downloaded from
http://download.novell.com/filedist/pages/PublicSearch.jsp.
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:
http://support.novell.com/cgi-bin/search/searchtid.cgi?/10072891.htm
Note:
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:
;JAVA_COMPILER=symcjit
JAVA_COMPILER=none
|
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.)
see
http://www.ipswitch.com/support/IMail/guide/imailug7/reg_tips6.html
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:
restartaction=c:\jspamfilter\RestartImail.bat
If the mail server becomes unreachable for more than a few seconds, JSpamFIlter will execute the batch file.
To change the SMTP listening port on EIMS:
- Connect with EIMS Admin
- Go to Preferences
- Go to the Connection Settings pane
- Change the SMTP server TCP port to 26 (or the desired port)
- Click OK
- Quit and relaunch EIMS Server X
The port is set as "SMTP Port" on the System tab of the Merak configuration
applet.
see
http://www.icewarp.com/Knowledgebase/Merak_Mail_Server/Configuration/.
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.
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 127.0.0.1 (aka "localhost"), then change JSpamFilter's ListenIP to
the IP address of the server's Ethernet card, JSpamFilter's TalkIP to 127.0.0.1, 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.
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".
|