2 require 'postfix-lib.pl';
3 @acl_pages = ("resource", "address_rewriting", "aliases", "general",
4 "canonical", "virtual", "transport", "relocated", "header","body",
5 "bcc", "local_delivery", "smtpd", "sasl", "client", "smtp",
6 "rate", "debug", "ldap",
7 "master", "startstop", "mailq", "postfinger", "manual");
9 # Print the form for security options of postfix module
13 foreach $o (@acl_pages) {
14 print &ui_table_row($text{'acl_'.$o},
15 &ui_yesno_radio($o, $_[0]->{$o} ? 1 : 0));
17 print &ui_table_row($text{'acl_dir'},
18 &ui_textbox("dir", $_[0]->{'dir'}, 50));
22 # acl_security_save(&options)
23 # Parse the form for security options for the postfix module
27 foreach $o (@acl_pages) {
28 $_[0]->{$o} = $in{$o};
30 $_[0]->{'dir'} = $in{'dir'};