Sending mail through script fails


2016-11-16 13:24:50 UTC


2017-08-08 13:11:59 UTC


Was this article helpful?

Have more questions?

Submit a request

Sending mail through script fails

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux


Sending mail through script fails. It is throwing the following error in the logs:

Dec  2 11:30:15 user py_limit_out[45807]: ERROR Rejecting forged message: PPP_SENDER_VHOST_ID is present in environment, but its value is empty
Dec 2 11:30:15 user plesk sendmail[45806]: handlers_stderr: DATA REPLY:554:5.7.0 Your message could not be sent. The sender's domain is not registered in Panel, or is misconfigured.#012REJECT


Mail settings misconfiguration.


  1. Check that Allow scripts and users to use Sendmail option is enabled at Home > Tools & Settings > Server-Wide Mail Settings

  2. Rebuild mail server configuration using Plesk self repair utility:
    For Plesk Onyx:

    # plesk repair mail

    For Plesk version 12.x:

    /usr/local/psa/admin/bin/mchk --with-spam
Have more questions? Submit a request
Please sign in to leave a comment.