Skip to content

Commit

Permalink
Merge pull request #157 from NethServer/sdl-7257
Browse files Browse the repository at this point in the history
Remove non-migratable catchall handling for UnknownRecipientsActionAction  NethServer/dev#7257
  • Loading branch information
stephdl authored Jan 16, 2025
2 parents 110a04a + 7c97c06 commit 1ca3070
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions imageroot/actions/import-module/50import_domains
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,7 @@ with sdb:
vals['addusers'] = 1
vals['addgroups'] = 1 if dyngroups_is_enabled else 0

if xdom['props'].get('UnknownRecipientsActionType') == 'deliver':
catchall = xdom['props'].get('UnknownRecipientsActionDeliverMailbox')
if catchall == 'root':
catchall = 'vmail+postmaster'
vals['catchall'] = catchall
# the unknow recipients action (catchall) is not migratable to NS8 NethServer/dev#7257

if xdom['props'].get('AlwaysBccStatus') == 'enabled':
vals['bccaddr'] = xdom['props'].get('AlwaysBccAddress')
Expand Down

0 comments on commit 1ca3070

Please sign in to comment.