]>
git.proxmox.com Git - pmg-api.git/log
Dietmar Maurer [Mon, 24 Sep 2018 07:08:15 +0000 (09:08 +0200)]
use 'die' instead of 'warn' if we cannot parse the tls_policy file
Dietmar Maurer [Mon, 24 Sep 2018 07:06:46 +0000 (09:06 +0200)]
pmg_verify_tls_policy: improve regex
Stoiko Ivanov [Fri, 21 Sep 2018 13:51:42 +0000 (15:51 +0200)]
add PMG::API2::DestinationTLSPolicy
to handle /etc/pmg/tls_policy via API, using PMG::API2::Transport
as base/inspiration.
This enables PMG to enforce TLS on a per-domain basis.
See http://www.postfix.org/postconf.5.html#smtp_tls_policy_maps and
http://www.postfix.org/TLS_README.html#client_tls_policy for reference.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Stoiko Ivanov [Fri, 21 Sep 2018 13:51:41 +0000 (15:51 +0200)]
close #1887: register tls_policy file with reader/writer
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Dietmar Maurer [Mon, 17 Sep 2018 07:31:21 +0000 (09:31 +0200)]
bump version to 5.0-79
Dietmar Maurer [Mon, 17 Sep 2018 07:36:13 +0000 (09:36 +0200)]
fix schema definition
Dominik Csapak [Fri, 14 Sep 2018 12:40:40 +0000 (14:40 +0200)]
fix #1876: allow node status for admin/manager/auditors
users can already see the status for the local host
via /config/cluster/status or rrddata on all nodes
so allow them to directly get the status via /nodes/nodename/status
this fixes the permission error on the dashboard in clustered setups
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 14 Sep 2018 12:13:20 +0000 (14:13 +0200)]
fix #1881: increase limit for ids in spam quarantine
removing the maxLength, now the limiting factor is the http
post size (64k atm), should be enough for a while
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Wed, 12 Sep 2018 04:47:12 +0000 (06:47 +0200)]
bump version to 5.0-78
Dietmar Maurer [Tue, 11 Sep 2018 06:29:22 +0000 (08:29 +0200)]
fix bug #1701: implement smarthostport setting
Dietmar Maurer [Tue, 11 Sep 2018 05:15:29 +0000 (07:15 +0200)]
fix bug #1649: Allow TLS also on internal SMTP port
Dietmar Maurer [Tue, 11 Sep 2018 04:58:20 +0000 (06:58 +0200)]
fix bug #1727: hide details if hide_received is active
Dominik Csapak [Thu, 6 Sep 2018 13:33:12 +0000 (15:33 +0200)]
use 'dailyreport' config
the user could enable/disable the dailyreport via the config/webui
but the report did not honor/check this setting
so check it, and do not send a report if this is off
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Mon, 3 Sep 2018 11:02:06 +0000 (13:02 +0200)]
bump version to 5.0-77
Dietmar Maurer [Mon, 3 Sep 2018 10:40:14 +0000 (12:40 +0200)]
fix bux #1776: set http_proxy for sa-update
Dominik Csapak [Wed, 8 Aug 2018 12:29:17 +0000 (14:29 +0200)]
actually calculate day when it is given
we did not actualy calculate the start and enddate for a day
if it was specified, but for the month
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Tue, 10 Jul 2018 08:55:31 +0000 (10:55 +0200)]
bump version to 5.0-76
Thomas Lamprecht [Wed, 27 Jun 2018 12:46:34 +0000 (14:46 +0200)]
d/control: update pve-common version dependency
as we use the new param_mapping functionallity from PVE::CLIHandler
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Thomas Lamprecht [Wed, 27 Jun 2018 12:46:33 +0000 (14:46 +0200)]
pmgsh: replace read_password with param_mapping
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Dietmar Maurer [Tue, 10 Jul 2018 08:00:21 +0000 (10:00 +0200)]
bump version to 5.0-75
Dietmar Maurer [Tue, 10 Jul 2018 07:43:46 +0000 (09:43 +0200)]
log email addresses as utf8 (postfix also do that).
Dietmar Maurer [Tue, 10 Jul 2018 07:02:18 +0000 (09:02 +0200)]
SMTP.pm: SMTPUTF8 is always passed with "mail" command
Dietmar Maurer [Mon, 9 Jul 2018 10:51:08 +0000 (12:51 +0200)]
bump version to 5.0-74
Dietmar Maurer [Mon, 9 Jul 2018 10:47:48 +0000 (12:47 +0200)]
add support for SMTPUTF8 extensions
Dominik Csapak [Mon, 25 Jun 2018 10:18:50 +0000 (12:18 +0200)]
disclaimer: encode/decode utf8 content
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 21 Jun 2018 08:25:34 +0000 (10:25 +0200)]
bump version to 5.0-73
Alexander Plank [Thu, 21 Jun 2018 07:33:23 +0000 (09:33 +0200)]
Add postfix dnsbl threshold
Signed-off-by: Alexander Plank <alexander.plank@siconnex.com>
Dietmar Maurer [Thu, 21 Jun 2018 08:00:21 +0000 (10:00 +0200)]
fix spamscore Statistics - correctly compute ratio
Dietmar Maurer [Fri, 15 Jun 2018 08:19:11 +0000 (10:19 +0200)]
bump version to 5.0-72
Dietmar Maurer [Fri, 15 Jun 2018 08:17:50 +0000 (10:17 +0200)]
PMG/RuleDB/Notify.pm: allow to use wide UTF-8 characters
Dietmar Maurer [Mon, 11 Jun 2018 07:11:08 +0000 (09:11 +0200)]
bump version to 5.0-71
Dietmar Maurer [Mon, 11 Jun 2018 06:38:22 +0000 (08:38 +0200)]
sync_userprefs_db: fix merge function
Dietmar Maurer [Fri, 4 May 2018 10:47:36 +0000 (12:47 +0200)]
bump version to 5.0-70
Dietmar Maurer [Fri, 4 May 2018 10:45:19 +0000 (12:45 +0200)]
fix bug 1707: use correct units for deferred mail queue (minutes)
Dietmar Maurer [Wed, 4 Apr 2018 08:51:47 +0000 (10:51 +0200)]
bump version to 5.0-69
Dietmar Maurer [Wed, 4 Apr 2018 08:50:13 +0000 (10:50 +0200)]
pmg-smtp-filter.service: set Restart=on-abort
Dietmar Maurer [Thu, 29 Mar 2018 12:19:15 +0000 (14:19 +0200)]
bump verson to 5.0-68
Dietmar Maurer [Thu, 29 Mar 2018 12:16:43 +0000 (14:16 +0200)]
move open_ruledb() out of the loop
Dominik Csapak [Wed, 28 Mar 2018 08:26:33 +0000 (10:26 +0200)]
allow multiple ids for one action
so that we can easily do an action for multiple e-mails simultaniously
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 22 Mar 2018 10:44:50 +0000 (11:44 +0100)]
bump version to 5.0-67
Dietmar Maurer [Thu, 22 Mar 2018 10:19:32 +0000 (11:19 +0100)]
implement new role 'helpdesk'
Simply combine 'qmanager' and 'audit' role.
Dietmar Maurer [Wed, 21 Mar 2018 11:12:14 +0000 (12:12 +0100)]
new option 'clamav'
This can be used to disable clamav:
Please use carefully!
Dietmar Maurer [Mon, 12 Mar 2018 13:19:40 +0000 (14:19 +0100)]
bump version to 5.0-66
Alwin Antreich [Fri, 2 Feb 2018 12:00:27 +0000 (13:00 +0100)]
Fix password change of unix root user
Signed-off-by: Alwin Antreich <a.antreich@proxmox.com>
Dietmar Maurer [Mon, 5 Mar 2018 05:42:55 +0000 (06:42 +0100)]
bump version to 5.0-65
Dietmar Maurer [Mon, 5 Mar 2018 05:41:43 +0000 (06:41 +0100)]
pmgpolicy: avoid warning about uninitialized value
Dietmar Maurer [Fri, 2 Mar 2018 05:14:03 +0000 (06:14 +0100)]
bump version to 5.0-64
Dominik Csapak [Thu, 1 Mar 2018 15:56:53 +0000 (16:56 +0100)]
fix #1679: do not delete old quarantine mails on cluster creation/join
we did cleanup the non-clustered spool dirs for the quarantines
which meant that if you create a cluster, all quarantine mails
before that point are deleted, but not removed from the database
instead leave the spool dir where it is, so they can be viewed at
least from the node where they got quarantined
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Fri, 2 Mar 2018 05:06:38 +0000 (06:06 +0100)]
avoid warning about uninitialized value
Dietmar Maurer [Wed, 21 Feb 2018 09:16:35 +0000 (10:16 +0100)]
bump version to 5.0-63
Dietmar Maurer [Wed, 21 Feb 2018 08:45:19 +0000 (09:45 +0100)]
add support for avast virus scanner
Wolfgang Bumiller [Tue, 20 Feb 2018 12:43:40 +0000 (13:43 +0100)]
templates: whitespace cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Sat, 17 Feb 2018 09:08:14 +0000 (10:08 +0100)]
bump version to 5.0-62
Dietmar Maurer [Sat, 17 Feb 2018 09:00:27 +0000 (10:00 +0100)]
fix #1673: Allow email addresses in transport maps
Wolfgang Bumiller [Fri, 9 Feb 2018 10:08:32 +0000 (11:08 +0100)]
UserConfig: rename verity_entry to verify_entry
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 9 Feb 2018 10:08:31 +0000 (11:08 +0100)]
UserConfig: remove useless eval
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Wolfgang Bumiller [Fri, 9 Feb 2018 10:08:30 +0000 (11:08 +0100)]
UserConfig: virify: check username vs userid
Since we have both userid and username in the schema and
both have a minimum length of 4, creating a user named 'foo'
was previously possible because the 'username' property was
not checked. Loading the file back in then failed because at
load time, the username 'foo' was too short.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Dietmar Maurer [Thu, 1 Feb 2018 10:12:57 +0000 (11:12 +0100)]
bump version to 5.0-61
Dietmar Maurer [Thu, 1 Feb 2018 10:05:59 +0000 (11:05 +0100)]
fix bug #1646: domains - allow to use wildcard domains
Dietmar Maurer [Thu, 1 Feb 2018 09:58:02 +0000 (10:58 +0100)]
fix bug # 1639: create /var/lib/pmg/backup
Because restore documentation refers to this directory.
Dietmar Maurer [Thu, 1 Feb 2018 07:15:32 +0000 (08:15 +0100)]
bump version to 5.0-60
Dietmar Maurer [Thu, 1 Feb 2018 06:49:31 +0000 (07:49 +0100)]
pmg-daily.timer: use same timing as pve (2-6h), use RandomizedDelaySec
Use RandomizedDelaySec instead of AccuracySec.
Dietmar Maurer [Wed, 31 Jan 2018 13:21:12 +0000 (14:21 +0100)]
bump version to 5.0-59
Dietmar Maurer [Wed, 31 Jan 2018 13:18:47 +0000 (14:18 +0100)]
introduce new template var postfix.int_ip
This simply quotes IPv6 for postfix configuration.
Dominik Csapak [Wed, 31 Jan 2018 10:48:39 +0000 (11:48 +0100)]
fix bug #1643: add port and protocol to spamquarantine config
to change the links in the spamreport, this does not change
on which port/protocol the webinterface listens,
so we do not want to expose those options in the webinterface
also fix a typo in a description
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Wed, 31 Jan 2018 11:33:37 +0000 (12:33 +0100)]
pmg-daily.timer: randomize start time using AccuracySec=5hours
Dietmar Maurer [Tue, 30 Jan 2018 08:06:10 +0000 (09:06 +0100)]
bump version to 5.0-58
Dietmar Maurer [Tue, 30 Jan 2018 08:04:15 +0000 (09:04 +0100)]
remove unique constraint from LocalStat(Time)
Because the Primary Key is TIME/CID.
Dietmar Maurer [Tue, 30 Jan 2018 07:03:41 +0000 (08:03 +0100)]
bump version to 5.0-57
Dietmar Maurer [Tue, 30 Jan 2018 06:47:51 +0000 (07:47 +0100)]
PMG::Cluster::sync_statistic_db - correctyl update clusterinfo lastid_CStatistic
Dietmar Maurer [Tue, 30 Jan 2018 06:45:37 +0000 (07:45 +0100)]
PMG::Cluster::sync_quarantine_db: skip files generated before cluster was created
Dietmar Maurer [Mon, 29 Jan 2018 10:10:12 +0000 (11:10 +0100)]
bump version to 5.0-56
Dietmar Maurer [Mon, 29 Jan 2018 10:05:51 +0000 (11:05 +0100)]
fix bug #1636: correctly track file modification time
Turns out that perl -M is conceptually wrong, so we use CORE::stat
instead.
Dietmar Maurer [Fri, 26 Jan 2018 06:31:07 +0000 (07:31 +0100)]
bump version to 5.0-55
Dietmar Maurer [Fri, 26 Jan 2018 06:26:19 +0000 (07:26 +0100)]
PMG/Config.pm: fix ipv6 address quoting for postfix mynetworks
Dietmar Maurer [Wed, 24 Jan 2018 12:33:05 +0000 (13:33 +0100)]
bump version to 5.0-54
Dietmar Maurer [Wed, 24 Jan 2018 12:30:39 +0000 (13:30 +0100)]
PMG/Config.pm: allow single address setups
Dietmar Maurer [Tue, 23 Jan 2018 09:42:53 +0000 (10:42 +0100)]
bump version toö 5.0-53
Dietmar Maurer [Tue, 23 Jan 2018 08:37:14 +0000 (09:37 +0100)]
pmgpolicy: try to detect config changes
Dietmar Maurer [Mon, 22 Jan 2018 08:55:19 +0000 (09:55 +0100)]
fix bug #1625 - change default rule priorities
Dietmar Maurer [Thu, 18 Jan 2018 09:17:51 +0000 (10:17 +0100)]
bump version toö 5.0-52
Dietmar Maurer [Thu, 18 Jan 2018 09:12:35 +0000 (10:12 +0100)]
PMG/RuleDB/Object.pm: fix permissions for role admin
Dietmar Maurer [Thu, 18 Jan 2018 08:19:27 +0000 (09:19 +0100)]
PMG/API2/MyNetworks.pm: fix links attribute
Dietmar Maurer [Thu, 18 Jan 2018 08:14:40 +0000 (09:14 +0100)]
PMG/API2/Transport.pm: fix link attribute
Dietmar Maurer [Wed, 17 Jan 2018 12:10:28 +0000 (13:10 +0100)]
bump version to 5.0-51
Dietmar Maurer [Wed, 17 Jan 2018 10:58:05 +0000 (11:58 +0100)]
pmgcm.pm: implement promote
Dietmar Maurer [Tue, 16 Jan 2018 13:34:53 +0000 (14:34 +0100)]
bump version to 5.0-50
Dietmar Maurer [Tue, 16 Jan 2018 13:26:55 +0000 (14:26 +0100)]
PMG/Config.pm: change default port numbers
We now use port 25 for incoming mails.
Dietmar Maurer [Tue, 16 Jan 2018 12:53:51 +0000 (13:53 +0100)]
bump version to 5.0-49
Dietmar Maurer [Mon, 15 Jan 2018 07:08:49 +0000 (08:08 +0100)]
AccessControl.pm: avoid warning about uninitialized value
Dietmar Maurer [Fri, 12 Jan 2018 10:36:53 +0000 (11:36 +0100)]
bump version to 5.0-48
Dominik Csapak [Fri, 12 Jan 2018 09:51:53 +0000 (10:51 +0100)]
remove regex for matchfield
the regex could include other characters (umlauts, special characters,
spaces, etc.), so do not limit it
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Fri, 12 Jan 2018 05:10:25 +0000 (06:10 +0100)]
ModField.pm: allow any value (remove regex pattern).
Dominik Csapak [Thu, 11 Jan 2018 08:38:45 +0000 (09:38 +0100)]
fix typo
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 11 Jan 2018 08:38:44 +0000 (09:38 +0100)]
do not return bindpw over the api
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 11 Jan 2018 08:38:43 +0000 (09:38 +0100)]
let all users read user data
but qmanager only their own
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 11 Jan 2018 08:38:42 +0000 (09:38 +0100)]
make list users available for all users
but limit qmanagers to their own user
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 11 Jan 2018 08:38:41 +0000 (09:38 +0100)]
make ldap info visible for audit users
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 11 Jan 2018 08:25:59 +0000 (09:25 +0100)]
implement pmgcm delete
Dietmar Maurer [Wed, 10 Jan 2018 10:41:14 +0000 (11:41 +0100)]
allow admins to reset the rule database