{
 # 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);
 }

 # we migrate smtp-auth-proxy ; SMTPSmartHost  Userid  Passwd  PeerPort 
 if ( defined $SMTPSmartHost &&  ! defined  $postfix{'SMTPSmartHost'} && length $postfix{'SMTPSmartHost'} != 0 ) {
    $DB->set_prop('postfix', 'SMTPSmartHost' , $SMTPSmartHost);
 }
    $DB->get_value_and_delete('SMTPSmartHost');

  # we just ignore and delete Debug Blacklist MD5Patch
  for  ( qw( Passwd Userid PeerPort status) ) {
    my $sa = $DB->get('smtp-auth-proxy') or next;
    next unless defined $DB->get_prop('smtp-auth-proxy',$_);
    my $value=$DB->get_prop_and_delete('smtp-auth-proxy',$_);
    my $key= "SMTPSmartHost".ucfirst($_);
    $DB->set_prop('postfix', $key , $value) if ( ! exists $postfix{$key} || $postfix{$key} != "");
    $sa->delete() if $_ eq "status";
 }

}
