发新话题
打印

centos4+extmail+extman+FCGI+postfix+ldap+courier-imap+maildrop+SA+amavis+SASL+TLS+clamav

please try the auto installer at http://extmail.org/forum/viewthread.php?tid=2195 .
文章 - Ethan
Redhat Certifed Technician , Paypal Certified Developer

TOP

感谢ethan的辛苦工作
我是一个新手,有一个问题需要请教
yum -y update 失败,不知什么原因。
Setting up Update Process
Setting up repositories
http://mirror.centos.org/centos/ ... epodata/repomd.xml: [Errno 4] IOError: <urlopen error (-3, &#39;\xd3\xf2\xc3\xfb\xbd\xe2\xce\xf6\xd4\xdd\xca\xb1\xca\xa7\xb0\xdc&#39;)>
Trying other mirror.
Cannot open/read repomd.xml file for repository: update
failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
Error: failure: repodata/repomd.xml from update: [Errno 256] No more mirrors to try.
曲终人不见,江上数峰青。

TOP

starting TLS engine
Jul 25 16:50:37 mail postfix/smtpd[13733]: unable to get certificate from &#39;/etc/postfix/newcert.pem&#39;
Jul 25 16:50:37 mail postfix/smtpd[13733]: 13733:error:0906D06CEM routinesEM_read_bio:no start line:pem_lib.c:632:Expecting: CERTIFICATE:
Jul 25 16:50:37 mail postfix/smtpd[13733]: 13733:error:140DC009:SSL routines:SSL_CTX_use_certificate_chain_fileEM lib:ssl_rsa.c:765:
Jul 25 16:50:37 mail postfix/smtpd[13733]: TLS engine: cannot load RSA cert/key data

从哪个方向去解决?

TOP

引用:
yum -y update 失败
please check if the server able to access internet.
引用:
unable to get certificate from &#39;/etc/postfix/newcert.pem&#39;
this is the key for your answer
文章 - Ethan
Redhat Certifed Technician , Paypal Certified Developer

TOP

yum -y update 失败

server通过代理可以连接internet,firefox能够浏览网页,我已经把CentOS-Base.repo中baseurl的注释去掉,DNS也设置的没有问题,修改//etc/yum.conf,增加proxy=http://10.37.0.7:8080,
但是错误依然存在,请指点迷津吧。谢谢。
我的msn :zhaoxl90911@hotmail.com
曲终人不见,江上数峰青。

TOP

I think this is the proxy issue, the yum application default is using the port 80 to contact the server. So maybe you need to study on how to change the yum to listen to port 8080
文章 - Ethan
Redhat Certifed Technician , Paypal Certified Developer

TOP

outlook express 无法发信:
日志如下:
Jul 27 10:04:34 mail postfix/smtpd[12481]: starting TLS engine
Jul 27 10:04:34 mail postfix/smtpd[12481]: connect from unknown[192.168.99.25]
Jul 27 10:04:35 mail postfix/smtpd[12481]: NOQUEUE: reject: RCPT from unknown[192.168.99.25]: 554 <exping@163.com>: Relay access denied; from=<test@xxx.cn> to=<exping@163.com> proto=ESMTP helo=<sr4212>
Jul 27 10:04:35 mail postfix/smtpd[12481]: disconnect from unknown[192.168.99.25]

outlook 日志如下:
由于服务器拒绝收件人之一,无法发送邮件。被拒绝的电子邮件地址是“exping@163.com”。 主题 &#39;测试outlook&#39;, 帐户: &#39;mail.xxx.cn&#39;, 服务器: &#39;mail.xxx.cn&#39;, 协议: SMTP, 服务器响应: &#39;554 <exping@163.com>: Relay access denied&#39;, 端口: 25, 安全(SSL): 否, 服务器错误: 554, 错误号: 0x800CCC79

web 收发正常。

[root@mail ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is &#39;^]&#39;.
220 mail.xxx.cn ESMTP
ehlo localhost
250-mail.xxx.cn
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250 8BITMIME

请助!
还需要提供哪个文件内容?

TOP

yum -y update 失败

问题已经解决。代理设置错了。
曲终人不见,江上数峰青。

TOP

引用:
outlook express 无法发信:
将/etc/postfix/main.cf 里的
引用:
smtpd_helo_restrictions =  check_helo_access hash:/etc/postfix/helo_access, reject_invalid_hostname
改成
引用:
smtpd_helo_restrictions =  check_helo_access hash:/etc/postfix/helo_access
之后
引用:
service postfix restart
试试看行吗...
文章 - Ethan
Redhat Certifed Technician , Paypal Certified Developer

TOP

vi /etc/postfix/main.cf
# Anti UCE ( Spam ) restrictions
#####################################################
disable_vrfy_command = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes

# Check if the sending client (Server IP) is whitelisted or blacklisted
smtpd_client_restrictions = check_client_access hash:/etc/postfix/client_access

# Check during the client issue HELO command
#smtpd_helo_restrictions =  check_helo_access hash:/etc/postfix/helo_access, reject_invalid_hostname
smtpd_helo_restrictions =  check_helo_access hash:/etc/postfix/helo_access

# Determine if the individual sender can send or not to the server. Usefull to whitelist all those blacklisted email address
smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access, reject_non_fqdn_sender, reject_unknown_sender_domain


# Most important rule that defined the rule that is left out
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain,
reject_unverified_recipient, reject_unauth_destination


#This prevents the connecting client from pipelining SMTP commands
smtpd_data_restrictions =  reject_unauth_pipelining

vi /etc/postfix/helo_access
#10.0.0.3                              REJECT
#localhost              REJECT
#mail.xxx.cn              OK

#
#                                      ACCESS(5)
localhost           REJECT

service postfix restart ...
由于服务器拒绝收件人之一,无法发送邮件。被拒绝的电子邮件地址是“exping@163.com”。 主题 &#39;测试outlook&#39;, 帐户: &#39;mail.xxx.cn&#39;, 服务器: &#39;mail.xxx.cn&#39;, 协议: SMTP, 服务器响应: &#39;554 <exping@163.com>: Relay access denied&#39;, 端口: 25, 安全(SSL): 否, 服务器错误: 554, 错误号: 0x800CCC79

求问!

TOP

did you start the saslauthd service ? if not start, please start it, if not you will not be able to authenticate and send email
文章 - Ethan
Redhat Certifed Technician , Paypal Certified Developer

TOP

[root@mail ~]# service saslauthd  restart
Stopping saslauthd:                           [  OK  ]
Starting saslauthd:                           [  OK  ]
[root@mail ~]# service postfix restart
Shutting down postfix:                         [  OK  ]
Starting postfix:                            [  OK  ]
Jul 27 17:46:23 mail postfix/smtpd[12903]: starting TLS engine
Jul 27 17:46:23 mail postfix/smtpd[12903]: connect from unknown[192.168.99.25]
Jul 27 17:46:23 mail postfix/cleanup[12906]: 6398A125234: message-id=<20060727094623.6398A125234@mail.xxx.cn>
Jul 27 17:46:23 mail postfix/qmgr[12902]: 6398A125234: from=<postmaster@xxx.cn>, size=252, nrcpt=1 (queue active)
Jul 27 17:46:23 mail postfix/smtp[12907]: 6398A125234: to=<exping@163.com>, relay=mx.mail.163.split.netease.com[202.108.5.121], delay=0, status=deliverable (250 Mail OK)
Jul 27 17:46:23 mail postfix/qmgr[12902]: 6398A125234: removed
Jul 27 17:46:26 mail postfix/smtpd[12903]: NOQUEUE: reject: RCPT from unknown[192.168.99.25]: 554 <exping@163.com>: Relay access denied; from=<test@xxx.cn> to=<exping@163.com> proto=ESMTP helo=<sr4212>
Jul 27 17:46:26 mail postfix/smtpd[12903]: disconnect from unknown[192.168.99.25]

另:postmaster 不是outlook 发送的

还可能有什么原因?

TOP

这个test@xxx.cn存在吗?Relay access denied 说postfix 不接受以test@xxx.cn发送.can you email to me and provide me with the login information to help you?
文章 - Ethan
Redhat Certifed Technician , Paypal Certified Developer

TOP

好的!
Jul 27 18:10:46 mail postfix/pickup[12901]: E4C9512524F: uid=500 from=<test@xxx.cn>
Jul 27 18:10:46 mail postfix/cleanup[12912]: E4C9512524F: message-id=<20060727101046.E4C9512524F@mail.xxx.cn>
Jul 27 18:10:46 mail postfix/qmgr[12902]: E4C9512524F: from=<test@xxx.cn>, size=12586, nrcpt=1 (queue active)
Jul 27 18:10:55 mail postfix/smtp[12914]: E4C9512524F: to=<voon_chong82@msn.com>, relay=mx2.hotmail.com[65.54.244.168], delay=9, status=sent (250  <20060727101046.E4C9512524F@mail.xxx.cn> Queued mail for delivery)
Jul 27 18:10:55 mail postfix/qmgr[12902]: E4C9512524F: removed
等待中...

TOP

发新话题