smeserver-dovecot/root/etc/e-smith/db/configuration/migrate/dovecot

6 lines
153 B
Plaintext

{
foreach my $sservice qw(imap imaps pop3 pop3s) {
$DB->set_prop($sservice, "type", "configuration") if $DB->${$sservice}->{type} eq "service";
}
}