アクセス制限
サーバーからのsecurity run outputメールが一日100KBくるので、アクセス制限をしてみる。
nano /etc/hosts.allow
---------------------------------------
ALL : localhost 127.0.0.1 [::1] : allow
rpcbind : ALL : deny
sshd : 192.168.1.24 .xxx.yyy.ne.jp
postfix : ALL : allow
sendmail : ALL : allow
dovecot : ALL : allow
---------------------------------------
*sshdでは192.168.1.24 .xxx.yyy.ne.jpの2つのIP、ホストを許可
nano /etc/hosts.deny (新規作成)
---------------------------------------
sshd : ALL
---------------------------------------