Add support for the Visible prop on minilists

tags/smeserver-minilist-0.1.7-1
Daniel Berteaud 4 years ago
parent ed7d9791bd
commit 25be7c21b4
  1. 10
      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";
}
}
}
Loading…
Cancel
Save