Plesk

Unable to create/migrate a domain in Plesk: mailmng-outgoing failed: mailmng-outgoing failed: ERROR:outgoing:column name is not unique

Symptoms

Cause

Inconsistency in outgoing mail control database due to previous unsuccessful operation. This behavior is considered a bug with ID PPPM-13825.

Resolution

  1. Connect to the (destination) Plesk server via SSH.

  2. Rename the database:

    # mv /var/lib/plesk/mail/outgoing/data.db{,_bk}

  3. Rebuild the outgoing mail control database:

    • on CentOS/RHEL-based distributions:

      # /usr/lib64/plesk-9.0/remote_mail_restore/mail_outgoing_restore

    • on Debian/Ubuntu-based distributions:

      # /usr/lib/plesk-9.0/remote_mail_restore/mail_outgoing_restore

Note: In case of failed migration, re-sync subscription. In other cases, recreate or reenable the object that was returning the error.

Exit mobile version