Search for:
Language:

Product:
Category:
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: Mar, 13 2009

Views: 5353 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
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop 5 for Mac
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Desktop Upgrade to Windows 7
Server Virtualization
- Parallels Server for Mac 4.0
- Parallels Server for Mac Bare Metal Edition
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Business Automation - Standard
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
- Parallels Small Business Panel
More Products