mirror of
https://git.proxmox.com/git/pmg-gui
synced 2025-05-31 18:15:18 +00:00

with this panel, users can manually override a rule score for SpamAssassin rules. This can be useful sometimes, e.g. if a certain rule always triggers in a certain environment which is considered spam by the SpamAssassin rules after adding/editing a rule, we show diff, similar to the network panel, and offer a button to apply those changes (and restart pmg-smtp-filter). the changes can also be reverted Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
36 lines
692 B
JavaScript
36 lines
692 B
JavaScript
Ext.define('PMG.SpamDetectorConfiguration', {
|
|
extend: 'Ext.tab.Panel',
|
|
alias: 'widget.pmgSpamDetectorConfiguration',
|
|
|
|
title: gettext('Configuration') + ': ' +
|
|
gettext('Spam Detector'),
|
|
|
|
border: false,
|
|
defaults: { border: false },
|
|
|
|
items: [
|
|
{
|
|
title: gettext('Options'),
|
|
itemId: 'options',
|
|
xtype: 'pmgSpamDetectorOptions'
|
|
},
|
|
{
|
|
title: gettext('Quarantine'),
|
|
itemId: 'quarantine',
|
|
xtype: 'pmgSpamQuarantineOptions'
|
|
},
|
|
{
|
|
title: gettext('Status'),
|
|
itemId: 'status',
|
|
xtype: 'pmgSpamDetectorStatus'
|
|
},
|
|
{
|
|
title: gettext('Custom Scores'),
|
|
itemId: 'scores',
|
|
xtype: 'pmgSpamDetectorCustomScores'
|
|
},
|
|
]
|
|
});
|
|
|
|
|