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

Linux下的Sendmail配置的簡(jiǎn)單流程

運(yùn)維 系統(tǒng)運(yùn)維
Sendmail是最重要的郵件傳輸代理程序。人們?cè)诨ヂ?lián)網(wǎng)上最常使用的就是電子郵件,很多企業(yè)用戶也經(jīng)常使用免費(fèi)電子郵件系統(tǒng)。本文就介紹下Linux下Sendmail配置的簡(jiǎn)單流程。

我們平常用的最多的工具之一就是電子郵件,而Sendmail是最重要的郵件傳輸代理程序。本文將帶大家看下Sendmail在Linux下是如何配置的。

  Sendmail的安裝,您首先要保證域名提供商為你的主機(jī)做了MX記錄的域名解析。我做的MX記錄如下。

  名 稱:abc.com

  類 型:mx(10)

  主機(jī)名:mx1.abc.com

  同時(shí)給主機(jī)做了mx1.abc.com的A記錄。

  測(cè)試MX記錄是否生效,您可以用nslookup

  #nslookup

  > set q=mx

  > abc.com

  這時(shí)您就會(huì)從系統(tǒng)顯示出的信息中看到您的MX記錄是否生效。

  Redhat安裝完畢后,系統(tǒng)默認(rèn)已經(jīng)安裝了Sendmail-cf-8.11.0-8.i386.rpm軟件包,請(qǐng)檢查/etc/下是否有Sendmail.cf文件,如果沒有,請(qǐng)安裝Sendmail-cf-8.11.0,-8.i386.rpm的軟件包,在Linux的光盤中有。

  配置:

  /etc/sendmail.cf

  Cwlocalhost abc mx1.abc.com

  /etc/mail/access

  添加:

  1.2.3.4RELAY(1.2.3.4是我的IP)

  /etc/mail/local-host-names

  abc.com(添加一別名,為了收取user@abc.com格式的信件)

#p#

  為了用戶可以使用Foxmail,Outlook等軟件進(jìn)行收信。您需要安裝Imap。打開系統(tǒng)的POP3

  端口。

  請(qǐng)查看/usr/sbin/下是否含有ipop2d、ipop3d文件,如沒有,請(qǐng)安裝imap-4.7c2-12.i386.rpm軟件包。

  配置:

  /etc/xinetd.d/ipop2

  默認(rèn):disable=yes 改為:disable=no

  /etc/xinetd.d/ipop3

  默認(rèn):disable=yes 改為:disable=no

  /etc/xinetd.d/ipop3

  默認(rèn):disable=yes 改為:disable=no

  /etc/xinetd.d/pops

  默認(rèn):disable=yes 改為:disable=no

  ***:

  /etc/rc.d/init.d/xinetd restart

  郵件系統(tǒng)用戶的添加與刪除:

  添加:

  # /user/sbin/useradd username mail

  #passwd username

  #chsh username

  /bin/true(更新用戶的shells)

  刪除:

  #/ /usr/sbin/userdel username

  這時(shí),如果您的MX記錄解析成功,工作正常,上述操作無誤,您就可以在Windows客戶端通過Foxmail,Outlook進(jìn)行收發(fā)郵件了,設(shè)置:郵箱地址:username@abc.com,賬號(hào):username,口令:網(wǎng)絡(luò)管理員會(huì)告訴你,POP3:mx1.abc.com SMTP:mx1.abc.com

閱讀完這篇文章,我們可以清楚的看到Linux下Sendmail配置的簡(jiǎn)單流程。希望對(duì)大家有幫助!

【編輯推薦】

  1. Linux sendmail配置、安裝和測(cè)試
  2. Linux sendmail配置安裝實(shí)現(xiàn)
  3. Sendmail 配置具體命令詳解
  4. 解決Sendmail 配置的兩種方案
  5. ubuntu sendmail安裝和使用具體實(shí)現(xiàn)
  6. Windows下php sendmail配置實(shí)現(xiàn)
  7. 在php sendmail Windows下配置的具體實(shí)現(xiàn)
  8. Linux 內(nèi)核 2.6.38主要開發(fā)階段完成
  9. Linux磁盤配額的設(shè)置與檢測(cè)

 

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

2011-01-18 14:24:03

Linuxsendmail配置

2011-01-18 16:23:23

2011-01-21 09:32:57

LinuxSendmail

2010-08-26 15:59:17

linux

2011-02-21 14:59:50

Linuxsendmail安裝

2010-05-25 15:43:07

Sendmail配置

2010-06-11 17:04:45

php sendmai

2010-06-07 10:01:26

Linux sendm

2010-06-07 09:47:34

php sendmai

2011-01-21 10:40:52

Sendmail

2009-07-27 10:25:58

Linux字體配置操作系統(tǒng)

2010-06-03 13:56:54

Sendmail 配置

2010-05-25 16:03:18

sendmail配置

2010-06-02 16:31:28

Linux sendm

2010-06-02 16:10:04

php sendmai

2010-06-03 13:49:04

Sendmail 配置

2009-06-08 17:50:00

javalinuxjsp

2010-06-03 13:44:35

Sendmail配置

2009-08-14 13:30:44

配置linux虛擬機(jī)s

2011-01-21 10:58:57

sendmail流程
點(diǎn)贊
收藏

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