#!/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 SMTP forwarding for $domainname");

print "
At the moment your emails are being sent to user (POP) accounts and are then  being downloaded to your PC(s) or viewed
through webmail. If you want to replace this set-up with a situation where your email is sent directly to a mail
server, this is called <i>SMTP forwarding</i><BR><BR>
To install SMTP forwarding for your account, simply type the IP address of your mail server 
in the space below and click on the button:<BR><BR>
<form method=post action=/$script_bin/$confirm_create_smtp_forwarding class=text>
<B>IP Address: </B><input name=ipaddress class=text maxlength=15>

";

print_end_of_form();

require $footer;
