]> git.proxmox.com Git - pmg-api.git/blobdiff - src/PMG/API2/Config.pm
add SACustom Package and API Calls for custom SpamAssassin scores
[pmg-api.git] / src / PMG / API2 / Config.pm
index 43653e458d90124a45884048ef9203147740a112..1b3743edc012552c99b1983bba3b8b162b9908fe 100644 (file)
@@ -24,6 +24,7 @@ use PMG::API2::MimeTypes;
 use PMG::API2::Fetchmail;
 use PMG::API2::DestinationTLSPolicy;
 use PMG::API2::DKIMSign;
+use PMG::API2::SACustom;
 
 use base qw(PVE::RESTHandler);
 
@@ -87,6 +88,11 @@ __PACKAGE__->register_method({
     path => 'dkim',
 });
 
+__PACKAGE__->register_method({
+    subclass => "PMG::API2::SACustom",
+    path => 'customscores',
+});
+
 __PACKAGE__->register_method ({
     name => 'index', 
     path => '',