my $single_section = shift;
my $found = 0;
+my $key_groups = {
+ 'mail-relaying' => [
+ 'mail' , {
+ relay => 1,
+ relaynomx => 1,
+ relayport => 1,
+ smarthost => 1,
+ }],
+};
+
+my $select_keys;
+
+if ($single_section) {
+ if (my $a = $key_groups->{$single_section}) {
+ my ($sec, $hash) = @$a;
+ $single_section = $sec;
+ $select_keys = $hash;
+ }
+}
+
+
foreach my $section (@$types) {
my $plugin = PMG::Config::Base->lookup($section);
my $schema = $plugin->updateSchema(1);
my ($key, $phash) = @_;
return 1 if $key eq 'digest';
return 1 if $key eq 'delete';
+ return 1 if $select_keys && !$select_keys->{$key};
return 0;
};
image::images/screenshot/pmg-gui-system-options.png[]
endif::manvolnum[]
+
+Those settings are saved to subsection 'admin' in `/etc/pmg/pmg.conf`,
+using the following configuration keys:
+
include::pmg.admin-conf-opts.adoc[]
Relaying
~~~~~~~~
-
ifndef::manvolnum[]
image::images/screenshot/pmg-gui-mailproxy-relaying.png[]
endif::manvolnum[]
-TODO
+Those settings are saved to subsection 'mail' in `/etc/pmg/pmg.conf`,
+using the following configuration keys:
+
+include::pmg.mail-relaying-conf-opts.adoc[]
Relay Domains
~~~~~~~~~~~~~