From 1069a55a7004fab3c049ae3249752229ab55b4e4 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 20 Mar 2019 12:22:15 +0100 Subject: [PATCH] mail/postfix: allow HA config sync (#1266) --- mail/postfix/Makefile | 3 +-- mail/postfix/pkg-descr | 4 ++++ mail/postfix/src/etc/inc/plugins.inc.d/postfix.inc | 9 +++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 4ccebb47d..e4555a3db 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,6 +1,5 @@ PLUGIN_NAME= postfix -PLUGIN_VERSION= 1.8 -PLUGIN_REVISION= 2 +PLUGIN_VERSION= 1.9 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 063eb08c2..6a6b26bc7 100644 --- a/mail/postfix/pkg-descr +++ b/mail/postfix/pkg-descr @@ -6,6 +6,10 @@ is completely different. Plugin Changelog ================ +1.9 + +* Allow HA config sync via XMLRPC + 1.8 * Add TLS Wrapper to support SMTPS diff --git a/mail/postfix/src/etc/inc/plugins.inc.d/postfix.inc b/mail/postfix/src/etc/inc/plugins.inc.d/postfix.inc index ee4935cf0..b83b64bc5 100644 --- a/mail/postfix/src/etc/inc/plugins.inc.d/postfix.inc +++ b/mail/postfix/src/etc/inc/plugins.inc.d/postfix.inc @@ -59,3 +59,12 @@ function postfix_syslog() return $syslogconf; } + +function postfix_xmlrpc_sync() +{ + $result = array(); + $result['id'] = 'postfix'; + $result['section'] = 'OPNsense.postfix'; + $result['description'] = gettext('Postfix'); + return array($result); +}