Try 'sh /script/fix-chownchmod; sh /script/fixmail-all'.
Done as instructed. Not getting that previous error this time but mail is not getting delivered either.
Getting this in /var/log/maillogs -
Jan 18 14:14:43 server root: sendmail: CALLER="/usr/sbin/httpd" PWD="/home/trophy/trophy.com" BAN="no"
Jan 18 14:14:43 server send: new msg 110235503
Jan 18 14:14:43 server send: info msg 110235503: bytes 385 from <anonymous@webmail.vikalp.pro> qp 19720 uid 7802
Jan 18 14:14:43 server send: starting delivery 3: msg 110235503 to remote vikalp.ch@gmail.com
Jan 18 14:14:43 server send: status: local 0/10 remote 1/60
Jan 18 14:14:44 server send: delivery 3: success: User_and_password_not_set,_continuing_without_authentication./<vikalp.ch@gmail.com>_173.194.64.27_accepted_message.Remote_host_said:_250_2.0.0_OK_1484729520_v25si11131937otf.28_-_gsmtp/
Jan 18 14:14:44 server send: status: local 0/10 remote 0/60
Jan 18 14:14:44 server send: end msg 110235503
But still not receiving the mail.
Also, my domain registrar has provided me 2 free email accounts and unlimited email forwards, I am using my domain registrar control panel to manage, create and forward emails to my gmail account. Have not created any mail accounts inside Kloxo-MR(if this is of any help)
If I send the mail using Gmail or any other account the mail is getting delivered to my domain email (mail@domain.com) and getting forwarded to GMail too successfully. But if someone sends using the contact form in website(mail() function), mail is not delivered.
Any setting need to be adjusted inside php.ini or something?
Thanks.