gsurface Posted May 8, 2006 Share Posted May 8, 2006 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 -icannot 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 inmy $mailprog =located in /usr/sbin/sendmail[/quote]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]My responce:How would I go about setting the file modes to 2755 and which files do I set to this value? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.