Skip to content

Commit

Permalink
mail/postfix: allow HA config sync (opnsense#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
mimugmail authored and fichtner committed Mar 20, 2019
1 parent 3b54e08 commit 1069a55
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
3 changes: 1 addition & 2 deletions mail/postfix/Makefile
Original file line number Diff line number Diff line change
@@ -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= [email protected]
Expand Down
4 changes: 4 additions & 0 deletions mail/postfix/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions mail/postfix/src/etc/inc/plugins.inc.d/postfix.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 1069a55

Please sign in to comment.