- 论坛徽章:
- 0
|
zhangyan@tq.cn (燕子) 能帮我看看postfix的情况吗?
安装完后postfix能启动,在修改完mail.cf文件后,postfix不能启动了!!!
防火墙已经关闭,重启过计算机。mail.cf更改了下面几项:
详细内容:
#myhostname = host.domain.tld (指定运行Postfix邮件系统的主机名称)
更改为:
myhostname =mail.haohao.com
#mydomain = domain.tld (指定Postfix邮件系统使用的域名比例:easy.com)
更改为:
mydomain = haohao.com
#myorigin = $mydomain (指定发件人所在的域名比例:easy.com)
更改为:
myorigin = haohao.com
#inet_interfaces = all (指定Postfix邮件系统监视的网络接口)
更改为:
Inet_interfaces =all
#mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, ail.$mydomain,
www.$mydomain, ftp.$mydomain (指定Postfix接收邮件时收件人的域名)
更改为:
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain, mail.$mydomain, www.$mydomain,ftp.$mydomain
#mynetworks = host (指定您所在的网络地址)
更改为:
mynetworks = host
Oct 25 09:45:49 mail postfix[2827]: fatal: file /etc/postfix/main.cf: parameter mail_owner: unknown user name value: postfix myhostname = mail
.haohao.com mydomain = haohao.com myorigin = haohao.com inet_interfaces = all mydestination = mail.haohao.com, localhost.haohao.com, localhost
, haohao.com,?mail.haohao.com, www.haohao.com, ftp.haohao.com
[root@mail ~]# host mail.haohao.com
mail.haohao.com has address 192.168.1.225
[root@mail ~]# host 192.168.1.225
225.1.168.192.in-addr.arpa domain name pointer www.haohao.com.
225.1.168.192.in-addr.arpa domain name pointer mail.haohao.com.
[root@mail conf]# more /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.253 coserver
192.168.1.225 mail.haohao.com
192.168.1.225 www.haohao.com
[root@mail named]# more haohao.com.zone
$TTL 2h
haohao.com. IN SOA www.haohao.com. master.haohao.com. (
20040730;
2h;
40m;
1w;
2h;
)
haohao.com. IN NS www.haohao.com.
mail IN A 192.168.1.225
www IN A 192.168.1.225
haohao.com. IN MX 10 mail.haohao.com.
[root@mail named]# more haohao.com.arpa
$TTL 2h
@ IN SOA www.haohao.com. master.haohao.com. (
20040730;
2h;
40m;
1w;
2h;
)
1.168.192.in-addr.arpa. IN NS www.haohao.com.
225 IN PTR mail.haohao.com.
225 IN PTR www.haohao.com.
请帮帮忙!!!这几天要调通,谢谢! |
|