I am getting an error using my board when sending mail using the sendmail in PHP. I submitted a trouble ticket to my hosting company. I have root access to the server. This is the responce they gave me:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]
It seems in php.ini the file specified is
/usr/sbin/sendmail -t -i but this is calling /usr/sbin/sendmail.real which cannot be found in the sbin.
root@www [/var/log]# /usr/sbin/sendmail -t -i
cannot open /usr/sbin/sendmail.real: No such file or directoryn at /usr/sbin/sendmail line 23.
to resolve this issue you will need a valid path in
my $mailprog =
located in /usr/sbin/sendmail
I searched in that directory and I don't have that sendmail.real file. My question is how do I fix this problem? Do I just make my own sendmail.real file, if so, how? Thanks for your help guys.
UPDATE: This is the responce I got from the tech support:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]It appears that you have corrected the issues with sendmail's symbolic link but it does not have the correct permissions and ownership right now. You will need to set this files mode to 2755 and the ownership to root:mailtrap.[/quote]
How would I go about setting the file modes to 2755 and which files do I set to this value?
PHP Mail() Error
No replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users