I just had my server upgraded from Centos 4.9 to Centos 6.2
The following line is getting logged to my /etc/httpd/logs/error_log (no timestamp, but it gets logged at least every few seconds) :
sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?
Any idea what it might be or how I could stop this error to get logged ?
All I could think of was doing the following… and long and behold, I get the same error:
root@vps1 [/]# whereis sendmail
sendmail: /usr/sbin/sendmail /usr/lib/sendmail
root@vps1 [/]# /usr/lib/sendmail stop
sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?
sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?
root@vps1 [/]# /usr/lib/sendmail restart
sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?
sendmail: Not running with correct effective GID. Is sendmail binary setgid mailtrap?
This fixed it for me: