the service postfix reload had no effect so i tried service postfix stop and service postfix start. and now the warning has changed to as below:
what should be the correct ower for the below two files? i tried changing it to root and the postfix service crashed and failed to restart
?
: warning: not owned by root: /etc/postfix/./vacation.php
: warning: not owned by root: /etc/postfix/./mysql-virtual_vacation.cf
[root@server run]# ll /etc/postfix/.
total 296
-rw-r--r-- 1 root root 21535 Sep 25 2019 access
-rw-r--r-- 1 root root 13194 Sep 25 2019 canonical
-rw-r--r-- 1 root root 10221 Sep 25 2019 generic
-rw-r--r-- 1 root root 23802 Sep 25 2019 header_checks
-rw-r--r-- 1 root root 3521 May 22 21:29 main.cf
-rw-r--r-- 1 root root 3420 May 22 08:44 main.cf_backup
-rw-r--r-- 1 root root 4738 May 22 08:44 master.cf
-rw-r--r-- 1 root root 4628 May 22 08:44 master.cf_backup
-rw-r--r-- 1 root root 317 Mar 27 2017 mynetworks
-rw-r----- 1 root mail 144 May 22 08:44 mysql-relay_domains_maps.cf
-rw-r----- 1 root mail 242 May 22 08:44 mysql-virtual_alias_default_maps.cf
-rw-r----- 1 root mail 159 May 22 08:44 mysql-virtual_alias_maps.cf
-rw-r----- 1 root mail 150 May 22 08:44 mysql-virtual_alias_pipe_maps.cf
-rw-r----- 1 root mail 161 May 22 08:44 mysql-virtual_domains_maps.cf
-rw-r----- 1 root mail 144 May 22 08:44 mysql-virtual_mailbox_limit_maps.cf
-rw-r----- 1 root mail 146 May 22 08:44 mysql-virtual_mailbox_maps.cf
-rw-r----- 1 vacation mail 217 May 22 08:44 mysql-virtual_vacation.cf
-rw-r--r-- 1 root root 0 Mar 19 19:22 postfix-files
-rw-r--r-- 1 root root 6929 Sep 25 2019 relocated
-rw-r--r-- 1 root root 153 Mar 27 2017 sender_blacklist
-rw-r--r-- 1 root root 12288 Mar 21 15:29 sender_blacklist.db
-rw-r--r-- 1 root root 137 Mar 27 2017 sender_whitelist
-rw-r--r-- 1 root root 12288 Mar 21 15:29 sender_whitelist.db
-rw-r--r-- 1 root root 50 May 22 08:44 transport
-rw-r--r-- 1 root root 12288 May 22 08:44 transport.db
-rw-r--r-- 1 root root 4714 Apr 26 16:27 vacation_class.php
-rw-r--r-- 1 root root 135 Mar 27 2017 vacation.conf
-rwxr-xr-x 1 vacation root 2599 Mar 10 01:47 vacation.php
-rw-r--r-- 1 root root 24211 Mar 27 2017 vacation.pl
-rw-r--r-- 1 root root 2394 Apr 26 16:27 vacation.zip
-rw-r--r-- 1 root root 13963 Sep 25 2019 virtual
-rw-r--r-- 1 root root 12288 May 22 23:17 virtual.db
-rw-r--r-- 1 root root 0 Mar 19 19:21 virtual_regexp
-rw-r--r-- 1 root root 488 May 22 22:05 vmail_ssl.map
-rw-r--r-- 1 root root 45056 May 26 10:11 vmail_ssl.map.db