# SME system users
{
    return "#/!\\=============> DelegateMailServer is set" if ($DelegateMailServer && ($DelegateMailServer !~ /^\s*$/));
    return "#/!\\=============> no virtual domain" if $mydomains =~ /^\s*$/;
    $OUT = '/^root@('.$mydomains.')$/     admin'."\n";

    use esmith::AccountsDB;

    my $adb = esmith::AccountsDB->open_ro or die "Couldn't open AccountsDB";

    for my $acct ($adb->get_all_by_prop(type=>"system"))
    {
      next if ($acct->key eq "alias");
      next if ($acct->key eq "shared");
      next if ($acct->key eq "root");
      $OUT .= '/^'.$acct->key.'@('.$mydomains.')$/' . "\t\t\tadmin\@alias-localdelivery-$SystemName\n";
    }

}
