diff --git a/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/20InternalMinilist b/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/20InternalMinilist new file mode 100644 index 0000000..5dc6683 --- /dev/null +++ b/root/etc/e-smith/templates/var/service/qpsmtpd/config/badrcptto_ext/20InternalMinilist @@ -0,0 +1,10 @@ +{ + $OUT .= ''; + foreach my $list ( $a->get_all_by_prop( type => 'list' ){ + next unless ( $list->prop('Visible') || '') =~ m/^(internal|none)$/i; + + foreach my $domain ( $d->domains ){ + $OUT .= $list->key . '@' . $domain->key . "\n"; + } + } +}