Symptoms
-
Mails generated by contact forms or scheduled tasks are not sent. The following error messages appear in
/var/log/maillog
:journal: plesk sendmail[22347]: handlers_stderr: DATA REPLY:554:5.7.0 The message could not be sent. You are not allowed to use sendmail utility.#012REJECT
journal: plesk sendmail[22347]: REJECT during call 'limit-out' handler -
The option Turn on limitations on outgoing email messages is enabled at Tools & Settings > Mail Server Settings.
Cause
The sendmail
utility is disabled.
Resolution
Allow users and scripts to use Sendmail:
-
Go to Tools & Settings > Outgoing Mail Control > Subscription > example.com > Change Limit:
-
Set the sendmail usage policy to Custom settings for the subscription and enable the option Allow using Sendmail for scripts and users on this subscription.
-
Go to Tools & Settings > Mail Server Settings.
-
Enable the option Allow users and scripts to use Sendmail.