]> git.proxmox.com Git - pmg-api.git/log
pmg-api.git
5 years agosync_userprefs_db: fix merge function
Dietmar Maurer [Mon, 11 Jun 2018 06:38:22 +0000 (08:38 +0200)]
sync_userprefs_db: fix merge function

5 years agobump version to 5.0-70
Dietmar Maurer [Fri, 4 May 2018 10:47:36 +0000 (12:47 +0200)]
bump version to 5.0-70

5 years agofix bug 1707: use correct units for deferred mail queue (minutes)
Dietmar Maurer [Fri, 4 May 2018 10:45:19 +0000 (12:45 +0200)]
fix bug 1707: use correct units for deferred mail queue (minutes)

6 years agobump version to 5.0-69
Dietmar Maurer [Wed, 4 Apr 2018 08:51:47 +0000 (10:51 +0200)]
bump version to 5.0-69

6 years agopmg-smtp-filter.service: set Restart=on-abort
Dietmar Maurer [Wed, 4 Apr 2018 08:50:13 +0000 (10:50 +0200)]
pmg-smtp-filter.service: set Restart=on-abort

6 years agobump verson to 5.0-68
Dietmar Maurer [Thu, 29 Mar 2018 12:19:15 +0000 (14:19 +0200)]
bump verson to 5.0-68

6 years agomove open_ruledb() out of the loop
Dietmar Maurer [Thu, 29 Mar 2018 12:16:43 +0000 (14:16 +0200)]
move open_ruledb() out of the loop

6 years agoallow multiple ids for one action
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>
6 years agobump version to 5.0-67
Dietmar Maurer [Thu, 22 Mar 2018 10:44:50 +0000 (11:44 +0100)]
bump version to 5.0-67

6 years agoimplement new role 'helpdesk'
Dietmar Maurer [Thu, 22 Mar 2018 10:19:32 +0000 (11:19 +0100)]
implement new role 'helpdesk'

Simply combine 'qmanager' and 'audit' role.

6 years agonew option 'clamav'
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!

6 years agobump version to 5.0-66
Dietmar Maurer [Mon, 12 Mar 2018 13:19:40 +0000 (14:19 +0100)]
bump version to 5.0-66

6 years agoFix password change of unix root user
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>
6 years agobump version to 5.0-65
Dietmar Maurer [Mon, 5 Mar 2018 05:42:55 +0000 (06:42 +0100)]
bump version to 5.0-65

6 years agopmgpolicy: avoid warning about uninitialized value
Dietmar Maurer [Mon, 5 Mar 2018 05:41:43 +0000 (06:41 +0100)]
pmgpolicy: avoid warning about uninitialized value

6 years agobump version to 5.0-64
Dietmar Maurer [Fri, 2 Mar 2018 05:14:03 +0000 (06:14 +0100)]
bump version to 5.0-64

6 years agofix #1679: do not delete old quarantine mails on cluster creation/join
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>
6 years agoavoid warning about uninitialized value
Dietmar Maurer [Fri, 2 Mar 2018 05:06:38 +0000 (06:06 +0100)]
avoid warning about uninitialized value

6 years agobump version to 5.0-63
Dietmar Maurer [Wed, 21 Feb 2018 09:16:35 +0000 (10:16 +0100)]
bump version to 5.0-63

6 years agoadd support for avast virus scanner
Dietmar Maurer [Wed, 21 Feb 2018 08:45:19 +0000 (09:45 +0100)]
add support for avast virus scanner

6 years agotemplates: whitespace cleanup
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>
6 years agobump version to 5.0-62
Dietmar Maurer [Sat, 17 Feb 2018 09:08:14 +0000 (10:08 +0100)]
bump version to 5.0-62

6 years agofix #1673: Allow email addresses in transport maps
Dietmar Maurer [Sat, 17 Feb 2018 09:00:27 +0000 (10:00 +0100)]
fix #1673: Allow email addresses in transport maps

6 years agoUserConfig: rename verity_entry to verify_entry
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>
6 years agoUserConfig: remove useless eval
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>
6 years agoUserConfig: virify: check username vs userid
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>
6 years agobump version to 5.0-61
Dietmar Maurer [Thu, 1 Feb 2018 10:12:57 +0000 (11:12 +0100)]
bump version to 5.0-61

6 years agofix bug #1646: domains - allow to use wildcard domains
Dietmar Maurer [Thu, 1 Feb 2018 10:05:59 +0000 (11:05 +0100)]
fix bug #1646: domains - allow to use wildcard domains

6 years agofix bug # 1639: create /var/lib/pmg/backup
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.

6 years agobump version to 5.0-60
Dietmar Maurer [Thu, 1 Feb 2018 07:15:32 +0000 (08:15 +0100)]
bump version to 5.0-60

6 years agopmg-daily.timer: use same timing as pve (2-6h), use RandomizedDelaySec
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.

6 years agobump version to 5.0-59
Dietmar Maurer [Wed, 31 Jan 2018 13:21:12 +0000 (14:21 +0100)]
bump version to 5.0-59

6 years agointroduce new template var postfix.int_ip
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.

6 years agofix bug #1643: add port and protocol to spamquarantine config
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>
6 years agopmg-daily.timer: randomize start time using AccuracySec=5hours
Dietmar Maurer [Wed, 31 Jan 2018 11:33:37 +0000 (12:33 +0100)]
pmg-daily.timer: randomize start time using AccuracySec=5hours

6 years agobump version to 5.0-58
Dietmar Maurer [Tue, 30 Jan 2018 08:06:10 +0000 (09:06 +0100)]
bump version to 5.0-58

6 years agoremove unique constraint from LocalStat(Time)
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.

6 years agobump version to 5.0-57
Dietmar Maurer [Tue, 30 Jan 2018 07:03:41 +0000 (08:03 +0100)]
bump version to 5.0-57

6 years agoPMG::Cluster::sync_statistic_db - correctyl update clusterinfo lastid_CStatistic
Dietmar Maurer [Tue, 30 Jan 2018 06:47:51 +0000 (07:47 +0100)]
PMG::Cluster::sync_statistic_db - correctyl update clusterinfo lastid_CStatistic

6 years agoPMG::Cluster::sync_quarantine_db: skip files generated before cluster was created
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

6 years agobump version to 5.0-56
Dietmar Maurer [Mon, 29 Jan 2018 10:10:12 +0000 (11:10 +0100)]
bump version to 5.0-56

6 years agofix bug #1636: correctly track file modification time
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.

6 years agobump version to 5.0-55
Dietmar Maurer [Fri, 26 Jan 2018 06:31:07 +0000 (07:31 +0100)]
bump version to 5.0-55

6 years agoPMG/Config.pm: fix ipv6 address quoting for postfix mynetworks
Dietmar Maurer [Fri, 26 Jan 2018 06:26:19 +0000 (07:26 +0100)]
PMG/Config.pm: fix ipv6 address quoting for postfix mynetworks

6 years agobump version to 5.0-54
Dietmar Maurer [Wed, 24 Jan 2018 12:33:05 +0000 (13:33 +0100)]
bump version to 5.0-54

6 years agoPMG/Config.pm: allow single address setups
Dietmar Maurer [Wed, 24 Jan 2018 12:30:39 +0000 (13:30 +0100)]
PMG/Config.pm: allow single address setups

6 years agobump version toö 5.0-53
Dietmar Maurer [Tue, 23 Jan 2018 09:42:53 +0000 (10:42 +0100)]
bump version toö 5.0-53

6 years agopmgpolicy: try to detect config changes
Dietmar Maurer [Tue, 23 Jan 2018 08:37:14 +0000 (09:37 +0100)]
pmgpolicy: try to detect config changes

6 years agofix bug #1625 - change default rule priorities
Dietmar Maurer [Mon, 22 Jan 2018 08:55:19 +0000 (09:55 +0100)]
fix bug #1625 - change default rule priorities

6 years agobump version toö 5.0-52
Dietmar Maurer [Thu, 18 Jan 2018 09:17:51 +0000 (10:17 +0100)]
bump version toö 5.0-52

6 years agoPMG/RuleDB/Object.pm: fix permissions for role admin
Dietmar Maurer [Thu, 18 Jan 2018 09:12:35 +0000 (10:12 +0100)]
PMG/RuleDB/Object.pm: fix permissions for role admin

6 years agoPMG/API2/MyNetworks.pm: fix links attribute
Dietmar Maurer [Thu, 18 Jan 2018 08:19:27 +0000 (09:19 +0100)]
PMG/API2/MyNetworks.pm: fix links attribute

6 years agoPMG/API2/Transport.pm: fix link attribute
Dietmar Maurer [Thu, 18 Jan 2018 08:14:40 +0000 (09:14 +0100)]
PMG/API2/Transport.pm: fix link attribute

6 years agobump version to 5.0-51
Dietmar Maurer [Wed, 17 Jan 2018 12:10:28 +0000 (13:10 +0100)]
bump version to 5.0-51

6 years agopmgcm.pm: implement promote
Dietmar Maurer [Wed, 17 Jan 2018 10:58:05 +0000 (11:58 +0100)]
pmgcm.pm: implement promote

6 years agobump version to 5.0-50
Dietmar Maurer [Tue, 16 Jan 2018 13:34:53 +0000 (14:34 +0100)]
bump version to 5.0-50

6 years agoPMG/Config.pm: change default port numbers
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.

6 years agobump version to 5.0-49
Dietmar Maurer [Tue, 16 Jan 2018 12:53:51 +0000 (13:53 +0100)]
bump version to 5.0-49

6 years agoAccessControl.pm: avoid warning about uninitialized value
Dietmar Maurer [Mon, 15 Jan 2018 07:08:49 +0000 (08:08 +0100)]
AccessControl.pm: avoid warning about uninitialized value

6 years agobump version to 5.0-48
Dietmar Maurer [Fri, 12 Jan 2018 10:36:53 +0000 (11:36 +0100)]
bump version to 5.0-48

6 years agoremove regex for matchfield
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>
6 years agoModField.pm: allow any value (remove regex pattern).
Dietmar Maurer [Fri, 12 Jan 2018 05:10:25 +0000 (06:10 +0100)]
ModField.pm: allow any value (remove regex pattern).

6 years agofix typo
Dominik Csapak [Thu, 11 Jan 2018 08:38:45 +0000 (09:38 +0100)]
fix typo

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agodo not return bindpw over the api
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>
6 years agolet all users read user data
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>
6 years agomake list users available for all users
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>
6 years agomake ldap info visible for audit users
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>
6 years agoimplement pmgcm delete
Dietmar Maurer [Thu, 11 Jan 2018 08:25:59 +0000 (09:25 +0100)]
implement pmgcm delete

6 years agoallow admins to reset the rule database
Dietmar Maurer [Wed, 10 Jan 2018 10:41:14 +0000 (11:41 +0100)]
allow admins to reset the rule database

6 years agoFetchmail.pm: allow access to properties (to generate docs)
Dietmar Maurer [Tue, 9 Jan 2018 11:17:37 +0000 (12:17 +0100)]
Fetchmail.pm: allow access to properties (to generate docs)

6 years agofix typo
Dietmar Maurer [Fri, 5 Jan 2018 07:50:17 +0000 (08:50 +0100)]
fix typo

6 years agobump version to 5.0-47
Dietmar Maurer [Fri, 29 Dec 2017 11:19:38 +0000 (12:19 +0100)]
bump version to 5.0-47

6 years agoPMG/Config - reduce default maxspamsize back to 256
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.

6 years agotruncate large mails before passing them to spamassassin
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.

6 years agobump version to 5.0-46
Dietmar Maurer [Thu, 28 Dec 2017 12:08:15 +0000 (13:08 +0100)]
bump version to 5.0-46

6 years agoQuarantine: use new TicketID to indentify mails
Dietmar Maurer [Thu, 28 Dec 2017 11:21:16 +0000 (12:21 +0100)]
Quarantine: use new TicketID to indentify mails

6 years agoMailQueue.pm: create new TicketID when inserting data to CMSReceivers
Dietmar Maurer [Thu, 28 Dec 2017 10:30:08 +0000 (11:30 +0100)]
MailQueue.pm: create new TicketID when inserting data to CMSReceivers

6 years agouse database_column_exists to check if column already exists
Dietmar Maurer [Thu, 28 Dec 2017 10:22:35 +0000 (11:22 +0100)]
use database_column_exists to check if column already exists

6 years agoPMG/DBTools.pm: add missing TicketID column to CMSReceivers
Dietmar Maurer [Thu, 28 Dec 2017 10:17:16 +0000 (11:17 +0100)]
PMG/DBTools.pm: add missing TicketID column to CMSReceivers

6 years agobump version to 5.0-45
Dietmar Maurer [Wed, 27 Dec 2017 09:28:32 +0000 (10:28 +0100)]
bump version to 5.0-45

6 years agodelete/deliver_quarantined_mail: use receiver instead of pmail
Dietmar Maurer [Wed, 27 Dec 2017 10:04:21 +0000 (11:04 +0100)]
delete/deliver_quarantined_mail: use receiver instead of pmail

6 years agodelete_quarantined_mail: add parameter $target
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.

6 years agodeliver_quarantined_mail: correctly update database after mail delivery
Dietmar Maurer [Wed, 27 Dec 2017 09:22:09 +0000 (10:22 +0100)]
deliver_quarantined_mail: correctly update database after mail delivery

6 years agoPMG/API2/Quarantine.pm - require parameter pmail
Dietmar Maurer [Wed, 27 Dec 2017 09:14:01 +0000 (10:14 +0100)]
PMG/API2/Quarantine.pm - require parameter pmail

6 years agofix typo
Dietmar Maurer [Sat, 23 Dec 2017 10:59:53 +0000 (11:59 +0100)]
fix typo

6 years agobump version to 5.0-44
Dietmar Maurer [Thu, 21 Dec 2017 07:44:10 +0000 (08:44 +0100)]
bump version to 5.0-44

6 years agoPMG/API2/APT.pm - fix changelog urls
Dietmar Maurer [Thu, 21 Dec 2017 07:30:17 +0000 (08:30 +0100)]
PMG/API2/APT.pm - fix changelog urls

6 years agodisable suspend-to-disk, as it delays boot on systems with root on ZFS
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

6 years agopmg-daily: add check for available updates
Dietmar Maurer [Thu, 21 Dec 2017 07:03:21 +0000 (08:03 +0100)]
pmg-daily: add check for available updates

6 years agoperiodically update subscription status
Dietmar Maurer [Thu, 21 Dec 2017 06:36:22 +0000 (07:36 +0100)]
periodically update subscription status

6 years agobump version to 5.0-43
Dietmar Maurer [Mon, 18 Dec 2017 11:47:14 +0000 (12:47 +0100)]
bump version to 5.0-43

6 years agorun postmap after generation postfix main.cf
Dietmar Maurer [Mon, 18 Dec 2017 11:46:16 +0000 (12:46 +0100)]
run postmap after generation postfix main.cf

6 years agobump version to 5.0-42
Dietmar Maurer [Mon, 18 Dec 2017 11:12:29 +0000 (12:12 +0100)]
bump version to 5.0-42

6 years agoPMG/Config.pm: avoid warnings if there is no search domain in resolv.conf
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

6 years agobump version to 5.0-41
Dietmar Maurer [Mon, 18 Dec 2017 10:33:42 +0000 (11:33 +0100)]
bump version to 5.0-41

6 years agoPMG/Fetchmail.pm - autostart fetchmail service
Dietmar Maurer [Mon, 18 Dec 2017 10:32:21 +0000 (11:32 +0100)]
PMG/Fetchmail.pm - autostart fetchmail service

6 years agobump version to 5.0-40
Dietmar Maurer [Mon, 18 Dec 2017 09:28:50 +0000 (10:28 +0100)]
bump version to 5.0-40

6 years agodepend on fetchmail
Dietmar Maurer [Mon, 18 Dec 2017 09:29:50 +0000 (10:29 +0100)]
depend on fetchmail

6 years agoPMG/Cluster.pm - rewrite ssh keys after cluster sync
Dietmar Maurer [Mon, 18 Dec 2017 09:26:44 +0000 (10:26 +0100)]
PMG/Cluster.pm - rewrite ssh keys after cluster sync

6 years agobump default maxspamsize to 1M
Dietmar Maurer [Mon, 18 Dec 2017 08:50:42 +0000 (09:50 +0100)]
bump default maxspamsize to 1M