# HG changeset patch # User Paul Boddie # Date 1460929190 -7200 # Node ID 4ba028a3683b9d7f56e7ad519daa37b8155ebaea # Parent 2387c22774485159e8878084d5f7d210d0ebf6dd Fixed LDAP_BASE_DN and the substitution of LMTP_SOCKET, also introducing a definition indicating the policy around use of the lmtp group. diff -r 2387c2277448 -r 4ba028a3683b conf/configure.example --- a/conf/configure.example Sun Apr 17 19:25:39 2016 +0200 +++ b/conf/configure.example Sun Apr 17 23:39:50 2016 +0200 @@ -12,6 +12,17 @@ MAILBOX_DELIVERY=LocalSMTP +# Whether a special lmtp group will be used even with local SMTP. +# See the SystemUsers document. +# Choices: yes, no + +MAILBOX_DELIVERY_LMTP_GROUP=no + +# The location of the LMTP socket used to communicate with a mail +# storage solution. + +LMTP_SOCKET=/var/run/cyrus/socket/lmtp + # Whether local system users are supported. # See the MailIntegration/LocalSMTP document. # Choices: yes, no @@ -31,7 +42,7 @@ LDAP_SCHEME=ldap LDAP_HOST=localhost LDAP_PORT= -LDAP_BASE_DN="ou=People,dc=example,dc=com" +LDAP_BASE_DN="dc=example,dc=com" LDAP_SERVICE_BIND_DN="uid=imip-agent,ou=Special Users,dc=example,dc=com" LDAP_SERVICE_PASSWORD= @@ -43,9 +54,13 @@ if [ "$MAILBOX_DELIVERY" = 'LocalSMTP' ]; then MAILBOX_DELIVERY_OPTIONS="-L" - MAILBOX_DELIVERY_GROUP=www-data + if [ "$MAILBOX_DELIVERY_LMTP_GROUP" = 'yes' ]; then + MAILBOX_DELIVERY_GROUP=lmtp + else + MAILBOX_DELIVERY_GROUP=www-data + fi else - MAILBOX_DELIVERY_OPTIONS="-l LMTP_SOCKET" + MAILBOX_DELIVERY_OPTIONS="-l $LMTP_SOCKET" MAILBOX_DELIVERY_GROUP=lmtp fi