mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
16 lines
441 B
Perl
Executable File
16 lines
441 B
Perl
Executable File
#!/usr/local/bin/perl
|
|
# edit_mailer.cgi
|
|
# Edit an existing mailer
|
|
|
|
require './sendmail-lib.pl';
|
|
require './mailers-lib.pl';
|
|
&ReadParse();
|
|
$access{'mailers'} || &error($text{'mform_ecannot'});
|
|
$conf = &get_sendmailcf();
|
|
@virts = &list_mailers(&mailers_file($conf));
|
|
|
|
&ui_print_header(undef, $text{'mform_edit'}, "");
|
|
&mailer_form($virts[$in{'num'}]);
|
|
&ui_print_footer("list_mailers.cgi", $text{'mailers_return'},
|
|
"", $text{'index_return'});
|