MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/libexec/webmin/qmailadmin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/libexec/webmin/qmailadmin/save_rcpts.cgi
#!/usr/bin/perl
# save_rcpts.cgi
# Save the list of accepted domains

require './qmail-lib.pl';
&ReadParseMime();

if ($in{'rcpts_def'}) {
	&save_control_file("rcpthosts", undef);
	}
else {
	$in{'rcpts'} =~ s/\r//g;
	@dlist = split(/\s+/, $in{'rcpts'});
	&save_control_file("rcpthosts", \@dlist);
	}
$in{'rcpts2'} =~ s/\r//g;
if ($in{'rcpts2'}) {
	@dlist2 = split(/\s+/, $in{'rcpts2'});
	&save_control_file("morercpthosts", \@dlist2);
	&system_logged("$qmail_bin_dir/qmail-newmrh >/dev/null 2>&1");
	}
else {
	&save_control_file("morercpthosts", undef);
	}
&webmin_log("rcpts", undef, undef, \%in);
&redirect("");


Anon7 - 2021