From 993af612262ca577fac9858e5b9c2b509ef75f70 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 3 Nov 2015 18:55:27 +0100 Subject: XMLRPC sync improvements - Add protocol and port settings - Tweak some descriptions and nuke useless stuff --- config/postfix/postfix_sync.xml | 198 ++++++++++++++++++++++------------------ 1 file changed, 107 insertions(+), 91 deletions(-) (limited to 'config/postfix') diff --git a/config/postfix/postfix_sync.xml b/config/postfix/postfix_sync.xml index 727305ff..eb3ab27b 100644 --- a/config/postfix/postfix_sync.xml +++ b/config/postfix/postfix_sync.xml @@ -5,44 +5,44 @@ - Describe your package here - Describe your package requirements here - Currently there are no FAQ items provided. - postfix_sync - 1.0 + postfixsync + 2.4.5 Services: Postfix relay and antispam /usr/local/pkg/postfix.inc @@ -100,12 +100,12 @@ listtopic - Sync method + Sync Method synconchanges Automatically sync postfix configuration changes. select - auto + disabled @@ -113,7 +113,7 @@ - Sync timeout + Sync Timeout synctimeout Select sync max wait time select @@ -128,73 +128,89 @@ - + Remote Server none rowhelper - - Enable - enabless - checkbox - - - Sync Type - sync_type - select - - - - - - - - - Remote Server IP - ipaddress - IP Address of remote server - input - 10 - - - Username - username - Username for remote server. - input - 10 - - - Password - password - Password for remote server. - password - 10 - - - Description - description - input - 27 - + + Enable + enabless + checkbox + + + Sync Type + sync_type + select + + + + + + + + + Protocol + syncprotocol + Choose the protocol used to sync with the destination host (HTTP or HTTPS). + select + HTTP + + + + + + + Remote Server IP/Hostname + ipaddress + IP address or hostname of remote server + input + 30 + + + Port + syncport + Choose the sync port of the remote server. + input + 5 + + + Username + username + Username for remote server. + input + 20 + + + Password + password + Password for remote server. + password + 20 + + + Description + description + input + 30 + - Sync types Description:

- XMLRPC Sync - Forward postfix settings to other pfsense boxes. Remote password required
- Share Database To - Allow other pfsense boxes to fetch maillog data via xml. Remote password NOT required.
- Fetch Database From - Merge logs from other pfsense boxes to this local database. Remote password required.
- Disabled - Ignore this host while sync.

- While sharing databases works only when you select 'Sync to host(s) defined below' on sync method and you must setup 'Share Database To' in source box and 'Fetch Database From' on destination box.]]>
+ + Sync types Description:

+ XMLRPC Sync - Forward postfix settings to other pfSense boxes. Remote password required.
+ Share Database To - Allow other pfSense boxes to fetch maillog data via XMLRPC. Remote password NOT required.
+ Fetch Database From - Merge logs from other pfSense boxes to this local database. Remote password required.
+ Disabled - Ignore this host while syncing.

+ Sharing databases works only when you select 'Sync to host(s) defined below' sync method; you must setup 'Share Database To' in source box and 'Fetch Database From' on destination box. + ]]> +
- - postfix_php_install_command(); - - - postfix_php_deinstall_command(); - postfix_validate_input($_POST, $input_errors); - + sync_package_postfix(); -- cgit v1.2.3