This is my attempt to setup Spamassassin in Docker. Inspired by mailinabox.
This image is still experimental, please do not use this in production
How to use this darn thing?
Well right now, I'm still working on getting other images setup, so I haven't
fully tested this yet. But here's what should work:
- spampd is listening to port
- spampd needs to connect to a dovecot server via lmtp on port
/var/lib/spamassassin- Used for storing spamassassin updates etc
/etc/rsyslog.d- If you want to customize your rsyslog
/private/vars.sh- If you don't want to set environment variables
on the command line, you can place them in
they'll be sourced in the startup scripts.
- 10025 - An smtpproxy port for Postfix
The complete list:
DOVECOT_HOST(or link a container named
SYSLOG_HOST(or link a container named
Details on each variable
DOVECOT_HOST- What dovecot server to deliver mail to
SYSLOG_HOST- use this to specify your syslog host (optional)