Search

Search for:
Language:  

No categories for selected product

When I am trying to send a message from Webmail the following error appears: "Failed to open sendmail [/var/qmail/bin/sendmail] for execution".

Article ID: 2278 
Last Review: Apr, 16 2012
Views:
APPLIES TO:
  • Parallels Plesk Panel for Linux/Unix

Symptoms

I am trying to send a message from Webmail but the following error appears:

Failed to open sendmail [/var/qmail/bin/sendmail] for execution.

The same error I can find at the log file /var/log/psa-horde/psa-horde.log.


Resolution

There can be two reasons of this problem. Please check them:

- Make sure that *exec* or *open* functions are not disabled, i.e. not in listed in "disable_functions" directive in php.ini files:
# grep -i disable_functions /etc/php.ini /etc/php.d/* /usr/local/etc/php.ini


To make sure that "disable_functions" does not affect Webmail, you can comment this line, restart Apache and try to send mail again. If it works, then disable the functions one by one, restart Apache and check mail sending through Webmail.


- check if selinux is enabled in the system:
# getenforce
Enabled

Try to temporary disable it with the "setenforce 0" command and send mail using Webmail again. If it helps and you have Plesk 8 or later, try to reinstall 'psa-selinux'  package, it should configure  polices for Plesk. Then enable selinux back.





Email subscription for changes to this article Email subscription for changes to this article

Please provide feedback on this article

* Did this article help you solve your issue?
Yes
No
What can we do to improve this article?

PLEASE NOTE: Knowledge Base feedback is reviewed occasionally and we do not reply to most of the individual comments. Please contact us using one of the Support channels for a response to any support inquiries. We appreciate your feedback.

Subscribe me for article updates. My email
 
 
 
 
 
 
For Home
For Hosters
For SaaS
For IaaS
For Developers
For Health Care
 
Desktop Virtualization
- Parallels Desktop 7 for Mac
- Parallels Transporter
- Parallels Mobile
- Parallels Desktop Switch to Mac Edition
- Parallels Workstation
- Parallels Workstation Extreme
- Parallels Desktop for Mac Enterprise Edition
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac 4.0 Mac mini Edition
- Parallels Server for Mac Bare Metal Edition
- Parallels Server Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Automation for Cloud Infrastructure
- Parallels Business Automation
- Parallels Business Automation Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
- Parallels Domain/SSL Reseller Program
- Parallels Partner Storefront
More Products