update readme

This commit is contained in:
Sebastian Hugentobler 2021-10-05 08:15:54 +02:00
parent 4b0cf8b447
commit 04dce50646
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0

View File

@ -1,4 +1,4 @@
[Postfix](http://www.postfix.org/) with ldap authentication and [spamassassin](http://spamassassin.apache.org/) + [OpenDKIM](http://www.opendkim.org/) in ldap.
[Postfix](http://www.postfix.org/) with dovecot authentication and [spamassassin](http://spamassassin.apache.org/) + [OpenDKIM](http://www.opendkim.org/) in postgres.
# Volumes
- `/etc/ssl/mail:ro`: certificates have to be here.
@ -34,50 +34,29 @@ Hostname for the lmtp host (probably dovecot).
## LMTP_PORT
Port for the lmtp host.
## LDAP_URI
Complete uri for the authentication ldap host.
## LDAP_BIND_DN
DN used to authenticate against ldap.
## LDAP_BIND_PASSWORD
Password used to authenticate against ldap.
## LDAP_ALIAS_QUERY_FILTER
Ldap filter for mail aliases.
## LDAP_DOMAIN_QUERY_FILTER
Ldap filter for domains.
## LDAP_MAILBOX_QUERY_FILTER
Ldap filter for mailboxes.
## LDAP_MAILBOX_SEARCH_BASE
Base DN to look for mailboxes on the ldap host.
## LDAP_DOMAIN_SEARCH_BASE
Base DN to look for valid domains on the ldap host.
## LDAP_DOMAIN_RESULT_ATTRIBUTE
- default: dc
Ldap attribute that is fetched in the domain query.
## LDAP_MAILBOX_RESULT_ATTRIBUTE
- default: cn
Ldap attribute that is fetched in the mailbox query.
## LDAP_STARTTLS
- default: yes
Whether to use tls when connecting to the ldap host.
## CERT_DOMAIN
Name of the certificate domain.
Name of the key file.
## DB_HOST
Postgre database host.
## DB_USER
- default: email
User to connect to the database.
## DB_PASSWORD
Password to use for the database user.
## DB_NAME
- default: email
Name of the postgre database to connect to.
## MESSAGE_SIZELIMIT
- default: 20000000