- 1、本文档共6页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Redhat Sendmail配置详解
Redhat Sendmail配置详解软件包dovecot-1.2.12.tar.gzSendmail二、安装步骤1.安装dovecot一、RPM格式1。安装RPM包;2。编辑/etc/dovecot.conf其中,修改protocols = imap pop3passdb passwd {?}passdb shadow {? }3。启动#service dovecot start?二、tar.gz包的安装1。下载地址:(目前必威体育精装版版本)/releases/dovecot-1.2.12.tar.gz2。安装:#tar zxvf dovecot-1.2.12.tar.gz#cd dovecot-1.2.12#./configure --prefix=/usr/local/dovecot --sysconfdir=/usr/local/etc --with-mysql --without-ssl --disable-ipv6#make#make install# cp /usr/local/etc/dovecot-example.conf /usr/local/etc/dovecot.conf?3。建立启动进程所依赖的用户# useradd -s /bin/false -d /dev/null dovecot?4。修改配置文件编辑/usr/local/etc/dovecot.conf其中,修改protocols = imap pop3ssl_disable = yespassdb passwd {?}passdb shadow {? }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#telnet localhost 110Trying ...Connected to localhost.localdomain ().Escape character is ^].+OK Dovecot ready.?(2)验正imap#telnet localhost 143Trying ...Connected to localhost.localdomain ().Escape character is ^].* OK Dovecot ready.Yum –y install sendmailChkconfig sendmail onService sendmail restart修改 /etc/mail/sendmail.mc.divert(-1)dnldnl #dnl # This is the sendmail macro config file for m4. If you make changes todnl # /etc/mail/sendmail.mc, you will need to regenerate thednl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package isdnl # installed and then performing adnl #dnl #? ?? ?make -C /etc/maildnl #include(`/usr/share/sendmail-cf/m4/cf.m4)dnlVERSIONID(`setup for Red Hat Linux)dnlOSTYPE(`linux)dnldnl #dnl # Uncomment and edit the following line if your outgoing mail needs todnl # be sent out through an external mail server:dnl #dnl define(`SMART_HOST,`vider)dnl #define(`confDEF_USER_ID,``8:12)dnldefine(`confTRUSTED_USER, `smmsp)dnldnl define(`confAUTO_REBUILD)dnldefine(`confTO_CONNECT, `1m)dnldefine(`confTRY_NULL_MX_LIST,true)dnldefine(`confDONT_PROBE_INTERFACES,true)dnldefine(`PROCMAIL_MAILER_PATH,`/usr/bin/procmail)dnldefine(
文档评论(0)