sendmail的安装
来源:互联网 发布:flash是什么软件下载 编辑:程序博客网 时间:2024/04/29 16:57
sendmail的安装,您首先要保证域名提供商为你的主机做了MX记录的域名解析。我做的MX记录如下。
名 称:abc.com
类 型:mx(10)
主机名:mx1.abc.com
同时给主机做了mx1.abc.com的A记录。
测试MX记录是否生效,您可以用nslookup
#nslookup
> set q=mx
> abc.com
这时您就会从系统显示出的信息中看到您的MX记录是否生效。
REDHAT7.0安装完毕后,系统默认已经安装了sendmail-cf-8.11.0-8.i386.rpm软件包,请检查/etc/下是否有sendmail.cf文件,如果没有,请安装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格式的信件)
为了用户可以使用foxmail,outlook等软件进行收信。您需要安装imap。打开系统的pop3端口。
请查看/usr/sbin/下是否含有ipop2d、ipop3d文件,如没有,请安装imap-4.7c2-12.i386.rpm软件包。
配置:
/etc/xinetd.d/ipop2
默认:disable=yes 改为:disable=no
/etc/xinetd.d/ipop3
默认:disable=yes 改为:disable=no
/etc/xinetd.d/ipop3
默认:disable=yes 改为:disable=no
/etc/xinetd.d/pops
默认:disable=yes 改为:disable=no
最后:
/etc/rc.d/init.d/xinetd restart
邮件系统用户的添加与删除:
添加:
# /user/sbin/useradd username mail
#passwd username
#chsh username
/bin/true(更新用户的shells)
删除:
#/ /usr/sbin/userdel username
这时,如果您的MX记录解析成功,工作正常,上述操作无误,您就可以在windows客户端通过foxmail,outlook进行收发邮件了,设置:邮箱地址:username@abc.com,账号:username,口令:网络管理员会告诉你,pop3:mx1.abc.com smtp:mx1.abc.com
名 称:abc.com
类 型:mx(10)
主机名:mx1.abc.com
同时给主机做了mx1.abc.com的A记录。
测试MX记录是否生效,您可以用nslookup
#nslookup
> set q=mx
> abc.com
这时您就会从系统显示出的信息中看到您的MX记录是否生效。
REDHAT7.0安装完毕后,系统默认已经安装了sendmail-cf-8.11.0-8.i386.rpm软件包,请检查/etc/下是否有sendmail.cf文件,如果没有,请安装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格式的信件)
为了用户可以使用foxmail,outlook等软件进行收信。您需要安装imap。打开系统的pop3端口。
请查看/usr/sbin/下是否含有ipop2d、ipop3d文件,如没有,请安装imap-4.7c2-12.i386.rpm软件包。
配置:
/etc/xinetd.d/ipop2
默认:disable=yes 改为:disable=no
/etc/xinetd.d/ipop3
默认:disable=yes 改为:disable=no
/etc/xinetd.d/ipop3
默认:disable=yes 改为:disable=no
/etc/xinetd.d/pops
默认:disable=yes 改为:disable=no
最后:
/etc/rc.d/init.d/xinetd restart
邮件系统用户的添加与删除:
添加:
# /user/sbin/useradd username mail
#passwd username
#chsh username
/bin/true(更新用户的shells)
删除:
#/ /usr/sbin/userdel username
这时,如果您的MX记录解析成功,工作正常,上述操作无误,您就可以在windows客户端通过foxmail,outlook进行收发邮件了,设置:邮箱地址:username@abc.com,账号:username,口令:网络管理员会告诉你,pop3:mx1.abc.com smtp:mx1.abc.com
- sendmail的安装
- Sendmail的安装配置
- sendmail安装
- sendmail 安装
- sendmail 安装
- 快速安装配置sendmail服务器的脚本
- 十分钟安装带认证的sendmail
- Ubuntu中sendmail的安装、配置
- sendmail邮箱的安装与测试
- sendMail在centos下的安装
- 快速安装SendMail
- sendmail webmail安装
- sendmail后续-安装webopenmail
- 安装配置sendmail服务器
- sendmail + sasl2安装笔记
- 安装配置Sendmail
- sendmail安装配置笔记
- sendmail安装配置笔记
- Linux下安装WINE支持汉字教程
- 四川大学江安校区小游
- 【20051211】带分隔符的宏定义需注意的问题
- 用ADODB方式导入EXCEL
- java多线程设计模式
- sendmail的安装
- 138的同学们,空间提供商的服务器出了问题,正在想办法解决,将可能有一周的时间不能上同学录
- 突击Spring
- Eclipse基础--Eclipse资源
- Eclipse基础--安装eclipse及语言包
- Eclipse基础--使用links方式安装Eclipse插件
- 人在大三,前途一片渺茫
- 结合ACCESS数据库开发过程中遇到的问题解决方案(转载)
- 军用计算机安全术语