]> git.proxmox.com Git - pmg-api.git/log
pmg-api.git
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

6 years agodepend on apt-transport-https
Dietmar Maurer [Fri, 15 Dec 2017 09:19:07 +0000 (10:19 +0100)]
depend on apt-transport-https

6 years agobump version to 5.0-39
Dietmar Maurer [Thu, 14 Dec 2017 10:15:15 +0000 (11:15 +0100)]
bump version to 5.0-39

6 years agoinstall /etc/apt/apt.conf.d/75pmgconf to avoid atomatic kernel removes
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

6 years agoinstall /etc/apt/sources.list.d/pmg-enterprise.list
Dietmar Maurer [Thu, 14 Dec 2017 09:52:36 +0000 (10:52 +0100)]
install /etc/apt/sources.list.d/pmg-enterprise.list

6 years agobump version to 5.0-38
Dietmar Maurer [Thu, 14 Dec 2017 09:07:03 +0000 (10:07 +0100)]
bump version to 5.0-38

6 years agoPMG/API2/Nodes.pm - allow admin to open console and reboot the node
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

6 years agoadd API for node reboot/shutdown
Dietmar Maurer [Thu, 14 Dec 2017 08:00:03 +0000 (09:00 +0100)]
add API for node reboot/shutdown

6 years agobin/pmg-hourly: use reload-or-restart to reload pmgpolicy service
Dietmar Maurer [Thu, 14 Dec 2017 07:16:51 +0000 (08:16 +0100)]
bin/pmg-hourly: use reload-or-restart to reload pmgpolicy service

6 years agoPMG/DBTools.pm: do not use IF NOT EXISTS bcause it writes debug messages to console
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

6 years agoPMG/DBTools.pm - use user root to sync database
Dietmar Maurer [Thu, 14 Dec 2017 06:51:15 +0000 (07:51 +0100)]
PMG/DBTools.pm - use user root to sync database

6 years agopmgtunnel.pm - fix call to socketfile()
Dietmar Maurer [Thu, 14 Dec 2017 05:55:20 +0000 (06:55 +0100)]
pmgtunnel.pm - fix call to socketfile()

6 years agodebian/control - depend on 'rsync'
Dietmar Maurer [Thu, 14 Dec 2017 05:52:56 +0000 (06:52 +0100)]
debian/control - depend on 'rsync'

6 years agoPMG/CLI/pmgreport.pm - remove greylisted mails from daily report
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.

6 years agoPMG/CLI/pmgdb.pm: generate default locale
Dietmar Maurer [Wed, 13 Dec 2017 13:18:07 +0000 (14:18 +0100)]
PMG/CLI/pmgdb.pm: generate default locale

because our postgres configuration needs en_US.UTF-8

6 years agobump version to 5.0-37
Dietmar Maurer [Tue, 12 Dec 2017 08:19:28 +0000 (09:19 +0100)]
bump version to 5.0-37

6 years agopmgreport: use PMG::API2::Statistics to include postscreen stats
Dietmar Maurer [Tue, 12 Dec 2017 08:17:23 +0000 (09:17 +0100)]
pmgreport: use PMG::API2::Statistics to include postscreen stats

6 years agobump version to 5.0-36
Dietmar Maurer [Mon, 11 Dec 2017 13:49:13 +0000 (14:49 +0100)]
bump version to 5.0-36

6 years agoupdate dependencies
Dominik Csapak [Mon, 11 Dec 2017 13:30:52 +0000 (14:30 +0100)]
update dependencies

also use 'wrap-and-sort' to have each dependency in a single line
(makes future updates prettier and clearer)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agoreplace novnc with xtermjs
Dominik Csapak [Mon, 11 Dec 2017 13:30:51 +0000 (14:30 +0100)]
replace novnc with xtermjs

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agoimplement verify ticket on ticket api call
Dominik Csapak [Mon, 11 Dec 2017 13:30:50 +0000 (14:30 +0100)]
implement verify ticket on ticket api call

we now also try to verify vnc tickets, and if a path is given
we only verify the ticket (instead of creating a new one)

this will be used for xtermjs authentication

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
6 years agobump version to 5.0-35
Dietmar Maurer [Mon, 11 Dec 2017 12:39:38 +0000 (13:39 +0100)]
bump version to 5.0-35

6 years agorename safe_browsing_score to clamav_heuristic_score
Dietmar Maurer [Mon, 11 Dec 2017 11:26:46 +0000 (12:26 +0100)]
rename safe_browsing_score to clamav_heuristic_score

And match any heuristics clamav results.

6 years agobump version to 5.0-34
Dietmar Maurer [Thu, 7 Dec 2017 10:29:04 +0000 (11:29 +0100)]
bump version to 5.0-34

6 years agoPMG/Cluster.pm - fix PregreetCount data sync
Dietmar Maurer [Thu, 7 Dec 2017 10:32:59 +0000 (11:32 +0100)]
PMG/Cluster.pm - fix PregreetCount data sync

6 years agoPMG/API2/Statistics.pm - include postscreen stats in mail/mailcount
Dietmar Maurer [Thu, 7 Dec 2017 10:26:44 +0000 (11:26 +0100)]
PMG/API2/Statistics.pm - include postscreen stats in mail/mailcount

6 years agobump version to 5.0-33
Dietmar Maurer [Thu, 7 Dec 2017 06:59:45 +0000 (07:59 +0100)]
bump version to 5.0-33

6 years agoPMG/API2/Statistics.pm - rename rblcount to rejectcount, include PREGREET
Dietmar Maurer [Thu, 7 Dec 2017 06:57:52 +0000 (07:57 +0100)]
PMG/API2/Statistics.pm - rename rblcount to rejectcount, include PREGREET

6 years agobin/pmgpolicy - count PREGREET rejects (postscreen)
Dietmar Maurer [Thu, 7 Dec 2017 06:43:08 +0000 (07:43 +0100)]
bin/pmgpolicy - count PREGREET rejects (postscreen)

6 years agoadd PregreetCount column to LocalStat table
Dietmar Maurer [Thu, 7 Dec 2017 05:52:10 +0000 (06:52 +0100)]
add PregreetCount column to LocalStat table

6 years agodepend on: openssh-client, openssh-server, apt
Dietmar Maurer [Thu, 7 Dec 2017 05:33:47 +0000 (06:33 +0100)]
depend on: openssh-client, openssh-server, apt

6 years agobump version toö 5.0-32
Dietmar Maurer [Wed, 6 Dec 2017 11:20:23 +0000 (12:20 +0100)]
bump version toö 5.0-32

6 years agoPMG::DBTool::load_mail_data - add optional $pmail parameter
Dietmar Maurer [Wed, 6 Dec 2017 11:16:41 +0000 (12:16 +0100)]
PMG::DBTool::load_mail_data - add optional $pmail parameter

To load data for a specific receiver.

6 years agobump version to 5.0-31
Dietmar Maurer [Wed, 6 Dec 2017 05:32:12 +0000 (06:32 +0100)]
bump version to 5.0-31

6 years agoPMG/HTMLMail.pm - use global hash to store inlined images
Dietmar Maurer [Wed, 6 Dec 2017 05:26:21 +0000 (06:26 +0100)]
PMG/HTMLMail.pm - use global hash to store inlined images

6 years agobump version to 5.0-30
Dietmar Maurer [Tue, 5 Dec 2017 13:12:50 +0000 (14:12 +0100)]
bump version to 5.0-30

6 years agodebian/postinst/prerm - handle pmgproxy/pmgdaemon manually
Dietmar Maurer [Tue, 5 Dec 2017 13:10:26 +0000 (14:10 +0100)]
debian/postinst/prerm - handle pmgproxy/pmgdaemon manually

We use reload instead of restart to keep vnc connection active
durning updates.

6 years agodebian/postinst - rewrite banner
Dietmar Maurer [Tue, 5 Dec 2017 12:29:37 +0000 (13:29 +0100)]
debian/postinst - rewrite banner

6 years agobump version to 5.0-29
Dietmar Maurer [Tue, 5 Dec 2017 11:09:27 +0000 (12:09 +0100)]
bump version to 5.0-29

6 years agoLDAP: add mailAlternativeAddress to mailattr default
Dietmar Maurer [Tue, 5 Dec 2017 11:07:19 +0000 (12:07 +0100)]
LDAP: add mailAlternativeAddress to mailattr default

This is used by univention.

6 years agoPMG/LDAPConfig.pm - register new format ldap-simple-attr
Dietmar Maurer [Tue, 5 Dec 2017 11:05:23 +0000 (12:05 +0100)]
PMG/LDAPConfig.pm - register new format ldap-simple-attr

To make it work with '-list' prefix. Simply using a 'pattern' does
not work.

6 years agoMerge branch 'master' of ssh://proxdev.maurer-it.com/pmg/pmg-api
Dietmar Maurer [Fri, 1 Dec 2017 12:20:40 +0000 (13:20 +0100)]
Merge branch 'master' of ssh://proxdev.maurer-it.com/pmg/pmg-api

6 years agobump version to 5.0-28
Dietmar Maurer [Fri, 1 Dec 2017 12:17:43 +0000 (13:17 +0100)]
bump version to 5.0-28

6 years agopmg-smtp-filter: fix safebrowsing hit detection
Dietmar Maurer [Fri, 1 Dec 2017 12:13:10 +0000 (13:13 +0100)]
pmg-smtp-filter: fix safebrowsing hit detection

6 years agopmg-smtp-filter: use safebrowsing hit detection
Dietmar Maurer [Fri, 1 Dec 2017 12:13:10 +0000 (13:13 +0100)]
pmg-smtp-filter: use safebrowsing hit detection

6 years agobump version to 5.0-27
Dietmar Maurer [Fri, 1 Dec 2017 09:58:37 +0000 (10:58 +0100)]
bump version to 5.0-27