This will create a rule which catches various spellings of the word "erection" in the subject of a mail. Header JAM_ERECTION Subject =~ /e.?r.?e.?c.?t.?.?.?n/iĭescribe JAM_ERECTION Subject contains "erection" You can now add your own rules using the following syntax: cf and place it into the configuration directory (%INSTALLDIR%\etc\spamassassin\) of SpamAssassin for Windows. Please note that any changes in the configuration files in the configuration directory will require a restart of the SpamAssassin daemon in order to take effect.Ī: To add your own SpamAssassin rules, please create a plain text file that has the file extension. Remove the comment sign (#) in front of the line and adjust the score to the desired value. Please open the text file with an appropriate text editor and search for the following line: Q: How can I adjust the threshold/score at which mails are being tagged as spam?Ī: The threshold can be configured in the "local.cf" configuration file which resides in the configuration directory (%INSTALLDIR%\etc\spamassassin\) of SpamAssassin for Windows. Follow the instructions of the batch script. Change directory (cd) to the installation directory of SpamAssassin for Windows.Ĥ. Open a command line prompt (run > cmd.exe).Ģ. To use the batch script, please follow these steps:ġ. The script tries learning using spamc first - if that fails because there is no local spamd instance available, it will "fallback" to sa-learn (assuming that learning shall be done using the local user account). For converting an Outlook message into a RFC822 conform message there are several tools available. Please note that messages must be conform to the RFC822 format in order to make the Bayes filter work properly. Besides the directory where the messages that shall be learned reside, the script requires you to decide whether the messages shall be learned as spam or ham. In this case you have to use spamc for training, as using sa-learn would just train the Bayes database for the local user.įor manual training we provide a batch script which can be used to train messages in a specific folder either as spam or ham. the Windows system user account (which is the default when using SpamAssassin in a Box for example). This is especially important if you run SpamD for spam filtering under a separate user account, e.g. The main difference on a Windows system is that sa-learn will run under the currents user credentials while spamc will pass the mails that shall be trained to spamd (the SpamAssassin Daemon) which then trains the mail under the user credentials of spamd. Q: How can I manually train the SpamAssassin Bayes filter?Ī: The SpamAssassin Bayes filter can be trained either using the sa-learn.exe or the spamc.exe. contain a fully functional ClamAV to scan emails for possible viruses. Please consider that our products "SmartPOP2Exchange" and "Exchange Server Toolbox". How to use third party plugins in SpamAssassin for Windows is explained here. If you want to make use of ClamAV in SpamAssassin for Windows, you need to have an operational ClamAV and the SpamAssassin ClamAV plugin, which you can find on the Apache SpamAssassin website. Q: Is it possible to use ClamAV with SpamAssassin for Windows ?Ī: ClamAV and the SpamAssassin ClamAV plugin are not included in SpamAssassin for Windows and the official Apache SpamAssassin. Please consider that this is not covered by our freeware support, as we have developed our product "SpamAssassin in a Box" for such requirements, that lets you start the SpamAssassin daemon conveniently via the Windows service control center. Q: How can I start SpamAssassin without the console window?Ī: This can be accomplished by using a wrapper application. If you need enhanced functionality like that of a mail router or POP3 connector, please have a look at our products "SmartPOP2Exchange" and "Exchange Server Toolbox", which contain the specialized SpamAssassin service as well. With "SpamAssassin in a Box" we provide an advanced Windows service, that is aligned to particular SpamAssassin requirements (automatic rule updates, periodical restarts and many more). Q: How can I run SpamD as a Windows service?Ī: You will need an external application to create a wrapper for spamd.exe that can be used as a Windows service. The interaction between your mail client / mail transfer agent and SpamAssassin must be provided by some other mechanism. Microsoft Outlook)! Why is that?Ī: SpamAssassin doesn't automatically integrate into existing mail application but acts as service which mail can be passed to to scan them for spam signs. Q: I have installed SpamAssassin for Windows but I'm still receiving spam mails in my mail client (e.g.
0 Comments
Leave a Reply. |