]>
git.proxmox.com Git - pmg-api.git/log
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
Dietmar Maurer [Tue, 9 Jan 2018 11:17:37 +0000 (12:17 +0100)]
Fetchmail.pm: allow access to properties (to generate docs)
Dietmar Maurer [Fri, 5 Jan 2018 07:50:17 +0000 (08:50 +0100)]
fix typo
Dietmar Maurer [Fri, 29 Dec 2017 11:19:38 +0000 (12:19 +0100)]
bump version to 5.0-47
Dietmar Maurer [Fri, 29 Dec 2017 11:17:12 +0000 (12:17 +0100)]
PMG/Config - reduce default maxspamsize back to 256
Because we always analyze the first $maxspamsize of large mails now.
Dietmar Maurer [Fri, 29 Dec 2017 11:14:43 +0000 (12:14 +0100)]
truncate large mails before passing them to spamassassin
So we always analyze the first part of large mails.
Dietmar Maurer [Thu, 28 Dec 2017 12:08:15 +0000 (13:08 +0100)]
bump version to 5.0-46
Dietmar Maurer [Thu, 28 Dec 2017 11:21:16 +0000 (12:21 +0100)]
Quarantine: use new TicketID to indentify mails
Dietmar Maurer [Thu, 28 Dec 2017 10:30:08 +0000 (11:30 +0100)]
MailQueue.pm: create new TicketID when inserting data to CMSReceivers
Dietmar Maurer [Thu, 28 Dec 2017 10:22:35 +0000 (11:22 +0100)]
use database_column_exists to check if column already exists
Dietmar Maurer [Thu, 28 Dec 2017 10:17:16 +0000 (11:17 +0100)]
PMG/DBTools.pm: add missing TicketID column to CMSReceivers
Dietmar Maurer [Wed, 27 Dec 2017 09:28:32 +0000 (10:28 +0100)]
bump version to 5.0-45
Dietmar Maurer [Wed, 27 Dec 2017 10:04:21 +0000 (11:04 +0100)]
delete/deliver_quarantined_mail: use receiver instead of pmail
Dietmar Maurer [Wed, 27 Dec 2017 09:24:55 +0000 (10:24 +0100)]
delete_quarantined_mail: add parameter $target
To make it more clear that we use this to update the database.
Dietmar Maurer [Wed, 27 Dec 2017 09:22:09 +0000 (10:22 +0100)]
deliver_quarantined_mail: correctly update database after mail delivery
Dietmar Maurer [Wed, 27 Dec 2017 09:14:01 +0000 (10:14 +0100)]
PMG/API2/Quarantine.pm - require parameter pmail
Dietmar Maurer [Sat, 23 Dec 2017 10:59:53 +0000 (11:59 +0100)]
fix typo
Dietmar Maurer [Thu, 21 Dec 2017 07:44:10 +0000 (08:44 +0100)]
bump version to 5.0-44
Dietmar Maurer [Thu, 21 Dec 2017 07:30:17 +0000 (08:30 +0100)]
PMG/API2/APT.pm - fix changelog urls
Dietmar Maurer [Thu, 21 Dec 2017 07:10:41 +0000 (08:10 +0100)]
disable suspend-to-disk, as it delays boot on systems with root on ZFS
Dietmar Maurer [Thu, 21 Dec 2017 07:03:21 +0000 (08:03 +0100)]
pmg-daily: add check for available updates
Dietmar Maurer [Thu, 21 Dec 2017 06:36:22 +0000 (07:36 +0100)]
periodically update subscription status
Dietmar Maurer [Mon, 18 Dec 2017 11:47:14 +0000 (12:47 +0100)]
bump version to 5.0-43
Dietmar Maurer [Mon, 18 Dec 2017 11:46:16 +0000 (12:46 +0100)]
run postmap after generation postfix main.cf
Dietmar Maurer [Mon, 18 Dec 2017 11:12:29 +0000 (12:12 +0100)]
bump version to 5.0-42
Dietmar Maurer [Mon, 18 Dec 2017 10:49:51 +0000 (11:49 +0100)]
PMG/Config.pm: avoid warnings if there is no search domain in resolv.conf
Dietmar Maurer [Mon, 18 Dec 2017 10:33:42 +0000 (11:33 +0100)]
bump version to 5.0-41
Dietmar Maurer [Mon, 18 Dec 2017 10:32:21 +0000 (11:32 +0100)]
PMG/Fetchmail.pm - autostart fetchmail service
Dietmar Maurer [Mon, 18 Dec 2017 09:28:50 +0000 (10:28 +0100)]
bump version to 5.0-40
Dietmar Maurer [Mon, 18 Dec 2017 09:29:50 +0000 (10:29 +0100)]
depend on fetchmail
Dietmar Maurer [Mon, 18 Dec 2017 09:26:44 +0000 (10:26 +0100)]
PMG/Cluster.pm - rewrite ssh keys after cluster sync
Dietmar Maurer [Mon, 18 Dec 2017 08:50:42 +0000 (09:50 +0100)]
bump default maxspamsize to 1M
Dietmar Maurer [Fri, 15 Dec 2017 09:19:07 +0000 (10:19 +0100)]
depend on apt-transport-https
Dietmar Maurer [Thu, 14 Dec 2017 10:15:15 +0000 (11:15 +0100)]
bump version to 5.0-39
Dietmar Maurer [Thu, 14 Dec 2017 10:11:38 +0000 (11:11 +0100)]
install /etc/apt/apt.conf.d/75pmgconf to avoid atomatic kernel removes
Dietmar Maurer [Thu, 14 Dec 2017 09:52:36 +0000 (10:52 +0100)]
install /etc/apt/sources.list.d/pmg-enterprise.list
Dietmar Maurer [Thu, 14 Dec 2017 09:07:03 +0000 (10:07 +0100)]
bump version to 5.0-38
Dietmar Maurer [Thu, 14 Dec 2017 08:08:03 +0000 (09:08 +0100)]
PMG/API2/Nodes.pm - allow admin to open console and reboot the node
Dietmar Maurer [Thu, 14 Dec 2017 08:00:03 +0000 (09:00 +0100)]
add API for node reboot/shutdown
Dietmar Maurer [Thu, 14 Dec 2017 07:16:51 +0000 (08:16 +0100)]
bin/pmg-hourly: use reload-or-restart to reload pmgpolicy service
Dietmar Maurer [Thu, 14 Dec 2017 07:04:22 +0000 (08:04 +0100)]
PMG/DBTools.pm: do not use IF NOT EXISTS bcause it writes debug messages to console
Dietmar Maurer [Thu, 14 Dec 2017 06:51:15 +0000 (07:51 +0100)]
PMG/DBTools.pm - use user root to sync database
Dietmar Maurer [Thu, 14 Dec 2017 05:55:20 +0000 (06:55 +0100)]
pmgtunnel.pm - fix call to socketfile()
Dietmar Maurer [Thu, 14 Dec 2017 05:52:56 +0000 (06:52 +0100)]
debian/control - depend on 'rsync'
Dietmar Maurer [Thu, 14 Dec 2017 05:15:41 +0000 (06:15 +0100)]
PMG/CLI/pmgreport.pm - remove greylisted mails from daily report
Because the count for 'yesterday' is alway zero.