#!/usr/bin/perl

print "Content-Type: Text/HTML\n\n";

use CGI ':standard';
use Vpanel 1.00;
require $header;
require $accountinfo;

$domainname = find_domain ($mainuser);

# Define the tab which appears to the front
$tab_section = $tabnum_mailwall;

# Output the content associated with this tab
print "<body class=section-$tab_section>";

# display tabs
require $tabdisplay;

print_header("Creation of a spam trap for $domainname");

########################
# Terms and Conditions #
########################

print<<DETAILS;

As part of IE Internet's constant improvement of the hosting services offered to its customers, you have the opportunity
- at no additional charge - to upgrade your protection from Spam. <br><br>

At the moment all emails sent to your domain name are scanned by IE Internet. An alternative solution, offered by this 
upgrade, is to not download these emails. Instead those emails which have been flagged as Spam would be sent to a 
specially designed user account on your server, called a Spam Trap.  This Spam Trap will hold all your Spam emails. You 
can then check these emails on occasion to ensure that no legitimate emails have been flagged as Spam.<br><br>

If you wish to upgrade your Anti-Spam service, please read the terms and conditions. If you agree with these terms and 
conditions please click on the button below to activate your Spam Trap:<br>

<form>
<table>
<textarea rows=15 cols=60 ReadOnly=True onFocus=this.blur() class=text>
1. All emails sent to your domain name will be scanned for Spam by IE Internet's Anti-Spam services.

2. Should an email be flagged as Spam by IE Internet's Anti-Spam services, this email will not be sent to an email user. Instead, this email will be sent to a 'Spam Trap', a user specifically set up to hold emails believed to be Spam.

3. The Spam Trap will hold all emails flagged as Spam for your domain.

4. IE Internet will bear no responsibility for any emails deleted, delayed or in any other way affected by IE Internet's Anti-Spam service.

5. The customer undertakes to regularly monitor their Spam Trap for any emails which may on occasion be incorrectly flagged as being Spam. This monitoring can be carried out through IE Internet's Webmail service.

6. The customer undertakes to maintain their Spam Trap in accordance with the space limitations set down in their Hosting Plan. Failure to keep all accounts within the space allocation for the customer's Hosting Plan may result in additional charges or the withdrawal of service.

</textarea>
</form>

DETAILS




print "<form method=post action=/$script_bin/$confirm_turn_on_spamtrap class=text>";
print_end_of_form();

require $footer;
