]> git.proxmox.com Git - pmg-api.git/log
pmg-api.git
7 years agoPMG/API2/When.pm: implement API for 'when' objects
Dietmar Maurer [Thu, 2 Mar 2017 11:40:54 +0000 (12:40 +0100)]
PMG/API2/When.pm: implement API for 'when' objects

7 years agoTimeFrame.pm: implement api
Dietmar Maurer [Thu, 2 Mar 2017 11:34:21 +0000 (12:34 +0100)]
TimeFrame.pm: implement api

7 years agoremove dead code
Dietmar Maurer [Thu, 2 Mar 2017 11:25:16 +0000 (12:25 +0100)]
remove dead code

7 years agocleanup: move more helpers to ObjectGroupHelpers.pm
Dietmar Maurer [Thu, 2 Mar 2017 09:24:57 +0000 (10:24 +0100)]
cleanup: move more helpers to ObjectGroupHelpers.pm

7 years agocleanup: move helpers to ObjectGroupHelpers.pm
Dietmar Maurer [Thu, 2 Mar 2017 09:00:59 +0000 (10:00 +0100)]
cleanup: move helpers to ObjectGroupHelpers.pm

7 years agorename register_object_group_api() to register_group_list_api();
Dietmar Maurer [Thu, 2 Mar 2017 08:50:00 +0000 (09:50 +0100)]
rename register_object_group_api() to register_group_list_api();

7 years agoallow to set object group properties
Dietmar Maurer [Wed, 1 Mar 2017 10:10:57 +0000 (11:10 +0100)]
allow to set object group properties

7 years agoadd mailfrom and hostname option
Dietmar Maurer [Wed, 1 Mar 2017 07:33:04 +0000 (08:33 +0100)]
add mailfrom and hostname option

7 years agoPMG/Config.pm: add spamqaur/virusquar sections
Dietmar Maurer [Wed, 1 Mar 2017 06:08:27 +0000 (07:08 +0100)]
PMG/Config.pm: add spamqaur/virusquar sections

7 years agoadd note about HTTPS
Dietmar Maurer [Tue, 28 Feb 2017 16:13:36 +0000 (17:13 +0100)]
add note about HTTPS

We do not allow access via HTTP.

7 years agoremoved option use_ocr
Dietmar Maurer [Tue, 28 Feb 2017 16:01:52 +0000 (17:01 +0100)]
removed option use_ocr

We do not use FuzzyOCR any longer - its not worth these days.

7 years agoadd missing get() method for who objects
Dietmar Maurer [Tue, 28 Feb 2017 08:37:52 +0000 (09:37 +0100)]
add missing get() method for who objects

7 years agoPMG/RuleDB/Object: allow to return object specific data
Dietmar Maurer [Tue, 28 Feb 2017 08:31:50 +0000 (09:31 +0100)]
PMG/RuleDB/Object: allow to return object specific data

7 years agoimplement object group API
Dietmar Maurer [Tue, 28 Feb 2017 06:56:55 +0000 (07:56 +0100)]
implement object group API

7 years agoPMG/API2/Who.pm: implement delete_who_group
Dietmar Maurer [Tue, 28 Feb 2017 06:56:05 +0000 (07:56 +0100)]
PMG/API2/Who.pm: implement delete_who_group

7 years agouse 'die' instead of 'carp'
Dietmar Maurer [Tue, 28 Feb 2017 05:59:57 +0000 (06:59 +0100)]
use 'die' instead of 'carp'

7 years agoSMTPWhitelist: use better API paths
Dietmar Maurer [Tue, 28 Feb 2017 05:23:03 +0000 (06:23 +0100)]
SMTPWhitelist: use better API paths

7 years agoPMG/API2/Who.pm: implement API for 'who' objects
Dietmar Maurer [Mon, 27 Feb 2017 17:24:24 +0000 (18:24 +0100)]
PMG/API2/Who.pm: implement API for 'who' objects

7 years agoSMTPWhitelist.pm: finish/cleanup whitelist API
Dietmar Maurer [Mon, 27 Feb 2017 15:27:15 +0000 (16:27 +0100)]
SMTPWhitelist.pm: finish/cleanup whitelist API

7 years agoSMTPWhitelist: implement update_sender_domain
Dietmar Maurer [Mon, 27 Feb 2017 11:05:45 +0000 (12:05 +0100)]
SMTPWhitelist: implement update_sender_domain

7 years agoSMTPWhitelist: allow to add receiver domains
Dietmar Maurer [Mon, 27 Feb 2017 10:19:03 +0000 (11:19 +0100)]
SMTPWhitelist: allow to add receiver domains

7 years agofix otype attribute
Dietmar Maurer [Mon, 27 Feb 2017 10:18:29 +0000 (11:18 +0100)]
fix otype attribute

7 years agostart API for SMTP whitelist
Dietmar Maurer [Mon, 27 Feb 2017 08:40:17 +0000 (09:40 +0100)]
start API for SMTP whitelist

7 years agoadd missing tls options
Dietmar Maurer [Mon, 27 Feb 2017 08:05:52 +0000 (09:05 +0100)]
add missing tls options

7 years agoavoid restart of pmgnetcommit.service on package update
Dietmar Maurer [Mon, 27 Feb 2017 07:25:58 +0000 (08:25 +0100)]
avoid restart of pmgnetcommit.service on package update

7 years agoimplement parser/writer and API for /etc/pmg/mynetworks
Dietmar Maurer [Mon, 27 Feb 2017 06:28:38 +0000 (07:28 +0100)]
implement parser/writer and API for /etc/pmg/mynetworks

7 years agoverify transport file
Dietmar Maurer [Sun, 26 Feb 2017 15:39:31 +0000 (16:39 +0100)]
verify transport file

7 years agoregister and use new format 'transport-domain'
Dietmar Maurer [Sun, 26 Feb 2017 15:26:23 +0000 (16:26 +0100)]
register and use new format 'transport-domain'

7 years agoallow IPV6 addresses in transport map
Dietmar Maurer [Sun, 26 Feb 2017 14:28:51 +0000 (15:28 +0100)]
allow IPV6 addresses in transport map

7 years agoinstall minning file Transport.pm
Dietmar Maurer [Sun, 26 Feb 2017 10:02:03 +0000 (11:02 +0100)]
install minning file Transport.pm

7 years agouse use_mx instead of nomx
Dietmar Maurer [Sun, 26 Feb 2017 09:57:31 +0000 (10:57 +0100)]
use use_mx instead of nomx

Use positive logic is possible...

7 years agoimplement transport API
Dietmar Maurer [Sun, 26 Feb 2017 09:36:32 +0000 (10:36 +0100)]
implement transport API

7 years agomove trasport_maps to hash:/etc/pmg/transport
Dietmar Maurer [Sun, 26 Feb 2017 07:30:05 +0000 (08:30 +0100)]
move trasport_maps to hash:/etc/pmg/transport

7 years agoallow comment for relay domains
Dietmar Maurer [Sat, 25 Feb 2017 15:52:39 +0000 (16:52 +0100)]
allow comment for relay domains

7 years agowrite_pmg_domains: use correct format for postfix hash table
Dietmar Maurer [Sat, 25 Feb 2017 15:13:45 +0000 (16:13 +0100)]
write_pmg_domains: use correct format for postfix hash table

7 years agouse hash:/etc/pmg/domains
Dietmar Maurer [Sat, 25 Feb 2017 14:58:17 +0000 (15:58 +0100)]
use hash:/etc/pmg/domains

so that postfix automatically detect changes

7 years agorun postmap after updating domains file
Dietmar Maurer [Sat, 25 Feb 2017 14:54:30 +0000 (15:54 +0100)]
run postmap after updating domains file

7 years agonew helper run_postmap
Dietmar Maurer [Sat, 25 Feb 2017 14:48:12 +0000 (15:48 +0100)]
new helper run_postmap

7 years agoPMG/API2/Domains: fix API schema
Dietmar Maurer [Sat, 25 Feb 2017 13:30:41 +0000 (14:30 +0100)]
PMG/API2/Domains: fix API schema

7 years agoverifyreceivers: improve description
Dietmar Maurer [Sat, 25 Feb 2017 08:51:06 +0000 (09:51 +0100)]
verifyreceivers: improve description

7 years agochange option verifyreceivers into a string enum
Dietmar Maurer [Sat, 25 Feb 2017 08:48:26 +0000 (09:48 +0100)]
change option verifyreceivers into a string enum

7 years agomail.smarthost need to be an 'address'
Dietmar Maurer [Fri, 24 Feb 2017 08:46:16 +0000 (09:46 +0100)]
mail.smarthost need to be an 'address'

7 years agoallow mail.relay to be a DNS name
Dietmar Maurer [Fri, 24 Feb 2017 08:28:33 +0000 (09:28 +0100)]
allow mail.relay to be a DNS name

7 years agomail.relay should be an ip address
Dietmar Maurer [Fri, 24 Feb 2017 08:19:06 +0000 (09:19 +0100)]
mail.relay should be an ip address

7 years agoimprove description
Dietmar Maurer [Thu, 23 Feb 2017 15:59:17 +0000 (16:59 +0100)]
improve description

7 years agoPMG::Config::Mail: add int_port and ext_port settings
Dietmar Maurer [Thu, 23 Feb 2017 15:36:33 +0000 (16:36 +0100)]
PMG::Config::Mail: add int_port and ext_port settings

7 years agopostfix master.cf: listen on all addresses
Dietmar Maurer [Thu, 23 Feb 2017 15:12:42 +0000 (16:12 +0100)]
postfix master.cf: listen on all addresses

For multi stack support.

7 years agopmgnetcommit.service: new service to commit network changes at startup
Dietmar Maurer [Thu, 23 Feb 2017 11:52:34 +0000 (12:52 +0100)]
pmgnetcommit.service: new service to commit network changes at startup

7 years agogenerate and install cluster.conf.5
Dietmar Maurer [Thu, 23 Feb 2017 10:56:08 +0000 (11:56 +0100)]
generate and install cluster.conf.5

7 years agopmgperf: new cli tool
Dietmar Maurer [Thu, 23 Feb 2017 10:13:40 +0000 (11:13 +0100)]
pmgperf: new cli tool

7 years agogenerate and install pmgsh.1
Dietmar Maurer [Thu, 23 Feb 2017 09:47:32 +0000 (10:47 +0100)]
generate and install pmgsh.1

7 years agofix clamav systemd service names
Dietmar Maurer [Thu, 23 Feb 2017 09:18:53 +0000 (10:18 +0100)]
fix clamav systemd service names

7 years agocorrectly expose option admin/email
Dietmar Maurer [Thu, 23 Feb 2017 09:16:30 +0000 (10:16 +0100)]
correctly expose option admin/email

7 years agofix config section name (s/administration/admin/)
Dietmar Maurer [Thu, 23 Feb 2017 09:12:56 +0000 (10:12 +0100)]
fix config section name (s/administration/admin/)

7 years agoPMG/API2/Config: alow to read empty sections
Dietmar Maurer [Thu, 23 Feb 2017 09:07:27 +0000 (10:07 +0100)]
PMG/API2/Config: alow to read empty sections

7 years agocreate and install pmgpolicy.8
Dietmar Maurer [Thu, 23 Feb 2017 08:40:56 +0000 (09:40 +0100)]
create and install pmgpolicy.8

7 years agogenerate and install pmg-smtp-filter.8
Dietmar Maurer [Thu, 23 Feb 2017 06:53:31 +0000 (07:53 +0100)]
generate and install pmg-smtp-filter.8

7 years agouse standard permissions for /var/log/pmgproxy
Dietmar Maurer [Thu, 23 Feb 2017 05:29:01 +0000 (06:29 +0100)]
use standard permissions for /var/log/pmgproxy

7 years agoinstall manual pages for services
Dietmar Maurer [Wed, 22 Feb 2017 17:12:31 +0000 (18:12 +0100)]
install manual pages for services

7 years agogenerate and install manual pages for pmgconfig and pmgdb
Dietmar Maurer [Wed, 22 Feb 2017 16:38:37 +0000 (17:38 +0100)]
generate and install manual pages for pmgconfig and pmgdb

7 years agofix typo
Dietmar Maurer [Wed, 22 Feb 2017 16:21:47 +0000 (17:21 +0100)]
fix typo

7 years agopostinst: call update-mime-database
Dietmar Maurer [Wed, 22 Feb 2017 16:01:03 +0000 (17:01 +0100)]
postinst: call update-mime-database

7 years agoadd NEWS: templates moved to /var/lib/pmg/templates
Dietmar Maurer [Wed, 22 Feb 2017 15:56:09 +0000 (16:56 +0100)]
add NEWS: templates moved to /var/lib/pmg/templates

7 years agomove run_silent_cmd to PMG::Utils
Dietmar Maurer [Wed, 22 Feb 2017 15:52:43 +0000 (16:52 +0100)]
move run_silent_cmd to PMG::Utils

and use it for gen_proxmox_tls_cert

7 years agopmgconfig: new apicert and tlscert helpers
Dietmar Maurer [Wed, 22 Feb 2017 15:46:40 +0000 (16:46 +0100)]
pmgconfig: new apicert and tlscert helpers

7 years agoalways call parser for pmg.conf
Dietmar Maurer [Wed, 22 Feb 2017 15:10:21 +0000 (16:10 +0100)]
always call parser for pmg.conf

7 years agouse /etc/pmg/ instead of /etc/proxmox
Dietmar Maurer [Wed, 22 Feb 2017 15:05:42 +0000 (16:05 +0100)]
use /etc/pmg/ instead of /etc/proxmox

7 years agotest-server.pl: removed - no need
Dietmar Maurer [Wed, 22 Feb 2017 14:54:00 +0000 (15:54 +0100)]
test-server.pl: removed - no need

7 years agouse new pmg-doc-generator package to generate pmg.conf.5
Dietmar Maurer [Wed, 22 Feb 2017 07:59:49 +0000 (08:59 +0100)]
use new pmg-doc-generator package to generate pmg.conf.5

7 years agouse local path to run test_greylist.pl
Dietmar Maurer [Wed, 22 Feb 2017 07:59:08 +0000 (08:59 +0100)]
use local path to run test_greylist.pl

7 years agoPMG::Config::get: die if porperty does not exist
Dietmar Maurer [Tue, 21 Feb 2017 16:19:56 +0000 (17:19 +0100)]
PMG::Config::get: die if porperty does not exist

And add missing option smarthost.

7 years agouse correct microformat for ip address
Dietmar Maurer [Tue, 21 Feb 2017 15:53:23 +0000 (16:53 +0100)]
use correct microformat for ip address

7 years agopmgconfig: split command into smaller parts
Dietmar Maurer [Tue, 21 Feb 2017 15:46:35 +0000 (16:46 +0100)]
pmgconfig: split command into smaller parts

And print configuration in the format usable by templates.

7 years agofix remote_node_ip: correctly use hash values
Dietmar Maurer [Tue, 21 Feb 2017 15:45:57 +0000 (16:45 +0100)]
fix remote_node_ip: correctly use hash values

7 years agoremove debug statement
Dietmar Maurer [Tue, 21 Feb 2017 15:44:32 +0000 (16:44 +0100)]
remove debug statement

7 years agoadd test for pmgpolicy
Dietmar Maurer [Tue, 21 Feb 2017 11:59:30 +0000 (12:59 +0100)]
add test for pmgpolicy

7 years agopmgpolicy: always enable spf and greylist in testmode
Dietmar Maurer [Tue, 21 Feb 2017 11:58:43 +0000 (12:58 +0100)]
pmgpolicy: always enable spf and greylist in testmode

7 years agopmgpolicy: improve pre_server_close_hook
Dietmar Maurer [Tue, 21 Feb 2017 11:33:39 +0000 (12:33 +0100)]
pmgpolicy: improve pre_server_close_hook

wait for children

7 years agoinstall pmgpolicy service
Dietmar Maurer [Tue, 21 Feb 2017 11:12:19 +0000 (12:12 +0100)]
install pmgpolicy service

7 years agopmgpolicy: cleanup, remove old code
Dietmar Maurer [Tue, 21 Feb 2017 11:00:40 +0000 (12:00 +0100)]
pmgpolicy: cleanup, remove old code

7 years agouse new helper new_from_ldap_cfg()
Dietmar Maurer [Tue, 21 Feb 2017 10:57:14 +0000 (11:57 +0100)]
use new helper new_from_ldap_cfg()

7 years agouse full name for PMG::Utils::msgquote
Dietmar Maurer [Tue, 21 Feb 2017 10:08:07 +0000 (11:08 +0100)]
use full name for PMG::Utils::msgquote

7 years agoClusterConfig: remnodes is a list of IDs.
Dietmar Maurer [Tue, 21 Feb 2017 09:36:02 +0000 (10:36 +0100)]
ClusterConfig: remnodes is a list of IDs.

7 years agonew max_policy option
Dietmar Maurer [Tue, 21 Feb 2017 09:25:07 +0000 (10:25 +0100)]
new max_policy option

7 years agodepend on libmail-spf-perl
Dietmar Maurer [Tue, 21 Feb 2017 09:08:55 +0000 (10:08 +0100)]
depend on libmail-spf-perl

7 years agopmgpolicy: import from old repository
Dietmar Maurer [Tue, 21 Feb 2017 09:01:40 +0000 (10:01 +0100)]
pmgpolicy: import from old repository

7 years agoadd read-only API for cluster config
Dietmar Maurer [Tue, 21 Feb 2017 08:29:45 +0000 (09:29 +0100)]
add read-only API for cluster config

7 years agoPMG/ClusterConfig.pm: better code to read/write cluster config
Dietmar Maurer [Tue, 21 Feb 2017 08:14:14 +0000 (09:14 +0100)]
PMG/ClusterConfig.pm: better code to read/write cluster config

using SectionConfig.

7 years agoPMG/LDAPConfig.pm: verify sectionId inside parse_section_header
Dietmar Maurer [Tue, 21 Feb 2017 05:31:03 +0000 (06:31 +0100)]
PMG/LDAPConfig.pm: verify sectionId inside parse_section_header

7 years agoPMG/API2/Domains.pm: full implementation
Dietmar Maurer [Mon, 20 Feb 2017 15:23:53 +0000 (16:23 +0100)]
PMG/API2/Domains.pm: full implementation

7 years agoPMG/API2/Config.pm: use correct section IDs
Dietmar Maurer [Mon, 20 Feb 2017 15:08:05 +0000 (16:08 +0100)]
PMG/API2/Config.pm: use correct section IDs

7 years agoadd API for relay domains
Dietmar Maurer [Mon, 20 Feb 2017 15:05:29 +0000 (16:05 +0100)]
add API for relay domains

7 years agofully implement ldap configuration API.
Dietmar Maurer [Mon, 20 Feb 2017 11:42:24 +0000 (12:42 +0100)]
fully implement ldap configuration API.

7 years agoPMG/LDAPConfig.pm: new helper lock_config
Dietmar Maurer [Mon, 20 Feb 2017 11:13:47 +0000 (12:13 +0100)]
PMG/LDAPConfig.pm: new helper lock_config

7 years agoPMG/API2/LDAP.pm: start LDAP API
Dietmar Maurer [Mon, 20 Feb 2017 10:47:41 +0000 (11:47 +0100)]
PMG/API2/LDAP.pm: start LDAP API

7 years agofix permissions on /etc/proxmox/ldap.conf
Dietmar Maurer [Mon, 20 Feb 2017 10:34:37 +0000 (11:34 +0100)]
fix permissions on /etc/proxmox/ldap.conf

This file may contain passwords.

7 years agoadd more ldap properties, cleanup code
Dietmar Maurer [Mon, 20 Feb 2017 10:32:22 +0000 (11:32 +0100)]
add more ldap properties, cleanup code

7 years agoPVE::Config: remove type ldap (use PVE::LDAPConfig instead)
Dietmar Maurer [Mon, 20 Feb 2017 09:24:37 +0000 (10:24 +0100)]
PVE::Config: remove type ldap (use PVE::LDAPConfig instead)

7 years agoadd new class to read ldap configuration
Dietmar Maurer [Mon, 20 Feb 2017 09:04:54 +0000 (10:04 +0100)]
add new class to read ldap configuration

we use a separate file now.

7 years agoNEWS: comment about remove FuzzyOCR
Dietmar Maurer [Mon, 20 Feb 2017 08:37:11 +0000 (09:37 +0100)]
NEWS: comment about remove FuzzyOCR