Both sides previous revisionPrevious revisionNext revision | Previous revision |
howto:spamd [2010/03/17 11:06] – digitalman | howto:spamd [2013/09/14 02:27] (current) – Fix typo (testing email notification) digitalman |
---|
===== Installation ===== | ===== Installation ===== |
| |
When installing SpamAssassin, make sure you enable the enabled the spamd (daemon). | When installing SpamAssassin, make sure you enable the ''spamd'' (daemon). |
| |
==== Windows ==== | ==== Windows ==== |
===== Configuration ===== | ===== Configuration ===== |
| |
Synchronet comes with a [[:module:spamc|JavaScript implementation]] of the SpamAssassin spamd client (''spamc''). | Synchronet comes with a [[:module:spamc|JavaScript implementation]] of the SpamAssassin spamd client (''[[module:spamc]]''). |
| |
To enable this client as a Synchronet //External Mail Processor//, edit your ''[[dir:ctrl]]/[[config:mailproc.ini]]'' file, adding the following section (if it's not already there): | To enable this client as a Synchronet //External Mail Processor//, edit your ''[[dir:ctrl]]/[[config:mailproc.ini]]'' file, adding or updating the following section: |
<file mailproc.ini> | <file mailproc.ini> |
[SPAMC] | [SPAMC] |
| |
The ''ProcessSpam'' and ''ProcessDNSBL'' options tell the Synchronet Mail Server not to execute this mail processor if the message was received from a [[:config:spamblock.cfg|SPAM-blocked]] or [[:config:dns_blacklist.cfg|DNS-Blacklisted]] sender. | The ''ProcessSpam'' and ''ProcessDNSBL'' options tell the Synchronet Mail Server not to execute this mail processor if the message was received from a [[:config:spamblock.cfg|SPAM-blocked]] or [[:config:dns_blacklist.cfg|DNS-Blacklisted]] sender. |
| |
| Alternatively, you may specify ''To'' and/or ''From'' keys to limit the mail sender and/or recipients for which messages will be processed by SpamAssassin. |
| |
==== Command Line ==== | ==== Command Line ==== |
| |
The Synchronet [[:module:spamc]] module supports some of the same command line options as the SpamAssassin ''spamc'' program and these may be included in the ''Command'' key value included in the ''[SPAMC]'' section of your ''[[config:mailproc.ini]]'' file: | The Synchronet [[:module:spamc]] module supports some of the same command line options as the SpamAssassin ''spamc'' program and these may be included (with or without the dashes) in the ''Command'' key value included in the ''[SPAMC]'' section of your ''[[config:mailproc.ini]]'' file: |
| |
^Option ^Usage ^Description^ | ^Option ^Usage ^Description^ |