郵件

 

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


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章