]>
git.proxmox.com Git - pmg-api.git/log
Dietmar Maurer [Tue, 28 Nov 2017 11:03:40 +0000 (12:03 +0100)]
PMG/RuleDB/Notify.pm - remove unused accessors
Dietmar Maurer [Mon, 27 Nov 2017 10:41:48 +0000 (11:41 +0100)]
bump version to 5.0-18
Dietmar Maurer [Mon, 27 Nov 2017 10:38:33 +0000 (11:38 +0100)]
pmg_verify_dnsbl_entry - improve error message
Dietmar Maurer [Mon, 27 Nov 2017 10:19:34 +0000 (11:19 +0100)]
remove mail/use_rbl config - we use dnsbl_sites instead
Dietmar Maurer [Mon, 27 Nov 2017 10:10:02 +0000 (11:10 +0100)]
PMG/Config.pm - register/use format dnsbl-entry
Dietmar Maurer [Mon, 27 Nov 2017 09:53:29 +0000 (10:53 +0100)]
normalize dnsbl_sites
Dietmar Maurer [Mon, 27 Nov 2017 06:09:51 +0000 (07:09 +0100)]
remove sub oicon() - no longer needed
Dietmar Maurer [Mon, 27 Nov 2017 06:04:34 +0000 (07:04 +0100)]
remove stale fixme comments
Dietmar Maurer [Mon, 27 Nov 2017 05:46:01 +0000 (06:46 +0100)]
bump version to 5.0-17
Dietmar Maurer [Mon, 27 Nov 2017 05:44:29 +0000 (06:44 +0100)]
generate/use /etc/pmg/tls_policy
Dietmar Maurer [Sat, 25 Nov 2017 08:36:25 +0000 (09:36 +0100)]
bump version to 5.0-16
Dietmar Maurer [Sat, 25 Nov 2017 08:35:19 +0000 (09:35 +0100)]
depend on clamdscan
Dietmar Maurer [Sat, 25 Nov 2017 08:30:23 +0000 (09:30 +0100)]
do not set postscreen_dnsbl_reply_map
Dietmar Maurer [Fri, 24 Nov 2017 06:26:06 +0000 (07:26 +0100)]
bump version to 5.0-15
Dietmar Maurer [Fri, 24 Nov 2017 06:24:45 +0000 (07:24 +0100)]
always load SA dkim to improve accuracy
Dietmar Maurer [Tue, 21 Nov 2017 08:47:30 +0000 (09:47 +0100)]
bump version to 5.0-14
Dietmar Maurer [Tue, 21 Nov 2017 08:46:15 +0000 (09:46 +0100)]
pmgsync.service - run pmgconfig init to generate required files
Dietmar Maurer [Tue, 21 Nov 2017 08:15:47 +0000 (09:15 +0100)]
bump version to 5.0-13
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
Dietmar Maurer [Fri, 17 Nov 2017 10:30:40 +0000 (11:30 +0100)]
bump version to 5.0-12
Dietmar Maurer [Fri, 17 Nov 2017 10:29:12 +0000 (11:29 +0100)]
debian/postinst - fix postgres service name (postgresql.service)
Dietmar Maurer [Fri, 17 Nov 2017 10:27:38 +0000 (11:27 +0100)]
debian/postinst - simplify code
Dietmar Maurer [Fri, 17 Nov 2017 10:20:58 +0000 (11:20 +0100)]
bump version to 5.0-11
Dietmar Maurer [Fri, 17 Nov 2017 10:19:32 +0000 (11:19 +0100)]
do not use #DEBHELPER# macro inside comment
Dietmar Maurer [Fri, 17 Nov 2017 08:31:47 +0000 (09:31 +0100)]
bump version to 5.0-10
Dietmar Maurer [Fri, 17 Nov 2017 08:30:30 +0000 (09:30 +0100)]
debian/postinst - do not skip service setup in /proxmox_install_mode
Dietmar Maurer [Thu, 16 Nov 2017 11:01:34 +0000 (12:01 +0100)]
avoid warning when transport file does not exist
Dietmar Maurer [Tue, 14 Nov 2017 12:08:54 +0000 (13:08 +0100)]
bump version to 5.0-9
Dietmar Maurer [Tue, 14 Nov 2017 12:04:13 +0000 (13:04 +0100)]
debian/pmgbanner.service - setup login banner
Dietmar Maurer [Tue, 14 Nov 2017 11:46:12 +0000 (12:46 +0100)]
templates/fetchmailrc.tt - fix syntax
Dietmar Maurer [Tue, 14 Nov 2017 11:27:28 +0000 (12:27 +0100)]
PMG/API2/APT.pm - fix package names
Dietmar Maurer [Tue, 14 Nov 2017 11:18:47 +0000 (12:18 +0100)]
PMG/Service/pmgproxy.pm - fix package names
Dietmar Maurer [Tue, 14 Nov 2017 10:51:44 +0000 (11:51 +0100)]
rename package to pmg-api, bump version to 5.0-8
Dietmar Maurer [Tue, 14 Nov 2017 07:30:46 +0000 (08:30 +0100)]
bump version to 5.0-7
Dietmar Maurer [Tue, 14 Nov 2017 06:13:09 +0000 (07:13 +0100)]
PMG/API2/SMTPWhitelist.pm - update postfix files after modifications
Dietmar Maurer [Tue, 14 Nov 2017 05:40:43 +0000 (06:40 +0100)]
PMG/API2/SMTPWhitelist.pm - call reload_ruledb when removing an object
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.
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.
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.
Dietmar Maurer [Mon, 13 Nov 2017 09:52:17 +0000 (10:52 +0100)]
PMG/Backup.pm - fix ruledb restore
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.
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
Dietmar Maurer [Mon, 13 Nov 2017 06:10:49 +0000 (07:10 +0100)]
PMG/ClusterConfig.pm - minor code cleanup
Dietmar Maurer [Fri, 10 Nov 2017 07:45:54 +0000 (08:45 +0100)]
PMG/Backup.pm - restore /etc/mail/spamassassin/custom.cf
Dietmar Maurer [Fri, 10 Nov 2017 07:37:10 +0000 (08:37 +0100)]
PMG/Backup.pm - do not store system users secrets in backup
Dietmar Maurer [Fri, 10 Nov 2017 07:22:55 +0000 (08:22 +0100)]
PMG/API2/Backup.pm - allow more flexible file names
Dietmar Maurer [Fri, 10 Nov 2017 06:42:20 +0000 (07:42 +0100)]
PMG/API2/Backup.pm - include statistic database by default
Dietmar Maurer [Fri, 10 Nov 2017 06:37:21 +0000 (07:37 +0100)]
PMG/API2/Backup.pm - code cleanup
Dietmar Maurer [Fri, 10 Nov 2017 05:34:48 +0000 (06:34 +0100)]
PMG/API2/Backup.pm - add timestamp to backup file
Dietmar Maurer [Thu, 9 Nov 2017 09:35:33 +0000 (10:35 +0100)]
PMG/API2/Backup.pm - implement restore
Dietmar Maurer [Thu, 9 Nov 2017 09:34:14 +0000 (10:34 +0100)]
PMG/API2/Cluster.pm - fix rewrite config, move db_service_list to PMG::Utils
Dietmar Maurer [Thu, 9 Nov 2017 07:09:20 +0000 (08:09 +0100)]
change backup dir to /var/lib/pmg/backup
Dietmar Maurer [Thu, 9 Nov 2017 06:23:39 +0000 (07:23 +0100)]
PMG/API2/Backup.pm - allow to download backup files
Dietmar Maurer [Tue, 7 Nov 2017 06:31:08 +0000 (07:31 +0100)]
PMG/API2/Backup.pm - implement delete
Dietmar Maurer [Tue, 7 Nov 2017 05:13:02 +0000 (06:13 +0100)]
insert /nodes/<name>/backup API entry point
Dietmar Maurer [Mon, 6 Nov 2017 11:47:13 +0000 (12:47 +0100)]
PMG/API2/Backup.pm - implement list backups
Dietmar Maurer [Mon, 6 Nov 2017 07:58:13 +0000 (08:58 +0100)]
PMG/Backup.pm - implement backup
Dietmar Maurer [Thu, 2 Nov 2017 10:05:22 +0000 (11:05 +0100)]
PMG/API2/Backup.pm - implement dummy backup API
and the associated CLI tools 'pmgbackup';
Dietmar Maurer [Fri, 27 Oct 2017 12:42:04 +0000 (14:42 +0200)]
permission fix fro ClamAV and SpamAssassin API
Dominik Csapak [Fri, 27 Oct 2017 11:15:34 +0000 (13:15 +0200)]
correct child link for the clamav api
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Fri, 27 Oct 2017 11:15:33 +0000 (13:15 +0200)]
add spamassassin update api calls
/nodes/NODE/spamassassin/rules
GET
gets a list of channels (currently only updates.spamassassin.org)
with its update status/version
POST
updates the rules via 'sa-update'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 25 Oct 2017 12:27:51 +0000 (14:27 +0200)]
update spamassassin rules daily
after the update, restart the pmg-smtp-filter
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Wed, 25 Oct 2017 12:38:57 +0000 (14:38 +0200)]
also load SpamAssassin descriptions from local dir
SpamAssassin updates into
/var/lib/spamassassin/VERSION/CHANNEL/
by default, so we should get the descriptions also from there
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Tue, 24 Oct 2017 08:57:43 +0000 (10:57 +0200)]
correctly update /etc/default/fetchmail and /etc/fetchmailrc symlink
Dietmar Maurer [Tue, 24 Oct 2017 07:27:10 +0000 (09:27 +0200)]
PMG/Cluster.pm - correctly update fetchmailrc
Dietmar Maurer [Tue, 24 Oct 2017 06:34:56 +0000 (08:34 +0200)]
depend on vncterm
Dietmar Maurer [Tue, 24 Oct 2017 06:32:01 +0000 (08:32 +0200)]
bump version to 5.0-6
Dominik Csapak [Mon, 23 Oct 2017 10:20:29 +0000 (12:20 +0200)]
add date to the mail link for the verbose report
we will use this for showing the quarantineview for the correct time
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Mon, 23 Oct 2017 08:31:26 +0000 (10:31 +0200)]
PMG/API2/Fetchmail.pm - implement create
Dietmar Maurer [Mon, 23 Oct 2017 07:18:58 +0000 (09:18 +0200)]
PMG/API2/Fetchmail.pm - implement delete
Dominik Csapak [Thu, 19 Oct 2017 12:36:20 +0000 (14:36 +0200)]
add new LDAP group member api call
in order to avoid duplication of a lot of code,
rework the list_users and list_group subs
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 19 Oct 2017 12:36:19 +0000 (14:36 +0200)]
make ldap paging working again
the cookie can be defined but 0, so we need to check it like this
(the code is taken from the documentation of Net::LDAP::Control::Paged)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 19 Oct 2017 12:36:18 +0000 (14:36 +0200)]
add groupclass as parameter in LDAPConfig
since different LDAP servers have different objectclasses for groups,
we have to make them configureable
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 19 Oct 2017 12:36:17 +0000 (14:36 +0200)]
make accountattr a list, and get the defaults from the config
since different ldap servers use different objectclasses for users,
we have at least to use sAMAccountName and uid
also get the defaults from the LDAPConfig class instead of
hardcoding them a second time
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 19 Oct 2017 12:36:16 +0000 (14:36 +0200)]
add link relation to ldap users api call
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Thu, 19 Oct 2017 10:30:25 +0000 (12:30 +0200)]
PMG/Fetchmail.pm - correctly set/parse enable
Dietmar Maurer [Thu, 19 Oct 2017 10:29:13 +0000 (12:29 +0200)]
PMG/API2/Fetchmail.pm - update all values on write
Dietmar Maurer [Thu, 19 Oct 2017 09:08:20 +0000 (11:08 +0200)]
PMG/API2/Fetchmail.pm - implement read/write API
Dietmar Maurer [Thu, 19 Oct 2017 09:07:21 +0000 (11:07 +0200)]
white space cleanup
Dietmar Maurer [Wed, 18 Oct 2017 11:24:59 +0000 (13:24 +0200)]
PMG/Fetchmail.pm - fix quoting (allow ":")
Dietmar Maurer [Wed, 18 Oct 2017 11:17:17 +0000 (13:17 +0200)]
fetchmailrc.tt - use double quotes
Dietmar Maurer [Wed, 18 Oct 2017 11:01:10 +0000 (13:01 +0200)]
PMG/Fetchmail.pm - try to quote/unquote data correctly
As described in the fetchmailrc manual page.
Dietmar Maurer [Wed, 18 Oct 2017 09:31:57 +0000 (11:31 +0200)]
PMG/API2/Domains.pm - remove dead code
Dietmar Maurer [Wed, 18 Oct 2017 07:21:40 +0000 (09:21 +0200)]
PMG/Fetchmail.pm - use enable instead of disabled
Dietmar Maurer [Wed, 18 Oct 2017 06:21:10 +0000 (08:21 +0200)]
PMG/Fetchmail.pm - implement disabled property
Dietmar Maurer [Wed, 18 Oct 2017 05:51:39 +0000 (07:51 +0200)]
start implementation of fetchmail api
Dietmar Maurer [Wed, 18 Oct 2017 05:43:44 +0000 (07:43 +0200)]
remove unused HTTP::Status use
Dietmar Maurer [Tue, 17 Oct 2017 12:02:58 +0000 (14:02 +0200)]
PMG/Config.pm - use PMG::Cluster, remove dead code
Dietmar Maurer [Tue, 17 Oct 2017 12:00:15 +0000 (14:00 +0200)]
PMG/Fetchmail.pm - new class to read/write fetchmail configuration
Dominik Csapak [Mon, 16 Oct 2017 12:03:44 +0000 (14:03 +0200)]
implement remove attachments api
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 16 Oct 2017 12:03:43 +0000 (14:03 +0200)]
implement disclaimer api
and wrap 'value' with 'disclaimer'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 16 Oct 2017 12:03:42 +0000 (14:03 +0200)]
implement notification api
wrap the 'attach' parameter from 'O' to 1/0
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Mon, 16 Oct 2017 12:03:41 +0000 (14:03 +0200)]
implement mod field api
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Mon, 16 Oct 2017 10:11:11 +0000 (12:11 +0200)]
PMG/Fetchmail.pm - new dummy class
Dietmar Maurer [Mon, 16 Oct 2017 10:02:51 +0000 (12:02 +0200)]
PMG/API2/Services.pm - add fetchmail service
Dietmar Maurer [Fri, 13 Oct 2017 05:03:48 +0000 (07:03 +0200)]
PMG/API2/AccessControl.pm - auto-replace root@pmg with root@pam
Dominik Csapak [Thu, 12 Oct 2017 09:39:59 +0000 (11:39 +0200)]
implement virusfilter api
virusfilter has no options/parameters
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dominik Csapak [Thu, 12 Oct 2017 08:08:15 +0000 (10:08 +0200)]
limit the 'recent_mailcount' to the correct time
when the api call began an the end of a second, and the
database query at the beginning of the next second, while
a new mail was coming in, we would get one row to many, triggering
a result verification exception
with limiting the query to the given endtime also, we
loose at most a fraction of the second and the rowcount is
correct
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Dietmar Maurer [Wed, 11 Oct 2017 08:59:44 +0000 (10:59 +0200)]
PMG/Ticket.pm: use "$pmail@quarantine" for quarantine users
Dietmar Maurer [Wed, 11 Oct 2017 07:56:22 +0000 (09:56 +0200)]
implement new '@quarantine' realm