Commit 42f34212 authored by nimrod's avatar nimrod
Browse files

Pre-commit fixups.

parent e489382c
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@ repos:
      - id: check-yaml
      - id: detect-private-key
      - id: end-of-file-fixer
        exclude: gtube
      - id: trailing-whitespace
        exclude: \.diff$

+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ socket in the `/run/dovecot` volume (for LTMP submission).
## Environment variables

Name | Description
\-\-\- | \-\-\-
--- | ---
`LDAP_URIS` | LDAP URI (eg, `ldapi:///`).
`LDAP_BASEDN` | LDAP base DN (eg, `dc=example,dc=com`).

+4 −4
Original line number Diff line number Diff line
@@ -9,16 +9,16 @@ The container exposes TCP ports 25 (SMTP) and 587 (submission).
## Environment variables

Name | Description
\-\-\- | \-\-\-
`CLAMD_ADDRESS` | Address of the clamd server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-content\_scanning\_at\_acl\_time.htm).
--- | ---
`CLAMD_ADDRESS` | Address of the clamd server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.htm).
`DKIM_KEY_FILE` |
`DKIM_SELECTOR` |
`LDAP_URIS` |
`LDAP_BASEDN` |
`LMTP_ADDRESS` | Address of the LMTP server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-the\_lmtp\_transport.html).
`LMTP_ADDRESS` | Address of the LMTP server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-the_lmtp_transport.html).
`MAILNAME` |
`ROOT_ALIAS` |
`SPAMD_ADDRESS` | Address of the spamd server (see http://exim.org/exim-html-current/doc/html/spec\_html/ch-content\_scanning\_at\_acl\_time.html).
`SPAMD_ADDRESS` | Address of the spamd server (see http://exim.org/exim-html-current/doc/html/spec_html/ch-content_scanning_at_acl_time.html).
`TLS_CERT_FILE` |
`TLS_KEY_FILE` |

+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ socket in the `/run/spamd` volume.

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
in the `/var/backups/sa-learn` volume. On startup, 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](../crond) inside this project.