Articles in this section

Unable to send an email via WordPress contact form: Rejecting message: system user uid=' xx ' is not allowed to send mail

kb: technical Plesk Onyx for Linux ABT: Group B

Applicable to:

  • Plesk Onyx for Linux

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:

    CONFIG_TEXT: 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

  1. Log into Plesk.
  2. Go to Subscriptions > example.com > Mail > Mail Settings.
  3. Select the example.com domain and press the Deactivate/Activate Services button:
    switchmail.png
  4. From the drop-down menu Mail service of the appeared window select Enable and press the OK button:
    enablemail.png 

 

Solution using the SSH access
  1. Log into the server via SSH.
  2. 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.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.