[% SET CPANEL.CPVAR.dprefix = "../"; SET is_demo_mode = CPANEL.CPDATA.item('DEMO'); IF (ExpVar.expand('$appname') == "webmail"); IF !FORM.item('account'); SET FORM.item('account') = CPANEL.authuser; END; END; IF !FORM.item('account'); SET fetch_cfg = { status => 0, errors => (locale.maketext("The “[_1]” parameter is required, and you must pass a valid string value.", 'account')) }; ELSE; SET fetch_cfg = execute('BoxTrapper', 'get_blocklist', { 'email' => RAW_FORM.item('account') }); END; %] [% js_code = PROCESS js_block %] [% WRAPPER '_assets/master.html.tt' app_key = 'boxtrapper' page_js = js_code page_stylesheets = ['mail/boxtrapper.css'] %]
[% locale.maketext("The blacklist is a list of content you do not wish to receive in email. The sender of blacklisted content will also receive a warning message of your choice.") %]
[% locale.maketext("The list should contain one entry per line. Each entry should be formatted as a Perl regular expression.") %]
[% locale.maketext("For example: [asis,john@example.com] would be john[output,chr,92][asis,@example][output,chr,92][asis,.com] and all addresses at [asis,example.com] would be [asis,.+][output,chr,92][asis,@example][output,chr,92][asis,.com]") %]