]> git.proxmox.com Git - pmg-docs.git/commitdiff
update static schema/synopsis definitions
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Nov 2019 10:32:49 +0000 (11:32 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 20 Nov 2019 10:33:25 +0000 (11:33 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
api-viewer/apidata.js
pmg.admin-conf-opts.adoc
pmg.conf.5-opts.adoc
pmg.mail-options-conf-opts.adoc
pmgconfig.1-synopsis.adoc

index 67dea7573487a06b68f1af2a312fba54c9560e05..665681c48e86a962e5ba1ec96f828e98739741dc 100644 (file)
@@ -1564,6 +1564,13 @@ var pmgapi = [
                                              "type" : "string",
                                              "typetext" : "<string>"
                                           },
+                                          "quarantine" : {
+                                             "default" : 0,
+                                             "description" : "Copy original mail to attachment Quarantine.",
+                                             "optional" : 1,
+                                             "type" : "boolean",
+                                             "typetext" : "<boolean>"
+                                          },
                                           "text" : {
                                              "description" : "The replacement text.",
                                              "maxLength" : 2048,
@@ -1616,6 +1623,13 @@ var pmgapi = [
                                        "type" : "string",
                                        "typetext" : "<string>"
                                     },
+                                    "quarantine" : {
+                                       "default" : 0,
+                                       "description" : "Copy original mail to attachment Quarantine.",
+                                       "optional" : 1,
+                                       "type" : "boolean",
+                                       "typetext" : "<boolean>"
+                                    },
                                     "text" : {
                                        "description" : "The replacement text.",
                                        "maxLength" : 2048,
@@ -7542,42 +7556,582 @@ var pmgapi = [
             "text" : "tlspolicy"
          },
          {
+            "children" : [
+               {
+                  "children" : [
+                     {
+                        "info" : {
+                           "DELETE" : {
+                              "description" : "Delete a DKIM-sign domain",
+                              "method" : "DELETE",
+                              "name" : "delete",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "domain" : {
+                                       "description" : "Domain name.",
+                                       "format" : "transport-domain",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "admin"
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "master",
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           },
+                           "GET" : {
+                              "description" : "Read Domain data (comment).",
+                              "method" : "GET",
+                              "name" : "read",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "domain" : {
+                                       "description" : "Domain name.",
+                                       "format" : "transport-domain",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "admin",
+                                    "audit"
+                                 ]
+                              },
+                              "proxyto" : "master",
+                              "returns" : {
+                                 "properties" : {
+                                    "comment" : {
+                                       "type" : "string"
+                                    },
+                                    "domain" : {
+                                       "type" : "string"
+                                    }
+                                 },
+                                 "type" : "object"
+                              }
+                           },
+                           "PUT" : {
+                              "description" : "Update DKIM-sign domain data (comment).",
+                              "method" : "PUT",
+                              "name" : "write",
+                              "parameters" : {
+                                 "additionalProperties" : 0,
+                                 "properties" : {
+                                    "comment" : {
+                                       "description" : "Comment.",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    },
+                                    "domain" : {
+                                       "description" : "Domain name.",
+                                       "format" : "transport-domain",
+                                       "type" : "string",
+                                       "typetext" : "<string>"
+                                    }
+                                 }
+                              },
+                              "permissions" : {
+                                 "check" : [
+                                    "admin"
+                                 ]
+                              },
+                              "protected" : 1,
+                              "proxyto" : "master",
+                              "returns" : {
+                                 "type" : "null"
+                              }
+                           }
+                        },
+                        "leaf" : 1,
+                        "path" : "/config/dkim/domains/{domain}",
+                        "text" : "{domain}"
+                     }
+                  ],
+                  "info" : {
+                     "GET" : {
+                        "description" : "List DKIM-sign domains.",
+                        "method" : "GET",
+                        "name" : "index",
+                        "parameters" : {
+                           "additionalProperties" : 0
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin",
+                              "audit"
+                           ]
+                        },
+                        "proxyto" : "master",
+                        "returns" : {
+                           "items" : {
+                              "properties" : {
+                                 "comment" : {
+                                    "type" : "string"
+                                 },
+                                 "domain" : {
+                                    "type" : "string"
+                                 }
+                              },
+                              "type" : "object"
+                           },
+                           "links" : [
+                              {
+                                 "href" : "{domain}",
+                                 "rel" : "child"
+                              }
+                           ],
+                           "type" : "array"
+                        }
+                     },
+                     "POST" : {
+                        "description" : "Add DKIM-sign domain.",
+                        "method" : "POST",
+                        "name" : "create",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "comment" : {
+                                 "description" : "Comment.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "domain" : {
+                                 "description" : "Domain name.",
+                                 "format" : "transport-domain",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin"
+                           ]
+                        },
+                        "protected" : 1,
+                        "proxyto" : "master",
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 0,
+                  "path" : "/config/dkim/domains",
+                  "text" : "domains"
+               },
+               {
+                  "info" : {
+                     "GET" : {
+                        "description" : "Get the public key for the configured selector, prepared as DKIM TXT record",
+                        "method" : "GET",
+                        "name" : "get_selector_info",
+                        "parameters" : {
+                           "additionalProperties" : 0
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin"
+                           ]
+                        },
+                        "protected" : 1,
+                        "proxyto" : "master",
+                        "returns" : {
+                           "properties" : {
+                              "keysize" : {
+                                 "minimum" : 1024,
+                                 "optional" : 1,
+                                 "type" : "integer"
+                              },
+                              "record" : {
+                                 "format" : "pmg-dkim-record",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "selector" : {
+                                 "format" : "dns-name",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              }
+                           },
+                           "type" : "object"
+                        }
+                     },
+                     "POST" : {
+                        "description" : "Generate a new private key for selector. All future mail will be signed with the new key!",
+                        "method" : "POST",
+                        "name" : "set_selector",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "keysize" : {
+                                 "description" : "Number of bits for the RSA-Key",
+                                 "minimum" : 1024,
+                                 "type" : "integer",
+                                 "typetext" : "<integer> (1024 - N)"
+                              },
+                              "selector" : {
+                                 "description" : "DKIM Selector",
+                                 "format" : "dns-name",
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              }
+                           }
+                        },
+                        "permissions" : {
+                           "check" : [
+                              "admin"
+                           ]
+                        },
+                        "protected" : 1,
+                        "proxyto" : "master",
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/config/dkim/selector",
+                  "text" : "selector"
+               }
+            ],
             "info" : {
                "GET" : {
-                  "description" : "Read admin configuration properties.",
+                  "description" : "Directory index.",
                   "method" : "GET",
-                  "name" : "read_admin_section",
+                  "name" : "index",
                   "parameters" : {
                      "additionalProperties" : 0
                   },
-                  "permissions" : {
-                     "check" : [
-                        "admin",
-                        "audit"
-                     ]
-                  },
-                  "proxyto" : "master",
                   "returns" : {
-                     "type" : "object"
-                  }
-               },
-               "PUT" : {
-                  "description" : "Update admin configuration properties.",
-                  "method" : "PUT",
-                  "name" : "update_admin_section",
-                  "parameters" : {
-                     "additionalProperties" : 0,
-                     "properties" : {
-                        "advfilter" : {
-                           "default" : 1,
-                           "description" : "Use advanced filters for statistic.",
-                           "optional" : 1,
-                           "type" : "boolean",
-                           "typetext" : "<boolean>"
+                     "items" : {
+                        "properties" : {
+                           "section" : {
+                              "type" : "string"
+                           }
                         },
-                        "avast" : {
-                           "default" : 0,
-                           "description" : "Use Avast Virus Scanner (/usr/bin/scan). You need to buy and install 'Avast Core Security' before you can enable this feature.",
+                        "type" : "object"
+                     },
+                     "links" : [
+                        {
+                           "href" : "{section}",
+                           "rel" : "child"
+                        }
+                     ],
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/config/dkim",
+            "text" : "dkim"
+         },
+         {
+            "children" : [
+               {
+                  "info" : {
+                     "DELETE" : {
+                        "description" : "Edit custom SpamAssassin score",
+                        "method" : "DELETE",
+                        "name" : "delete_score",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "digest" : {
+                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 40,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "name" : {
+                                 "description" : "The name of the rule.",
+                                 "pattern" : "[a-zA-Z\\_\\-\\.0-9]+",
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "protected" : 1,
+                        "proxyto" : "master",
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     },
+                     "GET" : {
+                        "description" : "Get custom SpamAssassin score",
+                        "method" : "GET",
+                        "name" : "get_score",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "name" : {
+                                 "description" : "The name of the rule.",
+                                 "pattern" : "[a-zA-Z\\_\\-\\.0-9]+",
+                                 "type" : "string"
+                              }
+                           }
+                        },
+                        "protected" : 1,
+                        "proxyto" : "master",
+                        "returns" : {
+                           "properties" : {
+                              "comment" : {
+                                 "description" : "The Comment.",
+                                 "optional" : 1,
+                                 "type" : "string"
+                              },
+                              "name" : {
+                                 "description" : "The name of the rule.",
+                                 "pattern" : "[a-zA-Z\\_\\-\\.0-9]+",
+                                 "type" : "string"
+                              },
+                              "score" : {
+                                 "description" : "The score the rule should be valued at.",
+                                 "type" : "number"
+                              }
+                           },
+                           "type" : "object"
+                        }
+                     },
+                     "PUT" : {
+                        "description" : "Edit custom SpamAssassin score",
+                        "method" : "PUT",
+                        "name" : "edit_score",
+                        "parameters" : {
+                           "additionalProperties" : 0,
+                           "properties" : {
+                              "comment" : {
+                                 "description" : "The Comment.",
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "digest" : {
+                                 "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                                 "maxLength" : 40,
+                                 "optional" : 1,
+                                 "type" : "string",
+                                 "typetext" : "<string>"
+                              },
+                              "name" : {
+                                 "description" : "The name of the rule.",
+                                 "pattern" : "[a-zA-Z\\_\\-\\.0-9]+",
+                                 "type" : "string"
+                              },
+                              "score" : {
+                                 "description" : "The score the rule should be valued at.",
+                                 "type" : "number",
+                                 "typetext" : "<number>"
+                              }
+                           }
+                        },
+                        "protected" : 1,
+                        "proxyto" : "master",
+                        "returns" : {
+                           "type" : "null"
+                        }
+                     }
+                  },
+                  "leaf" : 1,
+                  "path" : "/config/customscores/{name}",
+                  "text" : "{name}"
+               }
+            ],
+            "info" : {
+               "DELETE" : {
+                  "description" : "Revert custom score changes.",
+                  "method" : "DELETE",
+                  "name" : "revert_score_changes",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin"
+                     ]
+                  },
+                  "protected" : 1,
+                  "proxyto" : "master",
+                  "returns" : {
+                     "type" : "null"
+                  }
+               },
+               "GET" : {
+                  "description" : "List custom scores.",
+                  "method" : "GET",
+                  "name" : "list_scores",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin",
+                        "audit"
+                     ]
+                  },
+                  "proxyto" : "master",
+                  "returns" : {
+                     "items" : {
+                        "properties" : {
+                           "comment" : {
+                              "description" : "The Comment.",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "digest" : {
+                              "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                              "maxLength" : 40,
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "name" : {
+                              "description" : "The name of the rule.",
+                              "optional" : 1,
+                              "pattern" : "[a-zA-Z\\_\\-\\.0-9]+",
+                              "type" : "string"
+                           },
+                           "score" : {
+                              "description" : "The score the rule should be valued at.",
+                              "optional" : 1,
+                              "type" : "number"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "links" : [
+                        {
+                           "href" : "{name}",
+                           "rel" : "child"
+                        }
+                     ],
+                     "type" : "array"
+                  }
+               },
+               "POST" : {
+                  "description" : "Create custom SpamAssassin score",
+                  "method" : "POST",
+                  "name" : "create_score",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "comment" : {
+                           "description" : "The Comment.",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "digest" : {
+                           "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                           "maxLength" : 40,
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "name" : {
+                           "description" : "The name of the rule.",
+                           "pattern" : "[a-zA-Z\\_\\-\\.0-9]+",
+                           "type" : "string"
+                        },
+                        "score" : {
+                           "description" : "The score the rule should be valued at.",
+                           "type" : "number",
+                           "typetext" : "<number>"
+                        }
+                     }
+                  },
+                  "protected" : 1,
+                  "proxyto" : "master",
+                  "returns" : {
+                     "type" : "null"
+                  }
+               },
+               "PUT" : {
+                  "description" : "Apply custom score changes.",
+                  "method" : "PUT",
+                  "name" : "apply_score_changes",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "digest" : {
+                           "description" : "Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.",
+                           "maxLength" : 40,
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "restart-daemon" : {
+                           "default" : 0,
+                           "description" : "If set, also restarts pmg-smtp-filter. This is necessary for the changes to work.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin"
+                     ]
+                  },
+                  "protected" : 1,
+                  "proxyto" : "master",
+                  "returns" : {
+                     "type" : "string"
+                  }
+               }
+            },
+            "leaf" : 0,
+            "path" : "/config/customscores",
+            "text" : "customscores"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "description" : "Read admin configuration properties.",
+                  "method" : "GET",
+                  "name" : "read_admin_section",
+                  "parameters" : {
+                     "additionalProperties" : 0
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin",
+                        "audit"
+                     ]
+                  },
+                  "proxyto" : "master",
+                  "returns" : {
+                     "type" : "object"
+                  }
+               },
+               "PUT" : {
+                  "description" : "Update admin configuration properties.",
+                  "method" : "PUT",
+                  "name" : "update_admin_section",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "advfilter" : {
+                           "default" : 1,
+                           "description" : "Use advanced filters for statistic.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "avast" : {
+                           "default" : 0,
+                           "description" : "Use Avast Virus Scanner (/usr/bin/scan). You need to buy and install 'Avast Core Security' before you can enable this feature.",
                            "optional" : 1,
                            "type" : "boolean",
                            "typetext" : "<boolean>"
@@ -7632,6 +8186,27 @@ var pmgapi = [
                            "type" : "string",
                            "typetext" : "<string>"
                         },
+                        "dkim_selector" : {
+                           "description" : "Default DKIM selector",
+                           "format" : "dns-name",
+                           "optional" : 1,
+                           "type" : "string",
+                           "typetext" : "<string>"
+                        },
+                        "dkim_sign" : {
+                           "default" : 0,
+                           "description" : "DKIM sign outbound mails with the configured Selector.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
+                        "dkim_sign_all_mail" : {
+                           "default" : 0,
+                           "description" : "DKIM sign all outgoing mails irrespective of the Envelope From domain.",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
                         "email" : {
                            "default" : "admin@domain.tld",
                            "description" : "Administrator E-Mail address.",
@@ -7830,6 +8405,13 @@ var pmgapi = [
                            "type" : "string",
                            "typetext" : "<string>"
                         },
+                        "before_queue_filtering" : {
+                           "default" : 0,
+                           "description" : "Enable before queue filtering by pmg-smtp-filter",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
                         "conn_count_limit" : {
                            "default" : 50,
                            "description" : "How many simultaneous connections any client is allowed to make to this service. To disable this feature, specify a limit of 0.",
@@ -7975,6 +8557,13 @@ var pmgapi = [
                            "type" : "integer",
                            "typetext" : "<integer> (0 - N)"
                         },
+                        "ndr_on_block" : {
+                           "default" : 0,
+                           "description" : "Send out NDR when mail gets blocked",
+                           "optional" : 1,
+                           "type" : "boolean",
+                           "typetext" : "<boolean>"
+                        },
                         "rejectunknown" : {
                            "default" : 0,
                            "description" : "Reject unknown clients.",
@@ -13007,6 +13596,85 @@ var pmgapi = [
             "path" : "/quarantine/virus",
             "text" : "virus"
          },
+         {
+            "info" : {
+               "GET" : {
+                  "description" : "Get a list of quarantined attachment mails in the given timeframe (default the last 24 hours).",
+                  "method" : "GET",
+                  "name" : "attachment",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "endtime" : {
+                           "description" : "Only consider entries older than 'endtime' (unix epoch). This is set to '<start> + 1day' by default.",
+                           "minimum" : 1,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (1 - N)"
+                        },
+                        "starttime" : {
+                           "description" : "Only consider entries newer than 'starttime' (unix epoch). Default is 'now - 1day'.",
+                           "minimum" : 0,
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer> (0 - N)"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin",
+                        "qmanager",
+                        "audit"
+                     ]
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {
+                           "bytes" : {
+                              "description" : "Size of raw email.",
+                              "type" : "integer"
+                           },
+                           "envelope_sender" : {
+                              "description" : "SMTP envelope sender.",
+                              "type" : "string"
+                           },
+                           "from" : {
+                              "description" : "Header 'From' field.",
+                              "type" : "string"
+                           },
+                           "id" : {
+                              "description" : "Unique ID",
+                              "type" : "string"
+                           },
+                           "receiver" : {
+                              "description" : "Receiver email address",
+                              "type" : "string"
+                           },
+                           "sender" : {
+                              "description" : "Header 'Sender' field.",
+                              "optional" : 1,
+                              "type" : "string"
+                           },
+                           "subject" : {
+                              "description" : "Header 'Subject' field.",
+                              "type" : "string"
+                           },
+                           "time" : {
+                              "description" : "Receive time stamp",
+                              "type" : "integer"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/quarantine/attachment",
+            "text" : "attachment"
+         },
          {
             "info" : {
                "GET" : {
@@ -13173,6 +13841,101 @@ var pmgapi = [
             "leaf" : 1,
             "path" : "/quarantine/content",
             "text" : "content"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "description" : "Get Attachments for E-Mail in Quarantine.",
+                  "method" : "GET",
+                  "name" : "listattachments",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "id" : {
+                           "description" : "Unique ID",
+                           "maxLength" : 60,
+                           "pattern" : "C\\d+R\\d+T\\d+",
+                           "type" : "string"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin",
+                        "qmanager",
+                        "audit"
+                     ]
+                  },
+                  "returns" : {
+                     "items" : {
+                        "properties" : {
+                           "content-type" : {
+                              "description" : "Raw email header data.",
+                              "type" : "string"
+                           },
+                           "id" : {
+                              "description" : "Attachment ID",
+                              "type" : "integer"
+                           },
+                           "name" : {
+                              "description" : "Raw email header data.",
+                              "type" : "string"
+                           },
+                           "size" : {
+                              "description" : "Size of raw attachment in bytes.",
+                              "type" : "integer"
+                           }
+                        },
+                        "type" : "object"
+                     },
+                     "type" : "array"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/quarantine/listattachments",
+            "text" : "listattachments"
+         },
+         {
+            "info" : {
+               "GET" : {
+                  "description" : "Download E-Mail or Attachment from Quarantine.",
+                  "download" : 1,
+                  "method" : "GET",
+                  "name" : "download",
+                  "parameters" : {
+                     "additionalProperties" : 0,
+                     "properties" : {
+                        "attachmentid" : {
+                           "description" : "The Attachment ID for the mail.",
+                           "optional" : 1,
+                           "type" : "integer",
+                           "typetext" : "<integer>"
+                        },
+                        "mailid" : {
+                           "description" : "Unique ID",
+                           "maxLength" : 60,
+                           "pattern" : "C\\d+R\\d+T\\d+",
+                           "type" : "string"
+                        }
+                     }
+                  },
+                  "permissions" : {
+                     "check" : [
+                        "admin",
+                        "qmanager",
+                        "audit",
+                        "quser"
+                     ]
+                  },
+                  "returns" : {
+                     "type" : "object"
+                  }
+               }
+            },
+            "leaf" : 1,
+            "path" : "/quarantine/download",
+            "text" : "download"
          }
       ],
       "info" : {
index 944a704e9f6a8d4334671c9d5a13197a2900a1df..03c83ce282bb9a5b85f6c5bd43f943b4c4e23a7d 100644 (file)
@@ -26,6 +26,18 @@ Send daily reports.
 
 Demo mode - do not start SMTP filter.
 
+`dkim_selector`: `<string>` ::
+
+Default DKIM selector
+
+`dkim_sign`: `<boolean>` ('default =' `0`)::
+
+DKIM sign outbound mails with the configured Selector.
+
+`dkim_sign_all_mail`: `<boolean>` ('default =' `0`)::
+
+DKIM sign all outgoing mails irrespective of the Envelope From domain.
+
 `email`: `<string>` ('default =' `admin@domain.tld`)::
 
 Administrator E-Mail address.
index c828ed055c003a84ff8741043545eb564db15ecf..c58480ada9e59ffb3f02254e480c44f5f46fb3e6 100644 (file)
@@ -28,6 +28,18 @@ Send daily reports.
 
 Demo mode - do not start SMTP filter.
 
+`dkim_selector`: `<string>` ::
+
+Default DKIM selector
+
+`dkim_sign`: `<boolean>` ('default =' `0`)::
+
+DKIM sign outbound mails with the configured Selector.
+
+`dkim_sign_all_mail`: `<boolean>` ('default =' `0`)::
+
+DKIM sign all outgoing mails irrespective of the Envelope From domain.
+
 `email`: `<string>` ('default =' `admin@domain.tld`)::
 
 Administrator E-Mail address.
@@ -80,6 +92,10 @@ Enables support for Google Safe Browsing.
 
 ESMTP banner.
 
+`before_queue_filtering`: `<boolean>` ('default =' `0`)::
+
+Enable before queue filtering by pmg-smtp-filter
+
 `conn_count_limit`: `<integer> (0 - N)` ('default =' `50`)::
 
 How many simultaneous connections any client is allowed to make to this service. To disable this feature, specify a limit of 0.
@@ -144,6 +160,10 @@ Maximum email size. Larger mails are rejected.
 
 The maximal number of message delivery requests that any client is allowed to make to this service per minute.To disable this feature, specify a limit of 0.
 
+`ndr_on_block`: `<boolean>` ('default =' `0`)::
+
+Send out NDR when mail gets blocked
+
 `rejectunknown`: `<boolean>` ('default =' `0`)::
 
 Reject unknown clients.
index cdcf8b1109167eca2368607badad6896125cfac9..8a7aeb765c3fd0e52aaa5602e545aaae85b897d1 100644 (file)
@@ -2,6 +2,10 @@
 
 ESMTP banner.
 
+`before_queue_filtering`: `<boolean>` ('default =' `0`)::
+
+Enable before queue filtering by pmg-smtp-filter
+
 `conn_count_limit`: `<integer> (0 - N)` ('default =' `50`)::
 
 How many simultaneous connections any client is allowed to make to this service. To disable this feature, specify a limit of 0.
@@ -42,6 +46,10 @@ Maximum email size. Larger mails are rejected.
 
 The maximal number of message delivery requests that any client is allowed to make to this service per minute.To disable this feature, specify a limit of 0.
 
+`ndr_on_block`: `<boolean>` ('default =' `0`)::
+
+Send out NDR when mail gets blocked
+
 `rejectunknown`: `<boolean>` ('default =' `0`)::
 
 Reject unknown clients.
index 967569471680e23e9f04cdf09d9a412881e903bc..5cf131a0be712e2ba931e2f9d84a2e16c4e120c9 100644 (file)
@@ -9,6 +9,23 @@ API).
 
 Overwrite existing certificate.
 
+*pmgconfig dkim_record*
+
+Get the public key for the configured selector, prepared as DKIM TXT record
+
+*pmgconfig dkim_set* `--keysize <integer> --selector <string>` `[OPTIONS]`
+
+Generate a new private key for selector. All future mail will be signed
+with the new key!
+
+`--keysize` `<integer> (1024 - N)` ::
+
+Number of bits for the RSA-Key
+
+`--selector` `<string>` ::
+
+DKIM Selector
+
 *pmgconfig dump*
 
 Print configuration setting which can be used in templates.