Skip to content
Snippets Groups Projects
Select Git revision
  • 958a5d4c96410350f6087bdb40adb661ad7ff5f1
  • master default
2 results

README.md

Blame
  • spamd

    SpamAssassin container image.

    Exposed interfaces

    The daemon is accessible over TCP at port 7783 and over the spamd.sock Unix socket in the /run/spamd volume.

    Training the Bayesian classifier

    The image comes with the script spamd-learn which goes over the mobx files in /var/mail, uses them for training the classifier and them saves the database in the /var/backups/sa-learn volume. On statup, the container restores the database from that volume. To update the database run spamd-learn from inside the container with docker exec (there's no need to restart the container afterwards). For an example see the Cron image inside this project.

    Updating the rules

    Use the spamd-update script in the image.

    License

    This software is licensed under the MIT license (see LICENSE.txt).

    Author Information

    Nimrod Adar, contact me or visit my website. Patches are welcome via git send-email. The repository is located at: https://git.shore.co.il/explore/.