Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Lamprecht
c87d46fbe8 tree wide: eslint --fix
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-10-23 13:17:15 +02:00
Thomas Lamprecht
7de008cc1c dkim selector: use autoLoad config of store
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-01-21 09:19:35 +01:00
Stoiko Ivanov
39b73de789 dkim: list all available selectors
by making the selector field a ComboBox, users can pick from any existing
selector without changing it, replace it or create a new one.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-01-21 09:08:41 +01:00
Stoiko Ivanov
b07fc43096 fix #2504: add checkbox for overwriting selectors
Add a checkbox with descriptive label for the force parameter of
config/dkim/selector.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-01-21 09:08:41 +01:00
Stoiko Ivanov
295fbab8a1 Add DKIM Tab to MailProxy configuration
This adds another panel to the MailProxy configuration for DKIM-Settings.
Additionally the index-template now includes the css-file from
proxmox-widget-toolkit (for the pmx-hint user-class), needed in the
Settings-panel.

The Panel consists of 2 Grids:
* DKIM Settings
* DKIM Domains

DKIMDomains is a list of domain, currently like RelayDomains (hence the
code-reuse).

The DKIM settings grid binds to the dkim-related settings in pmg.conf, but the
edit-window for the selector uses the /config/dkim/selector route in the
PMG-API.

Additionally 2 checks for invalid configurations are excluded (you cannot
enable DKIM-Signing without creating a private key first)

The warnings were inspired by PVE's handling of EFIDisks and BIOS.

Finally the 'View DNS Record' button displays the DKIM TXT record for the
current key in the same format that opendkim-genkey writes it out.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2019-10-23 11:51:26 +02:00