Sending mail through script fails

Refers to:

  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux

Created:

2016-11-16 13:24:50 UTC

Modified:

2016-12-21 20:39:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Sending mail through script fails

Symptoms

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

Cause

Mail settings misconfiguration.

Resolution

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

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

    # plesk repair mail
Have more questions? Submit a request
Please sign in to leave a comment.