ブログ - postfix/postfix-script: warning: group or other writable: /Library/Server/Mail/Data/mta/.
postfix/postfix-script: warning: group or other writable: /Library/Server/Mail/Data/mta/.
- カテゴリ :
- サイト構築
- ブロガー :
- ujpblog 2018/4/13 1:02
postfixの設定ファイルが正しいかチェックする.
ワーニングが.該当のディレクトリが書き込み可能になっているのが問題.確認してみる.
グループ権限で書き込み可能になっている.権限をとって確認する.
再度チェック.
ワーニング無くなりました.
$ sudo postfix check🆑
postfix/postfix-script: warning: group or other writable: /Library/Server/Mail/Data/mta/.
$
$ sudo ls -la /Library/Server/Mail/Data/mta/🆑
total 4
drwxrwx--- 3 _postfix mail 96 4 11 01:16 .🈁
drwxr-xr-x 15 root mail 480 4 11 00:39 ..
-rw------- 1 _postfix wheel 33 4 12 00:07 master.lock
$
$ sudo chmod g-w /Library/Server/Mail/Data/mta🆑
$ sudo ls -la /Library/Server/Mail/Data/mta/🆑
Password:
total 4
drwxr-x--- 3 _postfix mail 96 4 11 01:16 .🈁
drwxr-xr-x 15 root mail 480 4 11 00:39 ..
-rw------- 1 _postfix wheel 33 4 12 00:07 master.lock
$
$ sudo postfix check🆑
$