完整/正確配置exim伺服器的方法

來源:互聯網
上載者:User

完整/正確配置exim伺服器的方法 一般的debian主機都安裝過exim,沒有安裝的話,請先運行apt-get install exim4 配置方法1:運行dpkg-reconfigure exim4-config 第一個選項選第一個:internet site; mail is sent and received directly using SMTP 第二個選項輸入:你IP對應的DNS名稱(發郵件時顯示的@尾碼) 方法2:vim /etc/exim4/update-exim4.conf.conf dc_eximconfig_configtype='internet' #對應方法1第一項 dc_other_hostnames='你IP對應的DNS名稱' 然後重啟exim服務:invoke-rc.d exim4 restart 修改/var/log/exim4/檔案夾許可權: chown -R Debian-exim /var/log/exim4chmod -R u+rw /var/log/exim4(可選) 發一封郵件試試:echo "郵件內容“ | mail email地址 s="郵件標題" 察看有多少發件進程:exim -bpc 刪除發件進程中的郵件:exim -bpru | awk {'print $3'} | xargs exim -Mrm 如果出錯請: mkdir -p /var/log/exim4touch /var/log/exim4/mainlog  無報錯 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.