ORF反垃圾邮件系统

邮件服务器-邮件系统-邮件技术论坛(BBS)

 找回密码
 会员注册
查看: 4911|回复: 1
打印 上一主题 下一主题

[求助]我虽为网管却自认很惭愧。请大师、高人为我指点迷津……置顶的帖子亦不能解

[复制链接]
跳转到指定楼层
顶楼
发表于 2005-2-1 21:02:35 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我虽为网管却自认很惭愧。请大师、高人为我指点迷津……置顶的帖子亦不能解决我的问题<br>
<br>
我虽为网管却自认很惭愧。请大师、高人为我指点迷津……<br>
<br>
再问“如何解决不能往163、sina发邮件问题”<br>
<br>
一、环境<br>
<br>
telnet mail.mydomain.com<br>
Red Hat Linux release 7.3 (Valhalla)<br>
Kernel 2.4.18-3 on an i686<br>
login:<br>
<br>
telnet mail.mydomain.com 25<br>
220 mail.mydomain.com ESMTP Sendmail 8.11.6/8.11.6; Tue, 1 Feb 2005 19:43:55 +0800<br>
<br>
二、现在的配置<br>
<br>
$ more /etc/hosts<br>
# Do not remove the following line, or various programs<br>
# that require network functionality will fail.<br>
127.0.0.1 localhost.localdomain localhost<br>
61.135.152.85 mail.mydomain.com mail mail.mydomain.com ns<br>
$ hostname --fqdn<br>
mail.mydomain.com<br>
<br>
$ more /var/named/s/mydomain.com.hosts<br>
@ IN SOA ns.mydomain.com. root.ns.mydomain.com. (<br>2004940039<br>1800<br>600<br>100800<br>1200 )<br>IN NS ns<br>IN MX 10 mail.mydomain.com.<br>
localhost IN A 127.0.0.1<br>
ns IN A 61.135.152.85<br>
mail IN A 61.135.152.85<br>
<br>
$ more /var/named/s/61.135.152.rev<br>
@ IN SOA ns.mydomain.com. root.ns.mydomain.com. (<br>2003063814<br>10800<br>3600<br>604800<br>28800 )<br>IN NS ns.mydomain.com.<br>
85 IN PTR ns.mydomain.com.<br>
85 IN PTR mail.mydomain.com.<br>
<br>
$ more /etc/mail/sendmail.mc<br>
divert(-1)<br>
dnl This is the sendmail macro config file. If you make changes to this file,<br>
dnl you need the sendmail-cf rpm installed and then have to generate a<br>
dnl new /etc/sendmail.cf by running the following command:<br>
dnl<br>
dnl m4 /etc/mail/sendmail.mc > /etc/sendmail.cf<br>
dnl<br>
include(`/usr/share/sendmail-cf/m4/cf.m4')<br>
VERSIONID(`linux setup for Red Hat Linux')dnl<br>
OSTYPE(`linux')<br>
dnl Uncomment and edit the following line if your mail needs to be sent out<br>
dnl through an external mail server:<br>
dnl define(`SMART_HOST',`mydomain.com')<br>
define(`confDEF_USER_ID',``8:12'')dnl<br>
undefine(`UUCP_RELAY')dnl<br>
undefine(`BITNET_RELAY')dnl<br>
define(`confAUTO_REBUILD')dnl<br>
define(`confTO_CONNECT', `1m')dnl<br>
define(`confTRY_NULL_MX_LIST',true)dnl<br>
define(`PROCMAIL_MAILER_PATH',`/usr/bin/procmail')<br>
define(`confDONT_PROBE_INTERFACES',`true')<br>
define(`ALIAS_FILE', `/etc/aliases')dnl<br>
dnl define(`STATUS_FILE', `/etc/mail/statistics')dnl<br>
define(`UUCP_MAILER_MAX', `5000000')dnl<br>
define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl<br>
define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl<br>
define(`confAUTH_OPTIONS', `A')dnl<br>
TRUST_AUTH_MECH(`DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl<br>
define(`confAUTH_MECHANISMS', `DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl<br>
DAEMON_OPTIONS(`Port=25,Name=MTA')dnl<br>
DAEMON_OPTIONS(`Port=587,Name=MSA,M=Ea')dnl<br>
dnl define(`confTO_QUEUEWARN', `4h')dnl<br>
dnl define(`confTO_QUEUERETURN', `5d')dnl<br>
dnl define(`confQUEUE_LA', `12')dnl<br>
dnl define(`confREFUSE_LA', `18')dnl<br>
dnl FEATURE(delay_checks)dnl<br>
FEATURE(`no_default_msa',`dnl')dnl<br>
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl<br>
FEATURE(`mailertable',`hash -o /etc/mail/mailertable.db')dnl<br>
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnl<br>
FEATURE(redirect)dnl<br>
FEATURE(always_add_domain)dnl<br>
FEATURE(use_cw_file)dnl<br>
FEATURE(use_ct_file)dnl<br>
dnl The '-t' option will retry delivery if e.g. the user runs over his quota.<br>
FEATURE(local_procmail,`',`procmail -t -Y -a $h -d $u')dnl<br>
FEATURE(`access_db',`hash -o /etc/mail/access.db')dnl<br>
FEATURE(`blacklist_recipients')dnl<br>
EXPOSED_USER(`root')dnl<br>
dnl This changes sendmail to only listen on the loopback device 127.0.0.1<br>
dnl and not on any other network devices. Comment this out if you want<br>
dnl to accept email over the network.<br>
dnl DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')<br>
dnl NOTE: binding both IPv4 and IPv6 daemon to the same port requires<br>
dnl a kernel patch<br>
dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')<br>
dnl We strongly recommend to comment this one out if you want to protect<br>
dnl yourself from spam. However, the laptop and users on computers that do<br>
dnl not have 24x7 DNS do need this.<br>
dnl FEATURE(`accept_unresolvable_domains')dnl<br>
dnl FEATURE(`relay_based_on_MX')dnl<br>
dnl FEATURE(`relay_local_from')dnl<br>
MAILER(smtp)dnl<br>
MAILER(procmail)dnl<br>
Cwlocalhost.localdomain mydomain.com<br>
<br>
三、现象<br>
<br>
线索1:退信<br>**********************************************<br>** THIS IS A WARNING MESSAGE ONLY **<br>** YOU DO NOT NEED TO RESEND YOUR MESSAGE **<br>**********************************************<br>
<br>
The original message was received at Mon, 31 Jan 2005 16:38:40 +0800<br>
from [61.135.152.62]<br>
<br>----- The following addresses had transient non-fatal errors -----<br>
<arkue@sina.com><br>
<br>----- Transcript of session follows -----<br>
451 4.4.1 reply: read error from sinamx.sina.com.cn.<br>
<arkue@sina.com>... Deferred: Connection reset by sinamx.sina.com.cn.<br>
Warning: message still undelivered after 4 hours<br>
Will keep trying until message is 5 days old<br>
<br>
线索2:<br>
telnet mail.mydomain.com 25<br>
220 mail.mydomain.com ESMTP Sendmail 8.11.6/8.11.6; Tue, 1 Feb 2005 19:43:55 +0800<br>
helo<br>
501 5.0.0 helo mydomain.com<br>
quit<br>
221 2.0.0 mail.mydomain.com closing connection<br>
<br>
四、问题<br>
依照网络上众多不能往sina、163发信的解决方案的帖子,根据我的配置已经排除了mx记录、fqdn、ip反向解析的可能,可是为什么仍然不能发信?并且我得到是441而非553错误……<br>
另已经查询了反垃圾邮件联盟,域名、ip均不在其列表。<br>
我怀疑是sendmail.mc的问题,可是不知错误在哪应该修正何处呀?我身为网管却自认很惭愧。请大师、高人为我指点迷津…… <br>
沙发
发表于 2005-6-17 08:55:00 | 只看该作者

re:看Sendmail.mc中的"dnl D...

看Sendmail.mc中的"dnl DAEMON_OPTIONS(`Port=smtp,Addr=<font color="red">0.0.0.0</font>, Name=MTA')",把红色部分改为你的主机IP并注释掉(删除dnl)试试.<br>
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

小黑屋|手机版|Archiver|邮件技术资讯网

GMT+8, 2024-12-28 17:49

Powered by Discuz! X3.2

© 2001-2016 Comsenz Inc.

本论坛为非盈利中立机构,所有言论属发表者个人意见,不代表本论坛立场。内容所涉及版权和法律相关事宜请参考各自所有者的条款。
如认定侵犯了您权利,请联系我们。本论坛原创内容请联系后再行转载并务必保留我站信息。此声明修改不另行通知,保留最终解释权。
*本论坛会员专属QQ群:邮件技术资讯网会员QQ群
*本论坛会员备用QQ群:邮件技术资讯网备用群

快速回复 返回顶部 返回列表