Docker image of SpamAssassin for Froxlor Server Management Panel.
This image is meant to be used with the Froxlor Mail image.
version: '2.4'
services:
spamassassin:
image: bloodhunterd/froxlor-mail-spamassassin
ports:
- '783:783'
volumes:
- ./mail/:/var/customers/mail/:ro
- ./spamassassin/:/var/lib/spamassassin/.spamassassin/
ENV | Values | Default | Description |
---|---|---|---|
REPORT_SAFE | 0 / 2 | 0 | Add Spam report as attachment instead of modifying the original message. |
REQUIRED_SCORE | 0.0 - ... | 5.0 | Threshold at which a message is considered spam. |
TRUSTED_NETWORKS | IP address | 127.0.0.1 | Exclude networks from Spam check. |
SPF_WHITELIST | Email address | Exclude email addresses from SPF check. | |
MAIL_DIR | Directory path | /var/customers/mail | Absolute path to the mail directory |
Port | Description |
---|---|
783 | SpamAssassin |
Volume | Path | Read only | Description |
---|---|---|---|
Customer mail | /var/customers/mail/ | ✔ | Froxlor customer mail content. |
Learned messages | /var/lib/spamassassin/.spamassassin/ | ✘ | Learned HAM and SPAM messages. |
Please note the changelog to check for configuration changes before updating.
docker-compose pull
docker-compose up -d
This project is licensed under the MIT - see LICENSE.md file for details.