Symptoms
-
It is not possible to send email messages from the Plesk hosted
example.com
website using the WordPress contact form, the process fails with the following errors in/var/log/maillog
file:plesk sendmail[5215]: ERROR Rejecting message: system user uid=' xx ' is not allowed to send mail
plesk sendmail[5214]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The user jdoe is not allowed to send email.
plesk sendmail[5214]: handlers_stderr: REJECT
plesk sendmail[5214]: REJECT during call 'limit-out' handler
Cause
The mail service is disabled for theexample.com
domain.
Resolution
- Log into Plesk.
- Go to Subscriptions > example.com > Mail > Mail Settings.
- Select the
example.com
domain and press the Deactivate/Activate Services button:
- From the drop-down menu Mail service of the appeared window select Enable and press the OK button:
Solution using the SSH access
- Log into the server via SSH.
- Execute the command below to enable the mail service for the
example.com
domain:# /usr/local/psa/bin/mail --on example.com -ignore-nonexistent-options
Note: in the command above replace
example.com
with the name of the affected domain.