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

15 lines
536 B
Plaintext
Raw Normal View History

{
# migrate qmail -> postfix MaxMessageSize FilterType ConcurrencyRemote ConcurrencyLocal DoubleBounceTo
# we keep qmail as MDA so we can leave DeliveryType DeliveryInstruction
for ( qw( MaxMessageSize FilterType ConcurrencyRemote ConcurrencyLocal DoubleBounceTo) ) {
my $sa = $DB->get('qmail') or next;
my $value=$DB->get_prop_and_delete('qmail',$_) or next;
next if (exists $postfix{$_});
$DB->set_prop('postfix', $_ , $value);
}
# TODO we migrate smtp-auth-proxy ; SMTPSmartHost Userid Passwd PeerPort
}