diff --git a/README.md b/README.md index 4566c94..f2bda7b 100644 --- a/README.md +++ b/README.md @@ -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