linux下安装Bugzilla(四)
来源:互联网 发布:com1端口访问被拒绝 编辑:程序博客网 时间:2024/05/22 04:58
九、sendmail 的配置
yum -y install sendmail sendmail-cf m4 cyrus-sasl
cp /etc/mail/sendmail.mc /etc/mail/sendmail.mc.bak
首先进入 /etc/mail 目录
1、配置文件 sendmail.mc
(1)打开文件 sendmail.mc
vi sendmail.mc(2)在命令状态下,输入
/DAEMON_OPTIONS查找字符串:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl(3)在该字符串前面加上dnl ,把该行注释掉,即:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl保存退出
(4)执行命令
cp /etc/mail/sendmail.cf /etc/mail/sendmail.cf.bak
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
输出新的配置文件
2、配置文件access
(1)打开文件 access
vi access(2)在文件中添加
192.168.94RELAY(注意:网段根据实际确定)
保存退出
(3)执行命令
makemap hash /etc/mail/access.db < /etc/mail/access建立索引文件
3、配置文件local-host-names
(1)打开文件 local-host-names
vi local-host-names (2)在文件中添加
btest.com
mail.btest.com
设置本地域名,以进行本地传递
4、修改hosts文件,用于接收邮件
hosts文件位于 /etc目录下
(1)进入/etc目录,打开hosts文件
vi hosts(2)添加linux服务器的IP地址和别名,内容如下:
192.168.94.40btest.com5、修改完以上配置文件,重启sendmail
/etc/rc.d/init.d/sendmail restart- linux下安装Bugzilla(四)
- linux下安装bugzilla
- Linux下安装Bugzilla
- Linux下安装bugzilla
- linux下安装BugZilla
- linux下安装bugzilla
- linux下安装Bugzilla(一)
- linux下安装Bugzilla(二)
- linux下安装Bugzilla(三)
- 如何在linux系统下安装bugzilla
- Linux下bugzilla的安装方法
- Linux下bugzilla的安装方法
- Linux下Bugzilla的安装与配置
- Gentoo Linux下Bugzilla安装配置说明
- Linux下bugzilla的安装方法
- Win2000下安装bugzilla心得(一)
- Win2000下安装bugzilla心得(二)
- Windows下安装Bugzilla
- 一个程序员的随想1
- linux下安装Bugzilla(三)
- Linux GCC常用命令
- GVIM常用快捷操作备忘
- verilog uart
- linux下安装Bugzilla(四)
- iso开发关键字详解
- POJ1007浅析------DNA Sorting(排列DNA)
- How Will You Measure Your Life? ——by Clayton M. Christensen
- How to insert a SWF file in an ASDoc API documentation ?
- Android不同手机屏幕分辨率自适应
- Windows Phone开发之集合List和Foreach循环
- Java设计模式
- GVIM配置脚本--.vimrc