]>
git.proxmox.com Git - pmg-api.git/log
Dietmar Maurer [Thu, 16 Feb 2017 11:08:00 +0000 (12:08 +0100)]
pmgconfig: new CLI helper
Dietmar Maurer [Thu, 16 Feb 2017 09:25:20 +0000 (10:25 +0100)]
PMG/Config.pm: new helper set()
Dietmar Maurer [Thu, 16 Feb 2017 08:14:53 +0000 (09:14 +0100)]
pmg-smtp-filter: avoid long sleep in testmode
use a retry loop instead.
Dietmar Maurer [Thu, 16 Feb 2017 07:58:30 +0000 (08:58 +0100)]
BCC.pm: correctly use PMG::Utils
Dietmar Maurer [Thu, 16 Feb 2017 07:46:09 +0000 (08:46 +0100)]
pmg-smtp-filter: do not replace vars in RULE_INFO
This never worked, because subst_vars is not recursive, so the result
depends on the hash sort order!
Dietmar Maurer [Thu, 16 Feb 2017 07:41:19 +0000 (08:41 +0100)]
subst_values: cleanup regex
Dietmar Maurer [Thu, 16 Feb 2017 07:08:41 +0000 (08:08 +0100)]
analyze_virus_clam: code cleanup
Dietmar Maurer [Thu, 16 Feb 2017 06:58:25 +0000 (07:58 +0100)]
use template code to PMG::Config
Dietmar Maurer [Wed, 15 Feb 2017 19:12:42 +0000 (20:12 +0100)]
clamd.conf.in: remove unknown option AllowSupplementaryGroups
Dietmar Maurer [Wed, 15 Feb 2017 18:49:52 +0000 (19:49 +0100)]
PMG::Config::get_config: iterate over all sections
Dietmar Maurer [Wed, 15 Feb 2017 18:31:04 +0000 (19:31 +0100)]
PMG/Config.pm: add more config properties, new helper rewrite_config_clam()
Dietmar Maurer [Wed, 15 Feb 2017 18:29:46 +0000 (19:29 +0100)]
install clamav config templates
Dietmar Maurer [Wed, 15 Feb 2017 18:28:28 +0000 (19:28 +0100)]
templates/freshclam.conf.in: add template for freshclam config
Dietmar Maurer [Wed, 15 Feb 2017 18:04:02 +0000 (19:04 +0100)]
templates/clamd.conf.in: new template for clamd
Dietmar Maurer [Wed, 15 Feb 2017 16:30:08 +0000 (17:30 +0100)]
PMG/Config.pm: new helper rewrite_config_spam()
Dietmar Maurer [Wed, 15 Feb 2017 16:29:06 +0000 (17:29 +0100)]
PMG::Utils::rewrite_config_file: pass pmg_cfg as first argument
Dietmar Maurer [Wed, 15 Feb 2017 16:27:55 +0000 (17:27 +0100)]
Makefile: install templates
Dietmar Maurer [Wed, 15 Feb 2017 16:11:56 +0000 (17:11 +0100)]
templates/razor-agent.conf.in: template for razor2 config
Dietmar Maurer [Wed, 15 Feb 2017 15:57:42 +0000 (16:57 +0100)]
PMG/Config.pm: add use_awl and use_razor options
Dietmar Maurer [Wed, 15 Feb 2017 15:53:53 +0000 (16:53 +0100)]
templates/v320.pre.in: add another SA config template
Dietmar Maurer [Wed, 15 Feb 2017 15:51:36 +0000 (16:51 +0100)]
templates/v310.pre.in: add anothe SA config template
Dietmar Maurer [Wed, 15 Feb 2017 15:45:25 +0000 (16:45 +0100)]
PMG/Config.pm: add use_ocr options
Dietmar Maurer [Wed, 15 Feb 2017 15:41:45 +0000 (16:41 +0100)]
templates/init.pre.in: add another SA config template
Dietmar Maurer [Wed, 15 Feb 2017 12:07:40 +0000 (13:07 +0100)]
add template for SA config local.cf
Dietmar Maurer [Wed, 15 Feb 2017 11:54:27 +0000 (12:54 +0100)]
PMG/Utils.pm: new helper rewrite_config_file()
Dietmar Maurer [Wed, 15 Feb 2017 11:52:37 +0000 (12:52 +0100)]
PMG/Config.pm: new helper get_config()
Dietmar Maurer [Wed, 15 Feb 2017 11:47:18 +0000 (12:47 +0100)]
add more configuration properties, new helper get_section()
Dietmar Maurer [Wed, 15 Feb 2017 09:35:46 +0000 (10:35 +0100)]
fix expected test output
Dietmar Maurer [Wed, 15 Feb 2017 09:34:12 +0000 (10:34 +0100)]
add application/x-ms-dos-executable for dangerous content filter
Dietmar Maurer [Wed, 15 Feb 2017 09:32:52 +0000 (10:32 +0100)]
add NEWS file
Dietmar Maurer [Wed, 15 Feb 2017 09:18:56 +0000 (10:18 +0100)]
Accept.pm: fix short_descr
Dietmar Maurer [Wed, 15 Feb 2017 09:10:18 +0000 (10:10 +0100)]
better test output: call diff with option -u
Dietmar Maurer [Wed, 15 Feb 2017 09:09:24 +0000 (10:09 +0100)]
MatchField.pm: call correct constructor
Dietmar Maurer [Wed, 15 Feb 2017 07:34:55 +0000 (08:34 +0100)]
pmg-smtp-filter: create spool directories at startup
Dietmar Maurer [Wed, 15 Feb 2017 07:33:25 +0000 (08:33 +0100)]
do not use taint mode (revert previous commit)
Too many side effects ...
Dietmar Maurer [Wed, 15 Feb 2017 07:31:47 +0000 (08:31 +0100)]
PMG/Utils: use trim from PVE::Tools
Dietmar Maurer [Wed, 15 Feb 2017 07:29:54 +0000 (08:29 +0100)]
correctly quote regex in dangerous files rules
Dietmar Maurer [Wed, 15 Feb 2017 07:18:05 +0000 (08:18 +0100)]
PMG/Utils.pm: use File::Basename
Dietmar Maurer [Wed, 15 Feb 2017 07:15:22 +0000 (08:15 +0100)]
MailQueue: use new helper from PMG::Utils
Dietmar Maurer [Wed, 15 Feb 2017 07:14:21 +0000 (08:14 +0100)]
new helper add_ct_marks
Dietmar Maurer [Wed, 15 Feb 2017 07:09:57 +0000 (08:09 +0100)]
use $spooldir from MailQueue class
Dietmar Maurer [Wed, 15 Feb 2017 07:09:00 +0000 (08:09 +0100)]
new helper create_sppoldirs, export $spooldir
Dietmar Maurer [Wed, 15 Feb 2017 06:49:56 +0000 (07:49 +0100)]
PMG/SMTP.pm: correctly log error messages
Dietmar Maurer [Wed, 15 Feb 2017 06:15:09 +0000 (07:15 +0100)]
cleanup amd use PMG/RuleDB/ArchiveFilter.pm
Dietmar Maurer [Wed, 15 Feb 2017 06:05:19 +0000 (07:05 +0100)]
import PMG/RuleDB/ArchiveFilter.pm
Dietmar Maurer [Wed, 15 Feb 2017 05:47:37 +0000 (06:47 +0100)]
pmg-smtp-filter: use perl taint mode
Dietmar Maurer [Wed, 15 Feb 2017 05:44:46 +0000 (06:44 +0100)]
initialize database in postinst script
Dietmar Maurer [Wed, 15 Feb 2017 05:37:04 +0000 (06:37 +0100)]
pmgdb: implement statistic database update
Dietmar Maurer [Tue, 14 Feb 2017 16:15:32 +0000 (17:15 +0100)]
LDAPCache.pm: fix argument passing
Dietmar Maurer [Tue, 14 Feb 2017 16:06:36 +0000 (17:06 +0100)]
use pmg-smtp-filter instead of 'proxprox'
Dietmar Maurer [Tue, 14 Feb 2017 15:58:51 +0000 (16:58 +0100)]
cleanup and install PMG/Statistic.pm
Dietmar Maurer [Tue, 14 Feb 2017 15:53:38 +0000 (16:53 +0100)]
import Proxmox::Statistic class
Dietmar Maurer [Tue, 14 Feb 2017 15:52:46 +0000 (16:52 +0100)]
cleanup
remove old code for commtouch and avira
Dietmar Maurer [Tue, 14 Feb 2017 15:44:23 +0000 (16:44 +0100)]
cleanup and install SMTP server class
Dietmar Maurer [Tue, 14 Feb 2017 15:33:12 +0000 (16:33 +0100)]
import Proxmox::SMTP class
Dietmar Maurer [Tue, 14 Feb 2017 15:28:04 +0000 (16:28 +0100)]
Unpack: use newer mime types
Dietmar Maurer [Tue, 14 Feb 2017 11:03:54 +0000 (12:03 +0100)]
fix typo
Dietmar Maurer [Tue, 14 Feb 2017 11:02:02 +0000 (12:02 +0100)]
cleanup and install PMG/Unpack.pm
Dietmar Maurer [Tue, 14 Feb 2017 10:56:24 +0000 (11:56 +0100)]
depend on tnef
Dietmar Maurer [Tue, 14 Feb 2017 10:55:17 +0000 (11:55 +0100)]
depend on p7zip-full
Dietmar Maurer [Tue, 14 Feb 2017 10:47:49 +0000 (11:47 +0100)]
new helper magic_mime_type_for_file()
Dietmar Maurer [Tue, 14 Feb 2017 10:42:49 +0000 (11:42 +0100)]
depend on libarchive-perl
Dietmar Maurer [Tue, 14 Feb 2017 10:31:14 +0000 (11:31 +0100)]
depend on libarchive-zip-perl
Dietmar Maurer [Tue, 14 Feb 2017 10:27:20 +0000 (11:27 +0100)]
depend on libcompress-bzip2-perl
Dietmar Maurer [Tue, 14 Feb 2017 10:23:08 +0000 (11:23 +0100)]
import roxmox::Unpack class
Dietmar Maurer [Tue, 14 Feb 2017 10:04:46 +0000 (11:04 +0100)]
pmg-smtp-filter: add missing 'use Net::SMTP'
Dietmar Maurer [Tue, 14 Feb 2017 10:00:05 +0000 (11:00 +0100)]
depend on libfile-sync-perl
Dietmar Maurer [Tue, 14 Feb 2017 09:59:39 +0000 (10:59 +0100)]
LDAPSet.pm: fix typo
Dietmar Maurer [Tue, 14 Feb 2017 09:56:52 +0000 (10:56 +0100)]
install PMG::MailQueue class
Dietmar Maurer [Tue, 14 Feb 2017 09:54:34 +0000 (10:54 +0100)]
cleanup PMG::MailQueue class
Dietmar Maurer [Tue, 14 Feb 2017 09:46:16 +0000 (10:46 +0100)]
import MailQueue.pm
Dietmar Maurer [Tue, 14 Feb 2017 09:45:17 +0000 (10:45 +0100)]
install missing files
Dietmar Maurer [Tue, 14 Feb 2017 09:40:23 +0000 (10:40 +0100)]
improve PMG::Config class, add more configuration properties
Dietmar Maurer [Tue, 14 Feb 2017 09:36:35 +0000 (10:36 +0100)]
new helper analyze_virus()
Dietmar Maurer [Tue, 14 Feb 2017 09:06:08 +0000 (10:06 +0100)]
depend on clamav-daemon
Dietmar Maurer [Tue, 14 Feb 2017 06:53:44 +0000 (07:53 +0100)]
add cluster.conf parser/writer
Dietmar Maurer [Tue, 14 Feb 2017 05:40:16 +0000 (06:40 +0100)]
depend on libnet-server-perl
Dietmar Maurer [Tue, 14 Feb 2017 05:32:47 +0000 (06:32 +0100)]
renamed: bin/proxprox.pl -> bin/pmg-smtp-filter
use a better name
Dietmar Maurer [Tue, 14 Feb 2017 05:31:15 +0000 (06:31 +0100)]
import proxprox.pl from old repository
Dietmar Maurer [Tue, 14 Feb 2017 05:24:40 +0000 (06:24 +0100)]
add new config class PMG::Config::Mail
Dietmar Maurer [Mon, 13 Feb 2017 13:51:30 +0000 (14:51 +0100)]
add dummy class for new configuration file pmg.conf
We want to use PVE::SectionConfig instead of the old hack.
Dietmar Maurer [Mon, 13 Feb 2017 12:55:36 +0000 (13:55 +0100)]
debian/postinst: add triggered action
Dietmar Maurer [Fri, 3 Feb 2017 11:20:23 +0000 (12:20 +0100)]
improve ruledb API
Dietmar Maurer [Fri, 3 Feb 2017 10:43:25 +0000 (11:43 +0100)]
add ruledb API
Dietmar Maurer [Fri, 3 Feb 2017 09:58:40 +0000 (10:58 +0100)]
pmgdb: use missing classes
Dietmar Maurer [Fri, 3 Feb 2017 09:58:22 +0000 (10:58 +0100)]
improve Makefile
Dietmar Maurer [Fri, 3 Feb 2017 09:23:34 +0000 (10:23 +0100)]
add expected output for regression test
Dietmar Maurer [Fri, 3 Feb 2017 09:18:53 +0000 (10:18 +0100)]
more tests
Dietmar Maurer [Fri, 3 Feb 2017 09:08:13 +0000 (10:08 +0100)]
add some regression tests
Dietmar Maurer [Fri, 3 Feb 2017 08:48:16 +0000 (09:48 +0100)]
add LDAPSet.pm class
not working because of missing system configuration classes
Dietmar Maurer [Fri, 3 Feb 2017 08:40:45 +0000 (09:40 +0100)]
add LDAPCache.pm
Dietmar Maurer [Fri, 3 Feb 2017 08:12:46 +0000 (09:12 +0100)]
add PMG::AtomicFile class
Dietmar Maurer [Fri, 3 Feb 2017 07:17:11 +0000 (08:17 +0100)]
pmgdb: rename update to init
Dietmar Maurer [Fri, 3 Feb 2017 07:09:37 +0000 (08:09 +0100)]
add missing RuleDB.pm
Dietmar Maurer [Fri, 3 Feb 2017 07:08:03 +0000 (08:08 +0100)]
add RuleCache.pm
Dietmar Maurer [Fri, 3 Feb 2017 06:40:32 +0000 (07:40 +0100)]
add missing database upgrade function
Dietmar Maurer [Fri, 3 Feb 2017 06:27:43 +0000 (07:27 +0100)]
add more ruledb classes
Dietmar Maurer [Fri, 3 Feb 2017 05:41:42 +0000 (06:41 +0100)]
fix some systax/compilation errors
Dietmar Maurer [Fri, 3 Feb 2017 05:27:37 +0000 (06:27 +0100)]
add PMG/ModGroup.pm
Dietmar Maurer [Thu, 2 Feb 2017 16:43:12 +0000 (17:43 +0100)]
add more ruledb objects