Redian新闻
>
求助:一个sendmail的问题
avatar
求助:一个sendmail的问题# Linux - Linux 操作系统
z*d
1
我 J-1 在今年 11 月底到期,我在另一所学校找到一份 offer,是从明年 1 月开始,
我打算在今年 12 月份回国,会不会有 2 年 限制的问题? 很担心。。。
avatar
A*t
2
只差$60.xx
avatar
w*n
3
avatar
g*7
4
近日,一则“出走9年刚找回又走失,父亲满城寻儿回家过年”的视频在网上引发关注
。走失小伙齐文帅的父亲称,儿子于2009年1月走失,2018年12月6日,齐文帅被接回家
中,住了一晚后,次日早上又走失了。
在网传视频中,齐文帅的父亲拿着喇叭,在郑州的街头含泪喊着“赶紧回来吧,文帅”
。据了解,齐文帅走失多年,不久前被寻回,一家人刚团聚,第二天他又离家出走了。
1月27日上午,北京青年报记者联系到齐文帅的表姐屈女士,她称,表弟2009年走失时
已经辍学了,喜欢去网吧玩游戏,“他在当时的年纪比较叛逆,被他父亲说了几句,就
离家出走了”。屈女士说,当时家里人报了警,家属也到公安局采血,将信息录入失踪
人口库。“他家还有个弟弟,母亲身体残疾,父亲经常骑自行车到处寻找,也通过网络
寻人平台发布信息,但一直没结果。”北青报记者发现,2014年,某寻人平台确实曾发
布过齐文帅走失的信息,上述其离家出走的原因为“父亲说话方式伤了他的心”。
至于此前齐文帅被寻回的情况,据河南平舆县公安局2018年12月10日通报,12月5日凌
晨6时许,民警沿106国道巡逻至镇集北街时,见路东侧有人在烤火取暖。当民警靠近他
时,他突然跪地举手求饶。巡逻人员将火扑灭后,将其当做流浪汉带回了派出所。该男
子较为迟钝,说话慢,在民警的询问下,断断续续说出自己的身份信息。
据了解,该男子就是齐文帅。他大约在15岁时,他被两个中年男子以打工挣钱为名带上
一辆车,被骗到周口市淮阳县某个多孔砖生产基地,强制其在砖厂干活。期间因受不了
繁重的体力劳动,他多次逃跑。后被厂方追回后遭到打骂、威胁。他因怕挨打,没再跑
,直到被发现的前几天才逃出来。
根据齐文帅所说,平舆县公安局户籍民警上网查找其户籍信息,并与齐文帅户籍所在地
的警方取得联系,转而联系到齐文帅的家人。
齐家人在2018年12月6日见到了失踪多年的齐文帅。屈女士说,由于表弟受过刺激,有
些精神障碍,第二天家里人本想带他先熟悉周围环境,但没想到他自己先下楼,一不留
神就又走了。齐家里又开始到处寻找,也报了警,经过查询监控录像,发现他曾在2018
年12月7日11点多出现于郑州南阳路与群办路的路口。“监控里可以看到,他还在路上
翻垃圾桶找吃的。”
avatar
d*s
5
求助:一个sendmail的问题
我有一个Linux Box在家里behind firewall. 我想在这个机器上run sendmail.
我的域名是:for example, mydomainname.com, 我现在的问题是, sendmail
好像已经在这个linux machine 上设置好了。我可以在linux machine自己给自己发
email. 网络也没有问题, 我可以访问Internet.
可是, 我给别的地方发email, 别的email server好像不接受我的email.
For example, if I send to m************[email protected],
the following is in /var/log/maillog,
It says:
"... relay=[127.0.0.1], dsn=2.0.0, stat=sent (... Message accepted for
delivery)."
".... relay=alt4.gmail-smtp-in.l.google.com, [209.85.129.27],
avatar
N*u
6
1)如果你现在的J1要求有2-year Homeland Service,那你需要waiver才能开始另一个
J1;
2)我记得2007年好像还有一个政策,是说每个学者做了一个long-term(半年以上)的J1
program,需要过2年才能开始一个新的long-term J1 program,不知道其他人有没有听说
过,如果你现在的J1 program已经超过了6个月,也许你需要和系里主管的秘书确认一下

总之,如果你可以transfer到第二个,J1 status中间没有gap,回国算返签,可能会好
些。

【在 z*******d 的大作中提到】
: 我 J-1 在今年 11 月底到期,我在另一所学校找到一份 offer,是从明年 1 月开始,
: 我打算在今年 12 月份回国,会不会有 2 年 限制的问题? 很担心。。。

avatar
a*u
7
看來銀子要大跌了。
avatar
v*r
8
我觉得你的local linux box 的sendmail mail relay 还没有设好, 先从你的 ISP 那
里要 outging SMTP server name, 或者用public free 的 SMTP server (好像你可以
免费用Google的).
Depending on what Linux you are using, 古狗一下 如何 configure sendmail
relay (or smarthost relay) on linux. 剩下的就是改改 sendmail.cf 配置文件,re
-start sendmail daemon.
avatar
l*m
9
finish J-1 transfer before you go back, otherwise you cannot start a new J-1
because of 24-month bar

【在 z*******d 的大作中提到】
: 我 J-1 在今年 11 月底到期,我在另一所学校找到一份 offer,是从明年 1 月开始,
: 我打算在今年 12 月份回国,会不会有 2 年 限制的问题? 很担心。。。

avatar
h*7
10

你不是一直看好100吗?

【在 a**u 的大作中提到】
: 看來銀子要大跌了。
avatar
t*s
11
forget about sendmail, use postfix instead.

【在 d**s 的大作中提到】
: 求助:一个sendmail的问题
: 我有一个Linux Box在家里behind firewall. 我想在这个机器上run sendmail.
: 我的域名是:for example, mydomainname.com, 我现在的问题是, sendmail
: 好像已经在这个linux machine 上设置好了。我可以在linux machine自己给自己发
: email. 网络也没有问题, 我可以访问Internet.
: 可是, 我给别的地方发email, 别的email server好像不接受我的email.
: For example, if I send to m************[email protected],
: the following is in /var/log/maillog,
: It says:
: "... relay=[127.0.0.1], dsn=2.0.0, stat=sent (... Message accepted for

avatar
a*u
12
是啊, 但也不能直線上去啊。

【在 h****7 的大作中提到】
:
: 你不是一直看好100吗?

avatar
v*r
13
The configuration on relay part should be very similar whether postfix or
sendmail, though I never try on postfix.
avatar
h*e
14
en,如果是直线上扬,上涨速度很快的,半年到1年的时间就可以很恐怖,这样大家就都
没得玩了

【在 a**u 的大作中提到】
: 是啊, 但也不能直線上去啊。
avatar
d*s
15
why do I need a relay ?
should my linux box be its own mail server ?

re

【在 v*****r 的大作中提到】
: 我觉得你的local linux box 的sendmail mail relay 还没有设好, 先从你的 ISP 那
: 里要 outging SMTP server name, 或者用public free 的 SMTP server (好像你可以
: 免费用Google的).
: Depending on what Linux you are using, 古狗一下 如何 configure sendmail
: relay (or smarthost relay) on linux. 剩下的就是改改 sendmail.cf 配置文件,re
: -start sendmail daemon.

avatar
A*t
16
要是一直冲到100,那就该全卖了。

【在 h***e 的大作中提到】
: en,如果是直线上扬,上涨速度很快的,半年到1年的时间就可以很恐怖,这样大家就都
: 没得玩了

avatar
v*r
17
My understanding is that to run your "mail server", that means you will need
to configure a MX record in you DNS server for your mail server (and mail
server might have to have a fully registered domain name on internet).
Relay configuration for sendmail is to let it to be able to send/receive
emails via a "mail server" who can communicate with outside world.
I am not a system administrator, correct me if my understanding is not right.
avatar
d*s
18
In my case, I want to configure my Linux Box to be the "mail server", and it
will communicate with outside world.
Do you have other suggestions ?

need
right.

【在 v*****r 的大作中提到】
: My understanding is that to run your "mail server", that means you will need
: to configure a MX record in you DNS server for your mail server (and mail
: server might have to have a fully registered domain name on internet).
: Relay configuration for sendmail is to let it to be able to send/receive
: emails via a "mail server" who can communicate with outside world.
: I am not a system administrator, correct me if my understanding is not right.

avatar
v*r
19
Take a look at this post, which describe configuring "mail server" using
sendmail on linux (not just relay configuration).
http://www.linuxselfhelp.com/quick/sendmail.html
BTW, I consider the sendmail running on your linux box is a "mail server",
but only serving your local host. The term "mail server" is really a
confusing term :->
avatar
t*s
20
it's time out, not denial. probably your isp is blocking port 24. contact
them to remove the block.

【在 d**s 的大作中提到】
: 求助:一个sendmail的问题
: 我有一个Linux Box在家里behind firewall. 我想在这个机器上run sendmail.
: 我的域名是:for example, mydomainname.com, 我现在的问题是, sendmail
: 好像已经在这个linux machine 上设置好了。我可以在linux machine自己给自己发
: email. 网络也没有问题, 我可以访问Internet.
: 可是, 我给别的地方发email, 别的email server好像不接受我的email.
: For example, if I send to m************[email protected],
: the following is in /var/log/maillog,
: It says:
: "... relay=[127.0.0.1], dsn=2.0.0, stat=sent (... Message accepted for

avatar
d*s
21
port 24 ?
I thought email use port 25.

【在 t***s 的大作中提到】
: it's time out, not denial. probably your isp is blocking port 24. contact
: them to remove the block.

avatar
t*s
22
then 25. i can remember it wrong. but many isps block this port.

【在 d**s 的大作中提到】
: port 24 ?
: I thought email use port 25.

avatar
v*r
23
I got a couple of questions:
1. What is the real need to setup mail server (instead of just simply
configuring smarthost relaying if just for sending/receiving emails)?
2. I assume setting up mail server using sendmail for homenework probably
involves dealing your ISP on the DNS configuration for the mail server, are
they willing to assist you on that?
Could anyone with experience setting up mail server (on linux) for their
homenework share their thought on this?
thx
avatar
m*t
24

That's most likely the case. Many ISPs
block port 25 (that's probably what you
meant) because there are too many home
pcs taken over by bots and used to send
spams.
And it's unlikely that they'll unblock
it. What LZ needs to do is configure
the local box to relay mail to the ISP's
smtp server.

【在 t***s 的大作中提到】
: it's time out, not denial. probably your isp is blocking port 24. contact
: them to remove the block.

avatar
t*s
25
sbc/att dsl used to honor user request for unblocking port 25.
just an online request was suffice. don't know about their
policy now.

【在 m******t 的大作中提到】
:
: That's most likely the case. Many ISPs
: block port 25 (that's probably what you
: meant) because there are too many home
: pcs taken over by bots and used to send
: spams.
: And it's unlikely that they'll unblock
: it. What LZ needs to do is configure
: the local box to relay mail to the ISP's
: smtp server.

avatar
m*t
26

There isn't much point really.
are
You don't need to get your ISP involved.
(chances are they aren't going to help
you anyway)
What you need to do is find a dns service
provider that:
1. supports dynamic dns update because
you'll need to update your home IP every
time it changes, and
2. lets you add an MX record to your domain.

【在 v*****r 的大作中提到】
: I got a couple of questions:
: 1. What is the real need to setup mail server (instead of just simply
: configuring smarthost relaying if just for sending/receiving emails)?
: 2. I assume setting up mail server using sendmail for homenework probably
: involves dealing your ISP on the DNS configuration for the mail server, are
: they willing to assist you on that?
: Could anyone with experience setting up mail server (on linux) for their
: homenework share their thought on this?
: thx

avatar
m*t
27
Doesn't hurt to give it a try I guess. 8-)

【在 t***s 的大作中提到】
: sbc/att dsl used to honor user request for unblocking port 25.
: just an online request was suffice. don't know about their
: policy now.

avatar
v*r
28
Thanks, magicfat

【在 m******t 的大作中提到】
: Doesn't hurt to give it a try I guess. 8-)
avatar
d*s
29
> 2. lets you add an MX record to your domain.
Do you mean to add something like: mail.myowndomain.com to MX record ?
After that, do I need to do something to sendmail configuration to use above
information ? (or to change to my firewall setting or Linux network setting
? )
Thanks,

【在 m******t 的大作中提到】
: Doesn't hurt to give it a try I guess. 8-)
avatar
v*r
30
To summarize:
Based on some good inputs on this post, now looking back at this article:
http://www.linuxselfhelp.com/quick/sendmail.html
The steps to configure mail server using sendmail seems very clear with the
following caveats:
1. As pre-requirement, you will need to have a "fully registered domain name
". My understanding to this is you will also have to register your domain
name with ARPA at IANA (ask your domain name registrar to help you on this).
That is due to most email system will do
avatar
t*s
31
i used to use a dyndns name to send and receive mails without a problem.

the
name
).
to

【在 v*****r 的大作中提到】
: To summarize:
: Based on some good inputs on this post, now looking back at this article:
: http://www.linuxselfhelp.com/quick/sendmail.html
: The steps to configure mail server using sendmail seems very clear with the
: following caveats:
: 1. As pre-requirement, you will need to have a "fully registered domain name
: ". My understanding to this is you will also have to register your domain
: name with ARPA at IANA (ask your domain name registrar to help you on this).
: That is due to most email system will do

avatar
m*t
32
我在ubuntu下用postfix遇到和楼主同样的问题
我有注册的domain,有固定ip
postfix按照ubuntu wiki上的设置配置起来的
现在的状况是在别的机器上用客户端软件(如thundermail等)发信一切正常,server
的应答没任何问题,但是就是信发布出去,收信人收不到
对domain端的配置不了解,仅仅将mail server的ip指向自己的server,不知道够不够
。看来还要再学习啊
avatar
t*s
33
post maillog

server

【在 m*t 的大作中提到】
: 我在ubuntu下用postfix遇到和楼主同样的问题
: 我有注册的domain,有固定ip
: postfix按照ubuntu wiki上的设置配置起来的
: 现在的状况是在别的机器上用客户端软件(如thundermail等)发信一切正常,server
: 的应答没任何问题,但是就是信发布出去,收信人收不到
: 对domain端的配置不了解,仅仅将mail server的ip指向自己的server,不知道够不够
: 。看来还要再学习啊

avatar
m*t
34
The provider hosting your mail server might be blocking outgoing port 25
connections.
I know quite a number of hosting service providers who do that, for the same
reason
isps block port 25 on home users.

server

【在 m*t 的大作中提到】
: 我在ubuntu下用postfix遇到和楼主同样的问题
: 我有注册的domain,有固定ip
: postfix按照ubuntu wiki上的设置配置起来的
: 现在的状况是在别的机器上用客户端软件(如thundermail等)发信一切正常,server
: 的应答没任何问题,但是就是信发布出去,收信人收不到
: 对domain端的配置不了解,仅仅将mail server的ip指向自己的server,不知道够不够
: 。看来还要再学习啊

avatar
L*1
35
I started sending emails directly from my own Linux box using sendmail about
15 years ago, but stopped 7-8 ago. The main problem is with reverse lookup
(spam prevention measure) -- if outside cannot see you, they will not accept
your email.
Port 25 is a separate issue.
avatar
t*s
36
i was doing it until a couple years ago. gmail has not problem receiving
them. now my current isp won't unblock port 25 so i have to use a relay.
still gmail has no problem receiving them. i mainly use it for auto
notification from my boxes.

about
lookup
accept

【在 L*1 的大作中提到】
: I started sending emails directly from my own Linux box using sendmail about
: 15 years ago, but stopped 7-8 ago. The main problem is with reverse lookup
: (spam prevention measure) -- if outside cannot see you, they will not accept
: your email.
: Port 25 is a separate issue.

avatar
d*s
37
How do let "outside see me" ?
Thanks.

about
lookup
accept

【在 L*1 的大作中提到】
: I started sending emails directly from my own Linux box using sendmail about
: 15 years ago, but stopped 7-8 ago. The main problem is with reverse lookup
: (spam prevention measure) -- if outside cannot see you, they will not accept
: your email.
: Port 25 is a separate issue.

avatar
L*1
38
Normally when you setup your box, you pickup a domain name and an IP address
just for local use only (e.g. 192.168.0.5). Outside cannot see you.
To make yourself seen, you must register your domain name, and have an
assigned IP address for your mail server. In this way, when you send out an
email, the recipient machine will come back (through your domain/machine
name and IP address) and ask your mail server: "Are you really there?". You
say "Yes", then the recipient accepts your email, otherwise
avatar
d*e
39
postfix 更容易,不过自家的email server很多地方不收的,譬如yahoo有一个spam
list
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。