Redhat Sendmail配置详解

Redhat Sendmail配置详解

ID:37713380

大小:19.14 KB

页数:6页

时间:2019-05-29

Redhat Sendmail配置详解_第1页
Redhat Sendmail配置详解_第2页
Redhat Sendmail配置详解_第3页
Redhat Sendmail配置详解_第4页
Redhat Sendmail配置详解_第5页
资源描述:

《Redhat Sendmail配置详解》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

1、RedhatSendmail配置详解一、软件包1.dovecot-1.2.12.tar.gz2.Sendmail二、安装步骤1.安装dovecot一、RPM格式1。安装RPM包;2。编辑/etc/dovecot.conf其中,修改protocols=imappop3passdbpasswd{ }passdbshadow{ }3。启动#servicedovecotstart 二、tar.gz包的安装1。下载地址:(目前最新版本)http://www.dovecot.org/releases/dovecot-1.2.12.tar.gz2。安装:#tarzxvfdovecot-1.2.12.t

2、ar.gz#cddovecot-1.2.12#./configure--prefix=/usr/local/dovecot--sysconfdir=/usr/local/etc--with-mysql--without-ssl--disable-ipv6#make#makeinstall#cp/usr/local/etc/dovecot-example.conf/usr/local/etc/dovecot.conf 3。建立启动进程所依赖的用户#useradd-s/bin/false-d/dev/nulldovecot 4。修改配置文件编辑/usr/local/etc/dovecot.c

3、onf其中,修改protocols=imappop3ssl_disable=yespassdbpasswd{ }passdbshadow{ }5。启动#/usr/local/dovecot/sbin/dovecot 6。可以把启动命令写进/etc/rc.d/rc.local文件,以使得系统启动时能自动启动服务。#echo"/usr/local/dovecot/sbin/dovecot">>/etc/rc.d/rc.local 7。验正(1)验正POP3#telnetlocalhost110Trying127.0.0.1...Connectedtolocalhost.localdomain

4、(127.0.0.1).Escapecharacteris'^]'.+OKDovecotready. (2)验正imap#telnetlocalhost143Trying127.0.0.1...Connectedtolocalhost.localdomain(127.0.0.1).Escapecharacteris'^]'.*OKDovecotready.Yum–yinstallsendmailChkconfigsendmailonServicesendmailrestart修改/etc/mail/sendmail.mc.divert(-1)dnldnl#dnl#Thisisthesen

5、dmailmacroconfigfileform4.Ifyoumakechangestodnl#/etc/mail/sendmail.mc,youwillneedtoregeneratethednl#/etc/mail/sendmail.cffilebyconfirmingthatthesendmail-cfpackageisdnl#installedandthenperformingadnl#dnl#    make-C/etc/maildnl#include(`/usr/share/sendmail-cf/m4/cf.m4')dnlVERSIONID(`setupforRedHatL

6、inux')dnlOSTYPE(`linux')dnldnl#dnl#Uncommentandeditthefollowinglineifyouroutgoingmailneedstodnl#besentoutthroughanexternalmailserver:dnl#dnldefine(`SMART_HOST',`smtp.your.provider')dnl#define(`confDEF_USER_ID',``8:12'')dnldefine(`confTRUSTED_USER',`smmsp')dnldnldefine(`confAUTO_REBUILD')dnldefine

7、(`confTO_CONNECT',`1m')dnldefine(`confTRY_NULL_MX_LIST',true)dnldefine(`confDONT_PROBE_INTERFACES',true)dnldefine(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')dnldefine(`ALIAS_FILE',`/etc/aliases')dnldnldefine(`STATUS_FI

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。