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

6 years agodo not use .db file for mynetworks
Dietmar Maurer [Fri, 1 Dec 2017 09:56:23 +0000 (10:56 +0100)]
do not use .db file for mynetworks

Because this does not work to lookup IPs inside cidrs.

6 years agobump version to 5.0-26
Dietmar Maurer [Thu, 30 Nov 2017 08:57:48 +0000 (09:57 +0100)]
bump version to 5.0-26

6 years agoincrease deafult maxspamsize to 512*1024
Dietmar Maurer [Thu, 30 Nov 2017 08:55:56 +0000 (09:55 +0100)]
increase deafult maxspamsize to 512*1024

6 years agobump version to 5.0-25
Dietmar Maurer [Thu, 30 Nov 2017 07:04:02 +0000 (08:04 +0100)]
bump version to 5.0-25

6 years agotemplates/local.cf.in: include KAM.cf
Dietmar Maurer [Thu, 30 Nov 2017 07:02:41 +0000 (08:02 +0100)]
templates/local.cf.in: include KAM.cf

6 years agotemplates/local.cf.in: remove FuzzyOcr.cf
Dietmar Maurer [Thu, 30 Nov 2017 07:02:01 +0000 (08:02 +0100)]
templates/local.cf.in: remove FuzzyOcr.cf

6 years agobump version to 5.0-24
Dietmar Maurer [Wed, 29 Nov 2017 10:37:58 +0000 (11:37 +0100)]
bump version to 5.0-24

6 years agototal_domain_stat: return bytes instead of mbytes
Dietmar Maurer [Wed, 29 Nov 2017 10:55:54 +0000 (11:55 +0100)]
total_domain_stat: return bytes instead of mbytes

6 years agototal_mail_stat: return bytes_in/bytes_out in bytes (instead of MBytes)
Dietmar Maurer [Wed, 29 Nov 2017 10:35:48 +0000 (11:35 +0100)]
total_mail_stat: return bytes_in/bytes_out in bytes (instead of MBytes)

6 years agobump version to 5.0-23
Dietmar Maurer [Wed, 29 Nov 2017 09:38:40 +0000 (10:38 +0100)]
bump version to 5.0-23

6 years agoavoid repeated SPF headers
Dietmar Maurer [Wed, 29 Nov 2017 09:37:37 +0000 (10:37 +0100)]
avoid repeated SPF headers

6 years agobump version to 5.0-22
Dietmar Maurer [Tue, 28 Nov 2017 14:24:36 +0000 (15:24 +0100)]
bump version to 5.0-22

6 years agofix network stats
Dietmar Maurer [Tue, 28 Nov 2017 14:23:47 +0000 (15:23 +0100)]
fix network stats

6 years agobump version to 5.0-21
Dietmar Maurer [Tue, 28 Nov 2017 13:36:34 +0000 (14:36 +0100)]
bump version to 5.0-21

6 years agoavoid warning about uninitialized value
Dietmar Maurer [Tue, 28 Nov 2017 13:05:24 +0000 (14:05 +0100)]
avoid warning about uninitialized value

6 years agobump version to 5.0-20
Dietmar Maurer [Tue, 28 Nov 2017 12:46:38 +0000 (13:46 +0100)]
bump version to 5.0-20

6 years agouse google safe browsing hits to icrease spam score
Dietmar Maurer [Tue, 28 Nov 2017 12:36:22 +0000 (13:36 +0100)]
use google safe browsing hits to icrease spam score

6 years agobump version to 5.0-19
Dietmar Maurer [Tue, 28 Nov 2017 11:19:47 +0000 (12:19 +0100)]
bump version to 5.0-19

6 years agoPMG/RuleDB/Notify.pm - set default value for attach
Dietmar Maurer [Tue, 28 Nov 2017 11:15:09 +0000 (12:15 +0100)]
PMG/RuleDB/Notify.pm - set default value for attach

6 years agoPMG/RuleDB/Notify.pm - avoid use of undefined values
Dietmar Maurer [Tue, 28 Nov 2017 11:08:27 +0000 (12:08 +0100)]
PMG/RuleDB/Notify.pm - avoid use of undefined values

6 years agoPMG/RuleDB/Notify.pm - remove unused accessors
Dietmar Maurer [Tue, 28 Nov 2017 11:03:40 +0000 (12:03 +0100)]
PMG/RuleDB/Notify.pm - remove unused accessors

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

6 years agopmg_verify_dnsbl_entry - improve error message
Dietmar Maurer [Mon, 27 Nov 2017 10:38:33 +0000 (11:38 +0100)]
pmg_verify_dnsbl_entry - improve error message

6 years agoremove mail/use_rbl config - we use dnsbl_sites instead
Dietmar Maurer [Mon, 27 Nov 2017 10:19:34 +0000 (11:19 +0100)]
remove mail/use_rbl config - we use dnsbl_sites instead

6 years agoPMG/Config.pm - register/use format dnsbl-entry
Dietmar Maurer [Mon, 27 Nov 2017 10:10:02 +0000 (11:10 +0100)]
PMG/Config.pm - register/use format dnsbl-entry

6 years agonormalize dnsbl_sites
Dietmar Maurer [Mon, 27 Nov 2017 09:53:29 +0000 (10:53 +0100)]
normalize dnsbl_sites

6 years agoremove sub oicon() - no longer needed
Dietmar Maurer [Mon, 27 Nov 2017 06:09:51 +0000 (07:09 +0100)]
remove sub oicon() - no longer needed

6 years agoremove stale fixme comments
Dietmar Maurer [Mon, 27 Nov 2017 06:04:34 +0000 (07:04 +0100)]
remove stale fixme comments

6 years agobump version to 5.0-17
Dietmar Maurer [Mon, 27 Nov 2017 05:46:01 +0000 (06:46 +0100)]
bump version to 5.0-17

6 years agogenerate/use /etc/pmg/tls_policy
Dietmar Maurer [Mon, 27 Nov 2017 05:44:29 +0000 (06:44 +0100)]
generate/use /etc/pmg/tls_policy

6 years agobump version to 5.0-16
Dietmar Maurer [Sat, 25 Nov 2017 08:36:25 +0000 (09:36 +0100)]
bump version to 5.0-16

6 years agodepend on clamdscan
Dietmar Maurer [Sat, 25 Nov 2017 08:35:19 +0000 (09:35 +0100)]
depend on clamdscan

6 years agodo not set postscreen_dnsbl_reply_map
Dietmar Maurer [Sat, 25 Nov 2017 08:30:23 +0000 (09:30 +0100)]
do not set postscreen_dnsbl_reply_map

6 years agobump version to 5.0-15
Dietmar Maurer [Fri, 24 Nov 2017 06:26:06 +0000 (07:26 +0100)]
bump version to 5.0-15

6 years agoalways load SA dkim to improve accuracy
Dietmar Maurer [Fri, 24 Nov 2017 06:24:45 +0000 (07:24 +0100)]
always load SA dkim to improve accuracy

6 years agobump version to 5.0-14
Dietmar Maurer [Tue, 21 Nov 2017 08:47:30 +0000 (09:47 +0100)]
bump version to 5.0-14

6 years agopmgsync.service - run pmgconfig init to generate required files
Dietmar Maurer [Tue, 21 Nov 2017 08:46:15 +0000 (09:46 +0100)]
pmgsync.service - run pmgconfig init to generate required files

6 years agobump version to 5.0-13
Dietmar Maurer [Tue, 21 Nov 2017 08:15:47 +0000 (09:15 +0100)]
bump version to 5.0-13

6 years agoadd pmgsync service
Dietmar Maurer [Tue, 21 Nov 2017 08:10:44 +0000 (09:10 +0100)]
add pmgsync service

- make sure db exists after boot
- make sure config is in sync after boot

6 years agobump version to 5.0-12
Dietmar Maurer [Fri, 17 Nov 2017 10:30:40 +0000 (11:30 +0100)]
bump version to 5.0-12

6 years agodebian/postinst - fix postgres service name (postgresql.service)
Dietmar Maurer [Fri, 17 Nov 2017 10:29:12 +0000 (11:29 +0100)]
debian/postinst - fix postgres service name (postgresql.service)

6 years agodebian/postinst - simplify code
Dietmar Maurer [Fri, 17 Nov 2017 10:27:38 +0000 (11:27 +0100)]
debian/postinst -  simplify code

6 years agobump version to 5.0-11
Dietmar Maurer [Fri, 17 Nov 2017 10:20:58 +0000 (11:20 +0100)]
bump version to 5.0-11

6 years agodo not use #DEBHELPER# macro inside comment
Dietmar Maurer [Fri, 17 Nov 2017 10:19:32 +0000 (11:19 +0100)]
do not use #DEBHELPER# macro inside comment

6 years agobump version to 5.0-10
Dietmar Maurer [Fri, 17 Nov 2017 08:31:47 +0000 (09:31 +0100)]
bump version to 5.0-10

6 years agodebian/postinst - do not skip service setup in /proxmox_install_mode
Dietmar Maurer [Fri, 17 Nov 2017 08:30:30 +0000 (09:30 +0100)]
debian/postinst - do not skip service setup in /proxmox_install_mode

6 years agoavoid warning when transport file does not exist
Dietmar Maurer [Thu, 16 Nov 2017 11:01:34 +0000 (12:01 +0100)]
avoid warning when transport file does not exist

6 years agobump version to 5.0-9
Dietmar Maurer [Tue, 14 Nov 2017 12:08:54 +0000 (13:08 +0100)]
bump version to 5.0-9

6 years agodebian/pmgbanner.service - setup login banner
Dietmar Maurer [Tue, 14 Nov 2017 12:04:13 +0000 (13:04 +0100)]
debian/pmgbanner.service - setup login banner

6 years agotemplates/fetchmailrc.tt - fix syntax
Dietmar Maurer [Tue, 14 Nov 2017 11:46:12 +0000 (12:46 +0100)]
templates/fetchmailrc.tt - fix syntax

6 years agoPMG/API2/APT.pm - fix package names
Dietmar Maurer [Tue, 14 Nov 2017 11:27:28 +0000 (12:27 +0100)]
PMG/API2/APT.pm - fix package names

6 years agoPMG/Service/pmgproxy.pm - fix package names
Dietmar Maurer [Tue, 14 Nov 2017 11:18:47 +0000 (12:18 +0100)]
PMG/Service/pmgproxy.pm - fix package names

6 years agorename package to pmg-api, bump version to 5.0-8
Dietmar Maurer [Tue, 14 Nov 2017 10:51:44 +0000 (11:51 +0100)]
rename package to pmg-api, bump version to 5.0-8

6 years agobump version to 5.0-7
Dietmar Maurer [Tue, 14 Nov 2017 07:30:46 +0000 (08:30 +0100)]
bump version to 5.0-7

6 years agoPMG/API2/SMTPWhitelist.pm - update postfix files after modifications
Dietmar Maurer [Tue, 14 Nov 2017 06:13:09 +0000 (07:13 +0100)]
PMG/API2/SMTPWhitelist.pm - update postfix files after modifications

6 years agoPMG/API2/SMTPWhitelist.pm - call reload_ruledb when removing an object
Dietmar Maurer [Tue, 14 Nov 2017 05:40:43 +0000 (06:40 +0100)]
PMG/API2/SMTPWhitelist.pm - call reload_ruledb when removing an object

6 years agoPMG/Backup.pm - restore: keep directory /etc/pmg
Dietmar Maurer [Mon, 13 Nov 2017 11:20:02 +0000 (12:20 +0100)]
PMG/Backup.pm - restore: keep directory /etc/pmg

Else we confuse our INotify watch.

6 years agoPMG/API2/Cluster.pm - use PMG::MailQueue::create_spooldirs
Dietmar Maurer [Mon, 13 Nov 2017 10:31:08 +0000 (11:31 +0100)]
PMG/API2/Cluster.pm - use PMG::MailQueue::create_spooldirs

Because PMG::Cluster::create_needed_dirs() was removed long time ago.

6 years agoPMG/API2/SMTPWhitelist.pm - fix delete object
Dietmar Maurer [Mon, 13 Nov 2017 10:14:06 +0000 (11:14 +0100)]
PMG/API2/SMTPWhitelist.pm - fix delete object

We need to run 'proctected' to gain database permission.

6 years agoPMG/Backup.pm - fix ruledb restore
Dietmar Maurer [Mon, 13 Nov 2017 09:52:17 +0000 (10:52 +0100)]
PMG/Backup.pm - fix ruledb restore

6 years agoPMG/API2/Cluster.pm - new option list_single_node
Dietmar Maurer [Mon, 13 Nov 2017 07:51:28 +0000 (08:51 +0100)]
PMG/API2/Cluster.pm - new option list_single_node

To simplify GUI dashboard.

6 years agoPMG/API2/Cluster.pm - fix permissions
Dietmar Maurer [Mon, 13 Nov 2017 06:47:40 +0000 (07:47 +0100)]
PMG/API2/Cluster.pm - fix permissions

Allow role qmanager and audit to read cluster status

6 years agoPMG/ClusterConfig.pm - minor code cleanup
Dietmar Maurer [Mon, 13 Nov 2017 06:10:49 +0000 (07:10 +0100)]
PMG/ClusterConfig.pm - minor code cleanup