Commits

Zhang Huangbin  committed 41d4e8d

* Disable 'smtp_tls_security_level=may', doesn't work very well with
self-signed SSL certificate, especially sending email from Gmail.
* New column for SQL backends (mailbox.enablelmtp) and new attribute/value
pair for LDAP mail user: enabledService=lmtp. Used for LMTP service.
* Bump version number: 0.9.0.

  • Participants
  • Parent commits f202736

Comments (0)

Files changed (8)

File iRedMail/ChangeLog

+iRedMail-0.9.0:
+    * Disable 'smtp_tls_security_level=may', doesn't work very well with
+      self-signed SSL certificate, especially sending email from Gmail.
+    * New column for SQL backends (mailbox.enablelmtp) and new attribute/value
+      pair for LDAP mail user: enabledService=lmtp. Used for LMTP service.
+
 iRedMail-0.8.6:
     * Works on new Linux/BSD distribution releases:
         - Works on Ubuntu 13.10 (saucy). NOTE: phpLDAPadmin is not available

File iRedMail/conf/openldap

 export LDAP_SERVICE_IMAPS='imapsecured'
 export LDAP_SERVICE_DELIVER='deliver'
 export LDAP_SERVICE_LDA='lda'
+export LDAP_SERVICE_LMTP='lmtp'
 export LDAP_SERVICE_FORWARD='forward'
 export LDAP_SERVICE_SENDER_BCC='senderbcc'
 export LDAP_SERVICE_RECIPIENT_BCC='recipientbcc'

File iRedMail/functions/ldap_server.sh

 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_IMAPS}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_DELIVER}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_LDA}
+${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_LMTP}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_FORWARD}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_SENDER_BCC}
 ${LDAP_ENABLED_SERVICE}: ${LDAP_SERVICE_RECIPIENT_BCC}

File iRedMail/functions/postfix.sh

     # References:
     #   - http://www.postfix.org/TLS_README.html#client_tls_may
     #   - http://www.postfix.org/postconf.5.html#smtp_tls_security_level
-    postconf -e smtp_tls_security_level='may'
+    #postconf -e smtp_tls_security_level='may'
     # Use the same CA file as smtpd.
-    postconf -e smtp_tls_CAfile='$smtpd_tls_CAfile'
+    #postconf -e smtp_tls_CAfile='$smtpd_tls_CAfile'
     #postconf -e smtp_tls_loglevel='0'
     #postconf -e smtp_tls_note_starttls_offer='yes'
 

File iRedMail/samples/iredmail.mysql

     enableinternal TINYINT(1) NOT NULL DEFAULT 1,
     enabledoveadm TINYINT(1) NOT NULL DEFAULT 1,
     `enablelib-storage` TINYINT(1) NOT NULL DEFAULT 1,
+    enablelmtp TINYINT(1) NOT NULL DEFAULT 1,
     lastlogindate DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
     lastloginipv4 INT(4) UNSIGNED NOT NULL DEFAULT 0,
     lastloginprotocol CHAR(255) NOT NULL DEFAULT '',

File iRedMail/samples/iredmail.pgsql

     enableinternal INT2 NOT NULL DEFAULT 1,
     enabledoveadm INT2 NOT NULL DEFAULT 1,
     "enablelib-storage" INT2 NOT NULL DEFAULT 1,
+    enablelmtp INT2 NOT NULL DEFAULT 1,
     lastlogindate TIMESTAMP WITHOUT TIME ZONE NOT NULL DEFAULT '1970-01-01 00:00:00',
     lastloginipv4 INET NOT NULL DEFAULT '0.0.0.0',
     lastloginprotocol CHAR(255) NOT NULL DEFAULT '',

File iRedMail/tools/create_mail_user_OpenLDAP.py

                                  'pop3', 'pop3secured', 'imap', 'imapsecured',
                                 'deliver', 'lda', 'forward', 'senderbcc', 'recipientbcc',
                                  'managesieve', 'managesievesecured',
-                                 'sieve', 'sievesecured', 'shadowaddress',
+                                 'sieve', 'sievesecured', 'lmtp',
+                                 'shadowaddress',
                                 'displayedInGlobalAddressBook', ]),
         ('memberOfGroup',       groups),
         # shadowAccount integration.

File iRedMail/tools/create_mail_user_OpenLDAP.sh

 enabledService: smtpsecured
 enabledService: deliver
 enabledService: lda
+enabledService: lmtp
 enabledService: forward
 enabledService: senderbcc
 enabledService: recipientbcc