由 retypedef 在 05-14-2004 14:15 发表:
怎样设置自己机器上的sendmail,让它连到指定的smtp server(比方说smtp.mail.yahoo.com),然后让这个smtp把自己的信发出去?望帮助!
是这样的,我自己装的sendmail,没怎么设置过,不过可以往一些信箱正常发邮件,
不过今天我发信件给sina,我得到553 Spam Mail的退信错误信息,我查了一下,原因是这
样:
1.为什么新浪服务器会产生553的退信信息?
这是由于邮件发送方服务器的HELO域设置不规范造成的。如果新浪服务
器无法对该域进行正确的DNS解析, 将会导致新浪反垃圾系统认为该服
务器是垃圾邮件发送者从而拒收. 不规范的HELO域的示例如下:
HELO office
HELO mailserver
HELO localhost.localdomain
是不是我的sendmail需要一些设置,我想让我的sendmail使用我的yahoo信箱的smtp来发信,
不知可不可以解决这个问题?如果可以该怎样设置?谢谢大家的帮助!
Many thanks in advance!
由 retypedef 在 05-14-2004 15:48 发表:
大家帮帮我啊,说说大家都是怎么在linux下发邮件的?
怎么设置你们的sendmail的?
由 7dehao 在 05-16-2004 03:46 发表:
如果发邮件的话,应该不需要对sendmail做什么配置的,被拘收的原因是你的邮件地址被SINA拒绝,这是因为SINA的邮件服务器需要SMTP认证。如果你是从你自己建的邮件服务器上发邮件的话,大概是不行的。除非你利用别的,比如yahoo的邮箱的SMTPF服务来转发你邮件。最终的设置应该是你的MUA,而不是在MTA/MDA上设置。
提问时,请你附上相关硬件的型号或牌子,linux发行版、软件的名称和版本。
提问前,如果有可能的话,你最需要做的就是把出错信息和相关的日志信息贴上来。
当然,我们十分期望你能浏览一下置顶贴里的内容。
由 retypedef 在 05-16-2004 11:36 发表:
赫赫,我还以为没人理我这帖了呢,谢谢回复!
Thx again for your help!
我也觉得你分析的原因是正确的.这个问题一出现时,我就想到用我的yahoo信箱来替我发
信.就象M$ Outlook Express一样,设置好自己信箱的帐号和密码,再设置好POP, SMTP
server,就可以在本地收发邮件了.但我现在用Mutt,他是个__纯粹__的MUA,只负责信件管
理,不能收信(收信我用Fetchmail),也不能发信(发信我用Sendmail).所以我就想是不
是设置SMTP应该由Sendmail来,我对Sendmail不了解,所以就来问大家.:-) 不知道象我这
种情况该怎样解决?望大家帮助!
由 terminator 在 05-16-2004 14:23 发表:
if you know how to use .mc file to create .cf file, add one line in your .mc file, and generate the new sencmail.cf from it
define(MAIL_HUB', relay:mx1.hotmail.com')
Proud Slacker since Slackware 3.4
由 retypedef 在 05-16-2004 19:33 发表:
谢谢回复!不过我对sendmail还不了解,只知道他的设置很复杂.能不能告诉我怎么做,我把问题解决了先,然后再想研究研究文档.
望帮助!
Help appreciated!
由 terminator 在 05-17-2004 07:59 发表:
In slackware:
cd /usr/share/sendmail/cf/cf
cp generic-linux.mc mysite.mc
vi mysite.mc # and add the one line as mentioned above after line OSTYPE
m4 mysite.mc > /etc/mail/sendmail.cf
/etc/rc.d/rc.sendmail restart
Read the Sendmail README first, this is always the best tutorial to configure Sendmail.
Proud Slacker since Slackware 3.4
由 retypedef 在 05-17-2004 12:00 发表:
Hi dude, thx for help! I've tried, but the problem persisted. It didn't get any better at all, even worse to be honest, seriously! ^_^
The system I've been using isn't slackware but lfs5.0. I had the file sendmail.mc
modified exactly according to what you've instructed me, and then ran m4 to
macro-compile it, however the resulting configuration file sendmail.cf was only
of 2-line length; apparently something had went wrong here, and it did in fact
as sendmail wasn't able to boot. I did a bit of googling about this, and found
that's because of the failure to pre-load cf.m4, so I changed the command to the
form of "m4 m4/cf.m4 se