NAME

pmgdb - Proxmox Mail Gateway Database Management Toolkit

SYNOPSIS

pmgdb <COMMAND> [ARGS] [OPTIONS]

pmgdb delete

Delete PMG rule database.

pmgdb dump

Print the PMG rule database.

pmgdb help [OPTIONS]

Get help about specified command.

--extra-args <array>

Shows help for a specific command

--verbose <boolean>

Verbose output format.

pmgdb init [OPTIONS]

Initialize/Upgrade the PMG rule database.

--force <boolean> (default = 0)

Delete existing database.

--statistics <boolean> (default = 0)

Reset and update statistic database.

pmgdb reset

Reset PMG rule database back to factory defaults.

pmgdb update

Update the PMG statistic database.

DESCRIPTION

The pmgdb toolkit is used to simplify common database management tasks. Most important, it is used internally to create and initialize the default database. You can also use it to reset the filter rules back to factory defaults:

pmgdb reset

Or you can dump a human readable copy of the filter rules:

pmgdb dump

Copyright © 2007-2019 Proxmox Server Solutions GmbH

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/