useradd westos
passwd westos
[root@westos ~]# cd /etc/postfix/
[root@westos postfix]# ls
access generic main.cf relocated virtual
canonical header_checks master.cf transport
[root@westos postfix]# vim access
172.25.254.149 REJECT 最後一行添加要禁止的
[root@westos postfix]# postmap access 執行完會出現新的db文件
[root@westos postfix]# ls
access canonical header_checks master.cf transport
access.db generic main.cf relocated virtual
[root@westos postfix]# postconf -d | grep client