API error when allowing unknown recipients

NethServer Version: 7.9.2009
Module: Mail

Hi there,

Trying to enable email to unknown recipients.

 echo '{"action":"edit","domain":{"DisclaimerStatus":"disabled","TransportType":"LocalDelivery","RelayHost":"","name":"drain.riff.cc","Description":"The drain","AlwaysBccStatus":"disabled","AlwaysBccAddress":"","UnknownRecipientsActionType":"deliver","DisclaimerText":"","isPrimaryDomain":"","unknownRecipientMailbox":{"name":"wings@riff.cc","type":"user","displayname":"wings"}}}' | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/nethserver-mail/domains/update | jq

These are the errors I’m getting:

  "progress": "1.00",
  "time": "4.978139",
  "exit": 0,
  "event": "domain-modify",
  "state": "done",
  "step": 3,
  "pid": 14240,
  "action": "S90adjust-services"
}
{
  "pid": 14240,
  "status": "failed",
  "event": "domain-modify"
}
{
  "type": "Error",
  "attributes": {
    "event_name": "domain-modify",
    "event_args": [
      "drain.riff.cc"
    ]
  },
  "message": "domains.api_update_failed"
}

Resolved, don’t use the same domain/subdomain as your server.