Squirrel mail can't excute...!

bashir

Registered
Jun 8, 2005
4
0
151
Hi

I have 2 servers, they are working fine, but squirrel mail has problem in sending mail on both servers...!
same error message appears on top of "compose" screen when clicking "send":

********erroro message starts here********
Email delivery error
Server replied: 11 Can't execute command '/usr/local/cpanel/bin/sendmail_cpanel -i -t [email protected]
********error message ends here*********

system info:

WHM 10.8.0 cPanel 10.9.0-S38
Fedora i686 - WHM X v3.1.0

any idea?

thanks
 

designeru

Well-Known Member
Nov 2, 2005
83
0
156
One idea...

# ls -alh /usr/local/cpanel/bin/sendmail_cpanel

does it has the exec permitions ?
 

bashir

Registered
Jun 8, 2005
4
0
151
Hi

I got the following:

root@alpha [~]# ls -alh /usr/local/cpanel/bin/sendmail_cpanel
-rwxrwxrwx 1 root root 3.1K May 23 23:33 /usr/local/cpanel/bin/sendmail_cpanel*

what should I do?

thanks for your reply :)
 

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
bashir said:
Hi

I got the following:

root@alpha [~]# ls -alh /usr/local/cpanel/bin/sendmail_cpanel
-rwxrwxrwx 1 root root 3.1K May 23 23:33 /usr/local/cpanel/bin/sendmail_cpanel*

what should I do?

thanks for your reply :)
Code:
chmod 0755 /usr/local/cpanel/bin/sendmail_cpanel
should correct the problem.

Mickalo
 

bashir

Registered
Jun 8, 2005
4
0
151
thank you but chmod did not fix the problem...

cPanel support sent me the fix:

root@abc [~]# cd /usr/sbin
root@abc [/usr/sbin]# mv sendmail sendmail.157979
root@abc [/usr/sbin]# ln -s /usr/sbin/exim /usr/sbin/sendmail
root@abc [/usr/sbin]# mv /etc/eximmailtrap /etc/eximmailtrap.157979

I was then able to send messages from Squirrelmail without any trouble.

thank you all
 

inda

Member
Dec 28, 2004
10
0
151
thank you but chmod did not fix the problem...

cPanel support sent me the fix:




I was then able to send messages from Squirrelmail without any trouble.

thank you all
Hello

the solutions working for me,
Thanks
 

CTC

Active Member
Nov 29, 2006
25
0
151
Mail send

I am having the same problem.

I know you said it is fixed, how is the cpanel support done.

can it be done via WHM?

:( i am pulling out my hair on this.
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
you will need a root ssh access to the server to execute command