Skip to content
Snippets Groups Projects
Commit 42f34212 authored by nimrod's avatar nimrod
Browse files

Pre-commit fixups.

parent e489382c
No related branches found
No related tags found
No related merge requests found
Pipeline #2518 passed
...@@ -12,6 +12,7 @@ repos: ...@@ -12,6 +12,7 @@ repos:
- id: check-yaml - id: check-yaml
- id: detect-private-key - id: detect-private-key
- id: end-of-file-fixer - id: end-of-file-fixer
exclude: gtube
- id: trailing-whitespace - id: trailing-whitespace
exclude: \.diff$ exclude: \.diff$
......
...@@ -10,7 +10,7 @@ socket in the `/run/dovecot` volume (for LTMP submission). ...@@ -10,7 +10,7 @@ socket in the `/run/dovecot` volume (for LTMP submission).
## Environment variables ## Environment variables
Name | Description Name | Description
\-\-\- | \-\-\- --- | ---
`LDAP_URIS` | LDAP URI (eg, `ldapi:///`). `LDAP_URIS` | LDAP URI (eg, `ldapi:///`).
`LDAP_BASEDN` | LDAP base DN (eg, `dc=example,dc=com`). `LDAP_BASEDN` | LDAP base DN (eg, `dc=example,dc=com`).
......
...@@ -9,16 +9,16 @@ The container exposes TCP ports 25 (SMTP) and 587 (submission). ...@@ -9,16 +9,16 @@ The container exposes TCP ports 25 (SMTP) and 587 (submission).
## Environment variables ## Environment variables
Name | Description 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_KEY_FILE` |
`DKIM_SELECTOR` | `DKIM_SELECTOR` |
`LDAP_URIS` | `LDAP_URIS` |
`LDAP_BASEDN` | `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` | `MAILNAME` |
`ROOT_ALIAS` | `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_CERT_FILE` |
`TLS_KEY_FILE` | `TLS_KEY_FILE` |
......
...@@ -11,7 +11,7 @@ socket in the `/run/spamd` volume. ...@@ -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 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 `/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 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 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. afterwards). For an example see the [Cron image](../crond) inside this project.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment