Dockerfile to run rspamd in a docker container image, worker-proxy is used instead of worker-normal. Mainly use for latest version on arm64.
| NAME | Description | Default |
|---|---|---|
| PASSWORD | password for the web interface | unset |
| REDIS | name/container name or IP of the redis server. | none (No redis) |
| OLEFY | name/container name or IP of the Olefy server. | do not use Olefy |
| RAZORFY | name/container name or IP of the Razorfy server. | do not use Razorfy |
| DCCIFD | name/container name or IP of the DCCIFD server. | do not use dccifd |
| CLAMAV | name/container name or IP of the ClamAV server. | do not use ClamAV |
| CONTROLIP | name/container name or IP of rspamc process. | none |
| DNSSEC | enable dnssec for dns lookups. | no dnssec |
| NOGREY | disable greylisting (soft reject). | greylist |
| BZSLEEP | hours between updates of abuse.ch hashes eg 1.5 | unset / disabled |
| HLSLEEP | hours between updates of heinleins spamassassin rules | unset / disabled |
| SYSREDIR | copy rsypamd redirectors.inc for url_redirector to use | unset / don't copy |
| STUNNEL | use stunnel to encrypt redis traffic on port 6379 if set | unset |
| TIMEZONE | timezone to use inside the container, eg Europe/London | unset |
To run connecting to container network without exposing ports (accessible from host network), and docker managed volumes
#docker container run --net MYNET --name rspamd --restart=unless-stopped --mount source=rspamd-var,target=/var/lib/rspamd --mount source=rspamd-over,target=/etc/rspamd/override.d -d yaat/rspamd
To run without connecting to container network exposing ports (accessible from host network), and docker managed volumes
#docker container run -p 11332:11332 -p 11334:11334 --name rspamd --restart=unless-stopped --mount source=rspamd-var,target=/var/lib/rspamd --mount source=rspamd-over,target=/etc/rspamd/override.d -d yaat/rspamd
Content type
Image
Digest
sha256:1dd5548fc…
Size
38.5 MB
Last updated
6 months ago
docker pull yaat/rspamd