]> git.proxmox.com Git - pmg-gui.git/commit
Add DKIM Tab to MailProxy configuration
authorStoiko Ivanov <s.ivanov@proxmox.com>
Mon, 21 Oct 2019 17:23:38 +0000 (19:23 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 23 Oct 2019 09:51:26 +0000 (11:51 +0200)
commit295fbab8a1a35d7fd17bbccee87dd01e99a9801d
treeafb81020b15114f3639ed50d42e6abc611a55d99
parent35cf797dff36cc85bca3b941bd2f87c8505c0de5
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>
js/DKIMSettings.js [new file with mode: 0644]
js/MailProxyConfiguration.js
js/MailProxyDKIMPanel.js [new file with mode: 0644]
js/Makefile
pmg-index.html.tt