Hello there,
some days ago I installed some packages which seems to crash the postfix environment. I tried to undo that and I am having a working environment again. But in one case I get some error messages which avoids sending of mails. (I also tried to purge postfix and let I-MSCP reinstall it.) It would be great if anyone is able to help me!
Every time a php script (and some tools like rss2mail) wants to send a mail using the default mail function a new entry inside the mail.log is generated and no mail is sent:
- Dec 21 16:00:10 srv postfix/sendmail[23768]: fatal: open /etc/postfix/main.cf: Permission denied
Permissions of /etc/postfix:
- drwxr-x--- 4 root root 4,0K Dez 18 11:46 ./
- drwxr-xr-x 157 root root 12K Dez 20 14:29 ../
- -rw-r--r-- 1 root root 108 Dez 15 11:12 dynamicmaps.cf
- drwxr-x--- 2 root root 4,0K Dez 18 01:39 imscp/
- -rw-r--r-- 1 root root 4,7K Dez 18 01:39 main.cf
- -rw-r--r-- 1 root root 4,0K Dez 18 01:38 master.cf
- -rw-r--r-- 1 root root 21K Apr 13 2016 postfix-files
- -rwxr-xr-x 1 root root 9,2K Apr 13 2016 postfix-script*
- -rwxr-xr-x 1 root root 29K Apr 13 2016 post-install*
- -rw-r--r-- 1 root root 261 Dez 15 11:14 postscreen_access.cidr
- drwxr-xr-x 2 root root 4,0K Apr 13 2016 sasl/
Display More
Support details:
OS: Ubuntu 16.04.1 LTS (xenial)
Version: Linux srv 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
I-MSCP: 1.3.9 Build 20161216 (Horner)
Postfix version: 3.1.0
Reproduce: php sends an email using internal functionality for it