Applicable to:
- Plesk Onyx
Symptoms
-
When accessing Tools & Settings > Outgoing Mail Control page the following error appears:
PLESK_ERROR: Error: Unable to execute mailmng-outgoing: no such table: OutgoingMessages at execute console command --get-outgoing-messages-domains-stat(vconsoleapp::start line 100) at execute %plesk_dir%\admin\bin\mailmng.exe --get-outgoing-messages-domains-stat "--stat-time=2016-07-25 08:00"(vconsoleapp::run line 117) (Error code 1)
-
Cannot create a new mail account under a subscription; the account is created, but without a mailbox:
PLESK_ERROR: Error: mailmng-outgoing failed: ERROR:outgoing:mails.domain_id may not be NULL
-
Outgoing mail does not work for one or several domains: PHP scripts may not work, Roundcube webmail returns the following error:
CONFIG_TEXT: SMTP Error (250): Authentication failed
-
Plesk displays the error below when trying to add a new domain:
PLESK_ERROR: Error: mailmng-outgoing failed: ERROR:outgoing:database disk image is malformed
-
The size of the database
%plesk_dir%\admin\db\OutgoingMessages.db
might equal 0 on Windows based servers.
Cause
The outgoing mail database is corrupted.
Resolution
-
Connect to the server via SSH;
-
Rename the database:
# mv /var/lib/plesk/mail/outgoing/data.db{,.bak}
-
Rebuild it:
-
For RHEL/CentOS/CloudLinux:
# /usr/lib64/plesk-9.0/remote_mail_restore/mail_outgoing_restore
-
For Debian/Ubuntu:
# /usr/lib/plesk-9.0/remote_mail_restore/mail_outgoing_restore
-
-
If the domain was was added in the initial attempt - delete it.
-
Add the domain again.
-
Connect to the server via RDP.
-
Delete or rename the corrupted database:
%plesk_dir%admin\db\OutgoingMessages.db
. -
Run the command to rebuild it:
C:\> "%plesk_dir%\admin\bin\mailmng.exe" --init-outgoing-messages-storage
Comments
0 comments
Please sign in to leave a comment.