spamassassin in a docker container
Go to file
2022-12-06 12:07:12 +00:00
service updates 2022-12-06 12:07:12 +00:00
Dockerfile updates 2022-12-06 12:07:12 +00:00
LICENSE first commit 2020-02-05 23:11:51 +00:00
README.md fix readme 2020-02-05 23:18:16 +00:00

Apache SpamAssassin in docker

  • SpamAssassin is listening over a 783/tcp port.

  • chmod 755 /etc/postfix /etc/postfix/main.cf /etc/postfix/dynamicmaps.cf

  • /etc/postfix/master.cf example:

    spamassassin host should resolve the IP of this container.

    smtp      inet  n       -       n       -       -       smtpd
      -o content_filter=spamassassin
    submission inet n       -       n       -       -       smtpd
      -o content_filter=spamassassin
    spamassassin      unix  -       n       n       -       -       pipe
      user=nobody argv=/usr/bin/spamc -d spamassassin -p 783 -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}