var rspamdPresets = [ { description: lang.rsettings_preset_1, codeValue: 'priority = 10;\nauthenticated = yes;\napply "default" {\n symbols_enabled = ["DKIM_SIGNED", "RATELIMITED", "RATELIMIT_UPDATE", "RATELIMIT_CHECK", "DYN_RL_CHECK", "HISTORY_SAVE", "MILTER_HEADERS", "ARC_SIGNED"];\n}' }, { description: lang.rsettings_preset_2, codeValue: 'priority = 10;\nrcpt = "/postmaster@.*/";\nwant_spam = yes;' } ]; var rspamd_presetsElem = document.getElementById("rspamd_presets"); if (rspamd_presetsElem && rspamdPresets) { rspamd_presetsElem.innerHTML = ''; rspamdPresets.forEach(function (item, index) { var elemID = 'rspamd_preset_' + index; rspamd_presetsElem.innerHTML += '