smeserver-postfix/root/etc/e-smith/db/configuration/migrate/postfix
Jean-Philippe Pialasse 0e6e82c9a1 * Sun Dec 15 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.0-5.sme
- add mini-qmail as Message delivery agent  [SME: 12737]
  few other fixes; +x on needed executable files
  migrate old qmail properties used in postfix
  catch all non existing recipient / check BCC working
2024-12-16 17:14:34 -05:00

15 lines
536 B
Plaintext

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