[% USE SpamAssassin; SET CPANEL.CPVAR.dprefix = '../../'; SET spam_settings = execute( 'Email', 'get_spam_settings', { account => CPANEL.authuser }, ).data(); SET page_data = { spam_settings => spam_settings, authuser => CPANEL.authuser, }; SET can_disable_filter = spam_settings.spam_status_changeable; SET max_spam_threshold = spam_settings.cpuser_spam_auto_delete ? (spam_settings.cpuser_spam_auto_delete_score - 1) : ''; -%] [% WRAPPER '_assets/master.html.tt' app_key = 'apache_spam_assassin', include_legacy_stylesheets = 0, page_stylesheets = [ 'mail/spam/index.css', ], -%] [% PROCESS '_assets/cjt2_header_include.tt'; %]
[% locale.maketext('This utility lets you filter unwanted “spam” email before it reaches your inbox.') %]
[% locale.maketext('This server assigns a spam score (via the [output,class,_1,code] header) to each email that you receive. Use this control to tell the server to discard any emails whose spam score meets or exceeds a designated threshold. [output,strong,The lower the threshold~, the more emails the server will discard.]', 'X-Spam-Bar') %]
[% IF spam_settings.cpuser_spam_auto_delete -%]