Welcome to the NoSpamToday for Servers Support. Here you will find the NoSpamToday FAQ lists, and links to some "How To..." guides.
The NoSpamToday support forum allows users to share tips and tricks on the topics of installation and custom rule design, and general discussion on the use of SpamAssassin™ on Windows™ platforms.
If you want to learn more about SpamAssassin's configuration options,
see the SpamAssassin documentation files in the
subdirectory of your installation directory, or visit
Check out SpamAssassin's mailing lists, the archives are available
here. There is also
a powerful archive search engine available.
You have a question unanswered here? Send an email to .
What is Spam Assassin™?
Award-winning SpamAssassin™ (http://spamassassin.apache.org) is considered the industry's leading spam filter, always finishing as one of the top contenders, or even best, in all spam filter tests. NoSpamToday always includes the latest stable version of SpamAssassin™. Future updates of SpamAssassin™ will be merged into the distribution, once they are proven and stable.
Note: We do not sell SpamAssassin™, it's Open Source and it's free!
SpamAssassin is a trademark of Deersoft, Inc.
The SpamAssassin open source project resides at http://spamassassin.apache.org.
Why do I seem to get email addressed to other people?
This can happen for two reasons:
MAIL FROMcommands when transmitting a mail. The addresses used there need not have anything to do with the
CCheader fields in the message itself. But these header fields are displayed by your mail client. So it can appear the mail was not addressed to you at all.
Where can I download the free trial version?
Please go to http://www.nospamtoday.com/download/server and download the setup program. If you are behind a firewall blocking the download of executable files, choose to download the .zip archive, and use any archive software to unpack the setup program. Start the setup program with a double click.
When installing, I see the following error message: "bayes: bayes db version 2 is not able to be used, aborting! (...)"
This message is misleading, the database update still proceeds as expected. The SpamAssassin Wiki says: "There is nothing to fear, it is just a warning."
What are the limitations of the trial version?
The Trial Version is fully functional for 30 days after installation. After this time, the restrictions of the freeware license apply. After you purchase and register a license, the freeware limitations are removed.
What can I do when I lose my registration key?
Please go Customer Service Center and request the key. It will then be sent to your email address again.
What version am I using?
There are three ways to find out which version you are using
How do I know there is an important update?
In the "Global Settings" dialog, enable "Check For Updates". Also, make sure that your firewall allows Bytemon to connect to our web server (www.byteplant.com:80). This will notify you whenever important updates of Bytemon are available. To get a mail notification, enable "Send Daily Admin Mail" feature in the admin wizard, and check "include update information".
There is a newer version of NoSpamToday available. How do I update my installation?
Download the latest version and install it on top of your current installation. Installation will replace all the files of the SpamAssassin distribution, but the configuration files
noSPAMtoday.cf are preserved.
Upon start NoSpamToday brings up the following message: "Your system clock appears to have been changed..."
This is caused by the software protection mechanisms of NoSpamToday Please contact , to get a so called "clock fix key".
I have 27 email boxes set up on my server but on my daily spam filtering report I have a "Mail Addresses Used" count of 51. How can this happen?
NoSpamToday counts every recipient address (mailboxes plus aliases) accepted by your mail server that matches the list of address patterns you specified (if you did not specify this list, every address accepted by your mail server is counted). To reduce the total number of recipient addresses used to a minimum, you should
I removed the user account from the mail server, but the address still shows up in my used address list. How do I reset the used address list?
Restart the NoSpamToday service, using either the Windows services manager, or the NoSpamToday admin wizard.
My mail server is configured as SMTP relay server to all locally connected users (relay restrictions are configured based on IP addresses). Now - after installing NoSpamToday - I have an open relay!
When NoSpamToday forwards mails your mail server "sees" only the IP address of the machine running NoSpamToday. You have to exclude the IP address of the NoSpamToday server from the list of hosts that you allow relaying for. Make sure the users you relay for connect to your mail server directly, not via NoSpamToday The NoSpamToday server is meant to filter incoming emails from the internet, and not the email of your trusted users.
Both NoSpamToday and the mail server run on the same machine. The IP address of that machine is not on the list of IP addresses where relaying is allowed. Why do I still have an open relay?
In NoSpamToday's server settings, make sure you use the IP address as the outgoing server, and not localhost (127.0.0.1). If this isn't enough to fix the problem, assign two IP addresses to the machine, and use one for your mail server, and the other for NoSpamToday.
How can I make sure my mail server is not an open relay?
Open the NoSpamToday Admin Wizard and select "Perform Open Relay Test" from the "File" Menu to find out if your mail server accepts mails to external recipients.
How can I change the incoming SMTP port of Microsoft Exchange 5.5?
Microsoft Exchange Server 5.5 doesn't directly support changing the incoming port for SMTP mail. In some circumstances (you have a firewall/router with network address translation) you may be able to direct incoming mail to the NoSpamToday proxy on another port, which can then pass it to the Exchange server on port 25. This may not be possible or desirable, e.g. when using applications that do not support configurable destination ports, or when there is no possibility for port translation, or when there are simply too many sources for messages that it would be inconvenient to reconfigure them all.
In these circumstances you can change the Exchange Server's incoming SMTP port by editing the 'services' file, found in \WINNT\system32\drivers\etc\ for example. Change the line:
smtp 25/tcp mail #Simple Mail Transfer Protocolto:
smtp 26/tcp mail #Simple Mail Transfer ProtocolRestart the machine after this change and Exchange will start listening on the new port. NoSpamToday can then listen on port 25 and forward mail to Exchange on port 26. Note that outgoing messages from the Exchange Server will continue to be sent to port 25.
I am trying to use NoSpamToday! with Exchange 2000
in a two IP address configuration. Why does the NoSpamToday! service fail to start?
Exchange sometimes grabs the SMTP port on all interfaces, even when it has been configured not to. Click here for a Microsoft knowledge base article that tells you what to do.
I am trying to use NoSpamToday! with Exchange 2003
in a two IP address configuration. Why does the NoSpamToday! service fail to start?
To solve this issue you have to disable socket pooling for the protocols that you want to filter with NoSpamToday!. For SMTP and POP3 you can apply the following procedure:
1. Open a command prompt
2. Change the directory to Inetpub\scripts (or Inetpub\adminscripts)
3. Enter the following depending on the service that you want to disable socket pooling for, e.g. for SMTP:
net stop smtpsvc
cscript adsutil.vbs set smtpsvc/disablesocketpooling true
net start smtpsvc
How do I configure the NoSpamToday Service to automatically restart on failure?
Launch the Services Manager, select the “NoSpamToday Service” entry and open its property page by double-clicking, switch to the “Recovery” tab page and select “Restart Service” for failure from the dropdown list.
The log file is cycled once it reaches a size of about 1MB. How can I increase the maximum log file size?
To increase the size for example to 10.000.000 byte, add this line to the
noSPAMtoday.cf file in your installation directory, using a text editor:
The log file contains many 'connection closed by client' messages. Is there a problem?
The most likely cause for this message is that some bulk mail software used by a spammer did not wait for the confirmation that the mail server has accepted the message. NoSpamToday writes the above message to the log and immediately releases all resources held by this SMTP session.
Does rejecting spam cause additional SMTP traffic?
It does, but not directly for you. The only difference between accepting and rejecting a mail is your side's reply to the DATA command: In the accept case it is "250 message queued for delivery" (or something similar), in the reject case it is "550 [your rejection message]". The mail delivery failure notice is not created by your mail server, but by the sending mail server. The mail delivery failure notice typically does not reach spammers at all, as a spammer won't give his real address, but it can be useful to inform legitimate users that their message was tagged as spam and might not be read.
The attachment blocker/antivirus filter seem to ignore the whitelist. What is going wrong?
For security reasons, the attachment blocker and the anti virus filter ignore whitelisting. You can change this behaviour by setting IgnoreWhitelist="false" for these filters by modifying the corresponding sections in the config file with a text editor. Please see the reference chapter of the user manual for details.
I want to write my own custom filter. What do I have to keep in mind?
Any custom (external) filter has to be a separate executable, reading the mail input from stdin and writing the (modified) mail output to stdout. Filter results can be indicated by setting different exit codes, which can then be used to control the actions to be taken by assigning an appropriate mail policy. Please see e.g. the Zip Filter for an example of such a filter.
How do I add custom spam phrase rules?
Adding custom rules is very easy. All you have to do is to open the sa/ruleset/local.cf file with a text editor of your choice and use one of these templates:
body MYRULE_1 /<spam phrase>/i
describe MYRULE_1 body contains <spam phrase>
score MYRULE_1 5.0
header MYRULE_2 Subject =~ /<spam phrase>/i
describe MYRULE_2 subject contains <spam phrase>
score MYRULE_2 5.0
full MYRULE_3 /<spam phrase>/i
describe MYRULE_3 mail contains <spam phrase>
score MYRULE_3 5.0
Please note that rule names (like MY_RULE_x in the above examples) must be unique. For further information on how to write your own rules, please see the Custom Rules Tutorial.
Is it possible to have NoSpamToday add the spam indication via an X header rather than changing the subject line?
By default the mail headers already contain "X-Spam-Status" and "X-Spam-Level" headers you can use as spam indicators. If you want to disable subject rewriting, just clear the "subject tag" edit field in the NoSpamToday admin wizard. This will disable the appropriate "rewrite_header" configuration option of SpamAssassin.
Some obvious spam messages aren't tagged as SPAM. What can I do?
SpamAssassin is not human, spam which is obvious to you may not be obvious to SpamAssassin. You have several possible options:
sa\rulesetsubdirectory of your NoSpamToday installation. Watch out for updates of these rulesets, and install them regularly.
local.cffile in the
sa\rulesetsubdirectory of your NoSpamToday installation.
How do I use SpamAssassin's automatic Bayesian Learning in NoSpamToday ?
If you use the default SpamAssassin configuration provided, Bayesian Learning will be enabled. The Bayesian database is then built incrementally by learning from incoming mails which hit the spam or nonspam thresholds. For details and further information see the SpamAssassin documentation, and the sa-learn documentation. If you are using Microsoft™ products, read the "How to..." guides supplied here and here.
How can I make SpamAssassin learn false positives and false negatives?
Collect false positives and negatives in separate mail folders. Enable the bayes database (set "use_bayes" to "1"). Use the sa-learn program in the sa subdirectory of your installation to feed the mails into SpamAssassin's database. For details and further information see the SpamAssassin documentation, and the sa-learn documentation. If you are using Microsoft™ products, read the "How to..." guides supplied here and here.
I use Microsoft [...] as mail client/mail server. How do I convert mail folders for use with sa-learn?
Microsoft mail software uses proprietary formats for its mail databases. Read the "How to..." guides supplied here and here to learn what you can do.
I just installed NoSpamToday, and only 77% of the spam messages I get are tagged as SPAM. What's wrong?
The Bayes tests do not work immediately. At least a minimum number of 200 messages has to be learned before the results of the Bayes tests are used by SpamAssassin. If you do not use sa-learn to explicitly add more spam mails to your Bayesian database, this database may grow only slowly.
I enabled RBL checking, but it does not work. What did I do wrong?
Make sure the DNS server setting is correct. To check if your DNS server works, test if a DNS lookup is successful. Typing something like this in a command line window should return our web server's IP address:
nslookup www.no-spam-today.com <your DNS server>
Can I change SpamAssassin command line options?
You can change the default command line used to start SpamAssassin by editing the SpamAssassin filter settings. Be sure to check "advanced options" before proceeding from the first page of the wizard. The default setting is as follows:
sa\spamassassin.exe -x --siteconfigpath="sa/ruleset" -e 255.
Help! My new rule/configuration change does not work! How can I validate my changes?
Open a command line window, change to the NST installation directory and test all your
.cf files with SpamAssassin's
sa\spamassassin.exe -x --siteconfigpath="sa/ruleset" --lint
If you want to check whether SpamAssassin is using a certain configuration file, just put in a syntax error in this file (e.g. write a line with the word "foo" in it). If the file is used by SpamAssassin, an error should be reported.
How do I run SpamAssassin to produce diagnostic output?
Open a command line window, change to the NST installation directory and run:
cd [NoSpamToday! InstallationDirectory]
sa\spamassassin.exe -x --siteconfigpath="sa/ruleset" -D <  <mail message file> >out 2>err
<mail message file> is a file containing a test message to be scanned. The diagnostics are written to the
How do I block mails in foreign languages?
Add a line like this one in your sa\ruleset\local.cf file:
ok_locales xx [ yy zz ... ] (default: all)
This option is used to specify which locales are considered OK for incoming mail. Mail using the character sets that are allowed by this option will not be marked as possibly being spam in a foreign language.
If you receive lots of spam in foreign languages, and never get any non-spam in these languages, this may help. Note that all ISO-8859-* character sets, and Windows code page character sets, are always permitted by default.
The rules CHARSET_FARAWAY, CHARSET_FARAWAY_BODY, and CHARSET_FARAWAY_HEADERS are triggered based on how this is set.
Note: if there are multiple ok_locales lines, only the last one is used.
Select the locales to allow from the list below:
I'm receiving empty messages (no body and no subject). What is wrong?
Make sure the "use console output (stdout)" checkbox is not checked. Most virus filters only are analyze only, and have no output.