chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:12:17 +08:00
commit cf8edb9f21
44281 changed files with 1655134 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/local/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("");