Closed jcrower closed 1 year ago
Can you try updating to the current version? Since 1.2.10 where some fixes regarding the postfix status.
Can't believe (well I can actually) what an idiot I am. I must have blindly copied a download link from somewhere and thought I was installing the latest version. Dangerous thing to do!
Anyway....
EDIT: I can run the postconf command manually, can't see any errors in any logs
I had a look in the sfversion.php file and it appears this is what it tries to run (below is me running the command manually). I can't see any errors that might suggest php can't run exec(); which postconf /usr/sbin/postconf_ /usr/sbin/postconf -d | grep 'mail_version =' | cut -d' ' -f3 3.5.9
I think that this error is related to this issue https://github.com/mailwatch/MailWatch/issues/1026#issuecomment-357818247
Yep that's it! Thanks endelwar.
Issue summary
Mailwatch reports MailScanner and Postfix not running
Steps to reproduce
Expected result
MailScanner and Postfix status should show green Ok and number of processes.
Actual result
MailScanner and Postfix show red No
Troubleshooting steps
I ran the command ps ax | grep MailScanner | grep -v grep as per another thread here and it returns the MailScanner processes. I can also run this command as the apache user successfully.
Installation
Version and method
Server configuration
Client configuration