#!/usr/local/bin/perl # list_cws.cgi # List domains for which we accept mail require './sendmail-lib.pl'; $access{'cws'} || &error($text{'cws_ecannot'}); &ui_print_header(undef, $text{'cws_title'}, ""); $conf = &get_sendmailcf(); @dlist = &get_file_or_config($conf, "w"); print "
\n"; print "
\n"; print "$text{'cws_domains'}
\n"; print "
\n"; print "\n"; print "
\n"; print &text('cws_desc1', "".&get_system_hostname().""),"

\n"; print $text{'cws_desc2'},"\n"; print "

\n"; print "
\n"; &ui_print_footer("", $text{'index_return'});