自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Sendmail配置筆記之配置篇

運(yùn)維 系統(tǒng)運(yùn)維
本文主要講述的是sendmail的安裝以及配置的筆記。sendmail的安裝方法有哪些?Sendmail的安裝步驟、安裝Sendmail的參數(shù)、如何啟動(dòng)服務(wù)器、文件都有哪些、該如何配置。

sendmail配置

1.添加可以用來收發(fā)信件的主機(jī)名:

  [root@redhatlinux9 root]# vi /etc/mail/local-host-names

  xyz.com

  mail.xyz.com

2.編輯可使用服務(wù)器權(quán)限(即RELAY權(quán)限):

  [root@redhatlinux9 RPMS]# vi /etc/mail/access

  規(guī)定范圍 可執(zhí)行操作

  ip/ip段/主機(jī)名/E-mail RELAY/DISCARD/REJECT 接受/丟棄/拒絕并回傳錯(cuò)誤信息

  localhost RELAY

  192.168.0 RELAY

  h8h.com DISCARD

  55@3.com REJECT

  [root@redhatlinux9 root]# makemap hash /etc/mail/access.db < /etc/mail/access #服務(wù)器讀取的是數(shù)據(jù)庫(kù)文件,所以編輯完后要改寫成數(shù)據(jù)庫(kù)

3.設(shè)置用戶別名

  /etc/mail/aliases

  情況1:群組寄信功能

  收件者帳號(hào) 真實(shí)帳號(hào)

  wangwei(此號(hào)可隨便取): aaa, bbb, ccc #則發(fā)給wangwei的信會(huì)發(fā)給abc三個(gè)人

  情況2:設(shè)置用戶別名和備分

  a1: a2 #則發(fā)給a1和a2的信都可用a2這個(gè)帳號(hào)來收取。兩個(gè)號(hào)只需a2這一個(gè)實(shí)體號(hào)即可

  b1: b1, j@163.com #發(fā)給b1的信,還會(huì)額外寄到j(luò)@163.com上

  情況3:文件類型的別名include

  vi /etc/mail/student #這個(gè)文件可以隨便創(chuàng)建一個(gè)

  zhangsan, \

  lisi, \

  ...

  wangwu #***一個(gè)帳號(hào)后不能加符號(hào)

  vi /etc/mail/aliases

  student: :include:/etc/mail/student #這樣文件顯得更整潔

4.信件列表與Mailer中的統(tǒng)計(jì)狀態(tài)

  暫時(shí)無法發(fā)送的信件每隔60分鐘嘗試重新傳送.

  修改時(shí)間:/etc/sysconfig/sendmail 里QUEUE=30m 修改為30分鐘

  [root@redhatlinux9 root]# mailq #查看信件列表

  [root@redhatlinux9 root]# mailstats #查看統(tǒng)計(jì)狀態(tài)

  M msgsfr bytes_from msgsto bytes_to msgsrej msgsdis mailer

  代號(hào) 發(fā)信數(shù)量 發(fā)信容量 收信數(shù) 收信容量 拒絕數(shù) 丟棄數(shù) 工作者

  M下的代號(hào)T表示總和。

【編輯推薦】 

  1. 在php sendmail Windows下配置的具體實(shí)現(xiàn)
  2. sendmail的安裝
  3. sendmail下設(shè)定郵箱大小
  4. Linux sendmail配置安裝實(shí)現(xiàn)
  5. Linux 下sendmail的配置
  6. Sendmail 配置下載及安裝

 

責(zé)任編輯:zhaolei 來源: 網(wǎng)絡(luò)轉(zhuǎn)載
相關(guān)推薦

2011-01-19 10:32:09

sendmail配置

2011-01-19 10:48:38

sendmail配置

2011-01-19 09:01:48

sendmail配置

2010-06-03 13:44:35

Sendmail配置

2011-01-21 09:32:57

LinuxSendmail

2011-01-21 15:40:56

Sendmail

2010-06-03 13:21:46

Sendmail 配置

2011-01-21 15:27:10

Sendmail

2011-01-18 14:24:03

Linuxsendmail配置

2010-05-25 15:43:07

Sendmail配置

2011-01-21 15:08:45

Sendmail

2010-06-07 10:41:25

2010-06-07 10:01:26

Linux sendm

2011-01-18 16:23:23

2010-06-03 13:56:54

Sendmail 配置

2011-03-08 16:30:40

Proftpd

2010-06-03 13:49:04

Sendmail 配置

2011-03-02 11:25:10

vsftpd配置

2013-07-22 18:01:12

VMwarevSphere

2010-06-07 09:47:34

php sendmai
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)