Error: mailmng-outgoing failed: ERROR:outgoing:mails.domain_id may not be NULL

Created:

2016-11-16 13:19:22 UTC

Modified:

2017-08-16 17:06:55 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Error: mailmng-outgoing failed: ERROR:outgoing:mails.domain_id may not be NULL

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Unable to create a mail account for example.com or repair mail service for a domain. The following error is displayed in Plesk interface:

Error: mailmng-outgoing failed: ERROR:outgoing:mails.domain_id may not be NULL

Or:

Error: mailmng-outgoing failed: ERROR:outgoing:domains.subscription_id may not be NULL

Or:

Error: mailmng-outgoing failed: ERROR:outgoing:mail_aliases.mail_id may not be NULL

Cause

The inconsistency of internal database used for outgoing mail limits.

Resolution

1. Back up the outgoing mail limits database:

# cp /var/lib/plesk/mail/outgoing/data.db /var/lib/plesk/mail/outgoing/data.db.bak

2. Repair outgoing limits configuration:

# /usr/lib64/plesk-9.0/remote_mail_restore/mail_outgoing_restore
Have more questions? Submit a request
Please sign in to leave a comment.