diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 961cd2ae7..a101318c1 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,5 +1,5 @@ PLUGIN_NAME= postfix -PLUGIN_VERSION= 1.7 +PLUGIN_VERSION= 1.8 PLUGIN_COMMENT= SMTP mail relay PLUGIN_DEPENDS= postfix-sasl PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/mail/postfix/pkg-descr b/mail/postfix/pkg-descr index ce3313ac2..981657955 100644 --- a/mail/postfix/pkg-descr +++ b/mail/postfix/pkg-descr @@ -6,11 +6,45 @@ is completely different. Plugin Changelog ================ +1.8 + +* Add TLS Wrapper to support SMTPS + 1.7 * Add Address Rewriting, allows to rewrite e.g. @example.com to @example.net. * Add Sender BCC and Recipient BCC. * Allow Domain Masquerading when using internal domain names. +1.6 + +* Fixed typos +* Adds Listen Port field + +1.5 + +* Allow empty destination in transport + +1.4 + +* Allow enforced receipient check + +1.3 + +* Allow more options in Senders and Recipients setting + +1.2 + +* Updated relay_host validation + +1.1 + +* Add smart host field +* Add SMTP authentication + +1.0 + +* Initial release + WWW: http://www.postfix.org/ diff --git a/mail/postfix/src/opnsense/mvc/app/controllers/OPNsense/Postfix/forms/general.xml b/mail/postfix/src/opnsense/mvc/app/controllers/OPNsense/Postfix/forms/general.xml index 715ae7a56..4084f8fb4 100644 --- a/mail/postfix/src/opnsense/mvc/app/controllers/OPNsense/Postfix/forms/general.xml +++ b/mail/postfix/src/opnsense/mvc/app/controllers/OPNsense/Postfix/forms/general.xml @@ -89,6 +89,12 @@ checkbox This will disable known weak ciphers like DES, RC4 or MD5. + + general.tlswrappermode + + checkbox + If enabled it allows you to use SMTPS. + general.certificate diff --git a/mail/postfix/src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml b/mail/postfix/src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml index 80c232175..e8ac59c6b 100644 --- a/mail/postfix/src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml +++ b/mail/postfix/src/opnsense/mvc/app/models/OPNsense/Postfix/General.xml @@ -1,7 +1,7 @@ //OPNsense/postfix/general Postfix configuration - 1.2.2 + 1.2.3 0 @@ -60,6 +60,10 @@ 1 Y + + 0 + Y + cert N diff --git a/mail/postfix/src/opnsense/service/templates/OPNsense/Postfix/main.cf b/mail/postfix/src/opnsense/service/templates/OPNsense/Postfix/main.cf index a54be40cc..ddb6da68d 100644 --- a/mail/postfix/src/opnsense/service/templates/OPNsense/Postfix/main.cf +++ b/mail/postfix/src/opnsense/service/templates/OPNsense/Postfix/main.cf @@ -89,6 +89,9 @@ smtp_tls_protocols=!SSLv2,!SSLv3 {% if helpers.exists('OPNsense.postfix.general.disable_weak_ciphers') and OPNsense.postfix.general.disable_weak_ciphers == '1' %} smtpd_tls_exclude_ciphers = aNULL, eNULL, EXPORT, DES, RC4, MD5, PSK, aECDH, EDH-DSS-DES-CBC3-SHA, EDH-RSA-DES-CDC3-SHA, KRB5-DE5, CBC3-SHA {% endif %} +{% if helpers.exists('OPNsense.postfix.general.tlswrappermode') and OPNsense.postfix.general.tlswrappermode == '1' %} +smtpd_tls_wrappermode = yes +{% endif %} {% if helpers.exists('OPNsense.postfix.general.smtpclient_security') and OPNsense.postfix.general.smtpclient_security != '' %} smtp_tls_security_level = {{ OPNsense.postfix.general.smtpclient_security }} {% endif %}