So I keep getting the following error in apache logs:
sendmail: fatal: open /etc/postfix/main.cf: No such file or directory
And I'm trying to figure out where/when it's being attempted, but I can't figure out where in the apache logs I'm supposed to change the conf in order to get this to show more information. Any ideas?
I have the following in my apache2.conf (which I assumed would make it dislay the proper formatting):
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
Note, I don't want to fix the error itself (aka make it so that the file exists, fix postfix etc.) I just want to know what is trying to execute the sendmail command.