【背景】
之前已经折腾部分了:
【记录】尝试去回复crosstool-ng的mailing list即crossgcc中的单个帖子
现在继续去折腾:
想要回复mailing list中的,某个thread中的单个message,
比如:
想要回复这个帖子:
cannot build crosstool due to Makefile issues (mixed implicit and normal rules)
【折腾过程】
1.怀疑之前是:
163代收和代发我的crifan.com的邮件,
所以从[email protected]发送给mailing list的邮件,被误以为从163发送的,所以才说我不是subscriber的。
所以,去单独登陆crifan.com的服务器,重新用[email protected]去发邮件,试试是否可行。
2.关于,mailing list,thread,message,的关系,这里有个解释:
Threading: Message-ID, References, In-Reply-To
一个message,就是一个回复,回帖;
里面也解释了对应的references,in reply to的含义。
该页面的父级页面:
Internet mail message header format
有更多相关的解释。
3.抽空再去试试,针对之前的解释:
To subscribe to the list, send a message to: <[email protected]> To remove your address from the list, send a message to: <[email protected]> Send mail to the following for info and FAQ for this list: <[email protected]> <[email protected]> Similar addresses exist for the digest list: <[email protected]> <[email protected]> To get messages 123 through 145 (a maximum of 100 per request), mail: <[email protected]> To get an index with subject and author for messages 123-456 , mail: <[email protected]> They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: <[email protected]> |
再去试试各种对应的效果。
4.抽空去试试:
单独回复那个message id的地址,看看返回什么内容。
5.参考:
去搜索:
如何使用邮件列表
结果:
你妹的,N多内容,都是在讨论:
邮件使用中的,多个收件人,所组成的列表的那个,邮件列表。。。
而不是此处的mailing list
6.然后google搜:
how to use mailing list
也还是没有找到有用的。
7.看到这里:
又提到一个,说是被墙了的工具:mail archive
而且也好像看懂了一点:
如果是自己发送对应的email的话,客户端支持的话,然后加上对应的各种头信息:
3.0 消息头: Message: 1 Date: Fri, 28 Oct 2011 21:37:14 +0200 From: "Maia Randria" <[email protected]> Subject: Re: [osg-users] 3D models used in OSG ? Message-ID: <[email protected]> Content-Type: text/plain; charset=UTF-8 3.1 消息内容: Hello, Thank。。。 Maia 3.2 上次回话或者更以前的会话: John Richardson wrote: > Hello, > > The real question is how do you import models from commercial and open source packages into OSG and support for animations,…. > > Others can chime in technically on this… |
然后就可以发送成功了。
但是,此处的163邮箱,没有那些message id的支持,没法加上,所以,没法实现回复特定的message的效果。
8.关于message id,有点点搞清楚了:
参考了:
http://cygwin.com/ml/crossgcc/2013-08/msg00044.html
以及其raw text,以及其一个回复:
http://cygwin.com/ml/crossgcc/2013-08/msg00045.html
以及其raw text,发现:
http://cygwin.com/ml/crossgcc/2013-08/msg00044.html
的message id是:
Message-ID: CA+jqNHkzZwBu5REN0S7oM1EJnAERM90ijfvEBgPOH4OHwaY5jg@mail.gmail.com |
而该贴的回复,即
http://cygwin.com/ml/crossgcc/2013-08/msg00045.html
的raw text中的in-reply-to,正好是该值:
In-Reply-To: <CA+jqNHkzZwBu5REN0S7oM1EJnAERM90ijfvEBgPOH4OHwaY5jg at mail dot gmail dot com> |
所以,接着,去试试了hawk的cpanel中的网络邮件中的roundcube,其中支持“添加回复”,即“回复至”即此处的in-reply-to。
且,注意到了:
http://cygwin.com/ml/crossgcc/2013-08/msg00045.html
的raw text:
中的是:
In-Reply-To: <CA+jqNHkzZwBu5REN0S7oM1EJnAERM90ijfvEBgPOH4OHwaY5jg at mail dot gmail dot com> References: <CA+jqNH=uKXW6EAFBPFZCz4gyUwP6YaGqHNNu5hxXN72gG+hnBQ@mail.gmail.com> <CA+jqNHk+XAC_2FSyFOSnJX70cgyDqcr5juO-XTcwBBSa3DN_AQ@mail.gmail.com> <CA+jqNHkzZwBu5REN0S7oM1EJnAERM90ijfvEBgPOH4OHwaY5jg@mail.gmail.com> Date: Thu, 29 Aug 2013 13:21:31 +0530 Message-ID: <CA+jqNHkO5AGaJ3gEQSxbk14oAaC86wBnoTbQ6yT6FBmXj7rTKw@mail.gmail.com> Subject: Re: Multilib error with x86_64 From: Bandaru Viswanath <tripuraari at gmail dot com> To: crossgcc at sourceware dot org |
即,to的值,是mailing list的值,而不是原帖所要回复的帖子的:
http://cygwin.com/ml/crossgcc/2013-08/msg00044.html
的作者的邮件。
但是,再去参考另外一个。
http://cygwin.com/ml/crossgcc/2013-08/msg00000.html
的回复:
http://cygwin.com/ml/crossgcc/2013-08/msg00001.html
中的raw text是:
Received: from ymorin.is-a-geek.org (ks3095497.kimsufi.com. [94.23.60.27]) by mx.google.com with ESMTPSA id hb2sm330543wib.0.2013.08.01.13.35.27 for <multiple recipients> (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 01 Aug 2013 13:35:28 -0700 (PDT) Received: by ymorin.is-a-geek.org (sSMTP sendmail emulation); Thu, 01 Aug 2013 22:35:25 +0200 Date: Thu, 1 Aug 2013 22:35:25 +0200 From: "Yann E dot MORIN" <yann dot morin dot 1998 at free dot fr> To: Solomon Peachy <pizza at shaftnet dot org> Cc: crossgcc at sourceware dot org Subject: Re: Plans for a new crosstool-ng release? Message-ID: <[email protected]> References: <[email protected]> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20130801135104 dot GA7268 at shaftnet dot org> |
其中是:
To: Solomon Peachy <pizza at shaftnet dot org> |
是原帖的作者的邮件,
然后是cc给
crossgcc at sourceware dot org
的。
且in-reply-to,也是被回复的帖子的message id:
<20130801135104 dot GA7268 at shaftnet dot org>
所以,此处,貌似基本搞清楚了:
回复,即to,的确是原帖邮件的作者email地址;
抄送,cc给mailing list的地址
主题是re: xxxx
in-reply-to:是原帖的message id的值,但是注意到其值是,转换后的,即at和dot都是字母表示的。不是字符。
唯一一个不明白如何实现的就是 References,其含义,应该就是字面的意思:引用,即相关那些帖子。
所以,此处,可以去按照上面的逻辑,暂时不支持references,去发一封邮件试试:
发件人 from:[email protected]
收件人 to:[email protected]
抄送 cc:[email protected]
回复至 in-reply-to:<CAOYrRwqd+Lk+1Sr1BEAQm+QzeX0TfQ2dE4wOPFqAmmFkypuYZw at mail dot gmail dot com>
主题 subject:Re: cannot build crosstool due to Makefile issues (mixed implicit and normal rules)
再添加上内容,点击发送:
看看,此处不用163代发,且有了in-reply-to,看看能否有效。
结果,竟然啊,真的可以了,
因为去刷新了一下对应的mailing list的网页:
http://cygwin.com/ml/crossgcc/2013-08/threads.html
后,真的可以看到我刚刚发的回复的message了:
对应的,点击进入看看,可以看到我的帖子,是from crifan的:
并且,大于号,加上一列的空格,其可以自动格式化以蓝色竖线显示的:
但是很明显,对应的,上面的那个:
“Reply-to: ”
有问题,即没有生效,所以,之前的,别人回复另外的帖子,都正常会有的那个:
此处,由于我的reply-to的问题,导致我回复的原帖:
http://cygwin.com/ml/crossgcc/2013-08/msg00047.html
的底端,也是没有别人的那种“Follow-Ups: ”的:
所以,感觉是和references有关。
9.但是,此处,貌似还是没有找到,哪些邮件客户端,是支持那个References的。
包括,找了Outlook相关的,也没找到,其能支持自定义邮件的field,可以支持references的。
像:
只是介绍了如何使用而已。
而:
Q: How do I set a Reply-To header field in Outlook 2007?
也最多是支持reply-to,还是不支持references。
而:
2.7 How do I add the Reply-To header to the MailMessage?
也支持通过代码实现,但是具体哪个邮件客户端支持此自定义filed,还是不知道。
10.目前,无论怎么说,也还是,凑合可以实现了:
通过设置好对应的
to
cc
in-reply-to
subject
加上内容,还是可以实现,将回复的邮件,发布到mailing list,可以显示在所回复的帖子的下面的。
但是由于缺失了references域,导致不能实现:
在打开帖子中,下面显示出对应的Follow-Up
11.后来,找到关于邮件中的各种filed的值的,官网解释:
Registration of Mail and MIME Header Fields
其中包含了:
2. Registration Templates . . . . . . . . . . . . . . . . . . . . 4 2.1. Permanent Mail Header Field Registrations . . . . . . . 4 2.1.1. Header Field: Date . . . . . . . . . . . . . . . 6 2.1.2. Header Field: From . . . . . . . . . . . . . . . 7 2.1.3. Header Field: Sender . . . . . . . . . . . . . . 7 2.1.4. Header Field: Reply-To . . . . . . . . . . . . . 8 2.1.5. Header Field: To . . . . . . . . . . . . . . . . 8 2.1.6. Header Field: Cc . . . . . . . . . . . . . . . . 9 2.1.7. Header Field: Bcc . . . . . . . . . . . . . . . 9 2.1.8. Header Field: Message-ID . . . . . . . . . . . . 10 2.1.9. Header Field: In-Reply-To . . . . . . . . . . . 10 2.1.10. Header Field: References . . . . . . . . . . . . 11 2.1.11. Header Field: Subject . . . . . . . . . . . . . 11 2.1.12. Header Field: Comments . . . . . . . . . . . . . 12 2.1.13. Header Field: Keywords . . . . . . . . . . . . . 12 2.1.14. Header Field: Resent-Date . . . . . . . . . . . 13 2.1.15. Header Field: Resent-From . . . . . . . . . . . 13 2.1.16. Header Field: Resent-Sender . . . . . . . . . . 14 |
此时才注意到,
reply-to,和in-reply-to,是两个不同的东西。
而且的确官方,也是有References这个域的。
【总结】
目前的情况是:
可以通过登陆自己在hawk上的网站的cpanel中的“网络邮件”中的roundcube客户端,然后去发送邮件,其中主要是有支持“回复至”,即Reply-To的域。
然后此处,对应的各个域的含义是:
发件人=from
收件人=to
抄送=cc
回复至=Reply-To
主题=Subject
然后再写上邮件的内容。
对应的,如果想要回复某个帖子的时候,其实,此处的Reply-To,应该弄成In-Reply-To,会更好,
以及,再加上对应的References域,表示相关的帖子。
下面,就总结一下,对于要回复mailing list中的某个thread的message的话,要怎么写邮件,才可以发送成功。
举例:
要回复
cannot build crosstool due to Makefile issues (mixed implicit and normal rules)
http://cygwin.com/ml/crossgcc/2013-08/msg00047.html
的话,点击页面中的:raw text,进入地址:
可以看到对应的相关内容为:
From crossgcc-return-21512-listarch-crossgcc=sources dot redhat dot com at sourceware dot org Fri Aug 30 00:18:51 2013 Return-Path: <crossgcc-return-21512-listarch-crossgcc=sources dot redhat dot com at sourceware dot org> Delivered-To: listarch-crossgcc at sources dot redhat dot com Received: (qmail 18293 invoked by alias); 30 Aug 2013 00:18:51 -0000 Mailing-List: contact crossgcc-help at sourceware dot org; run by ezmlm Precedence: bulk List-Id: <crossgcc.sourceware.org> List-Subscribe: <mailto:crossgcc-subscribe at sourceware dot org> List-Archive: <http://sourceware.org/ml/crossgcc/> List-Post: <mailto:crossgcc at sourceware dot org> List-Help: <mailto:crossgcc-help at sourceware dot org>, <http://sourceware dot org/ml/#faqs> Sender: crossgcc-owner at sourceware dot org Delivered-To: mailing list crossgcc at sourceware dot org Received: (qmail 18283 invoked by uid 89); 30 Aug 2013 00:18:50 -0000 Received: from mail-vb0-f67.google.com (HELO mail-vb0-f67.google.com) (209.85.212.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 30 Aug 2013 00:18:50 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,NO_RELAYS autolearn=ham version=3.3.2 X-HELO: mail-vb0-f67.google.com Received: by mail-vb0-f67.google.com with SMTP id g17so157619vbg.2 for <[email protected]>; Thu, 29 Aug 2013 17:18:48 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.220.16.73 with SMTP id n9mr3550731vca.24.1377821927114; Thu, 29 Aug 2013 17:18:47 -0700 (PDT) Received: by 10.58.28.239 with HTTP; Thu, 29 Aug 2013 17:18:47 -0700 (PDT) Date: Fri, 30 Aug 2013 05:48:47 +0530 Message-ID: <CAOYrRwqd+Lk+1Sr1BEAQm+QzeX0TfQ2dE4wOPFqAmmFkypuYZw@mail.gmail.com> Subject: cannot build crosstool due to Makefile issues (mixed implicit and normal rules) From: Aijaz Baig <aijazbaig1 dot new at gmail dot com> To: crossgcc at sourceware dot org Content-Type: text/plain; charset=ISO-8859-1 Hello. I have downloaded the latest version of the tool aka 1.18. I've configured it for powerpc-unknown-nofpu-linux-gnu. In my first iteration I encountered an error build the mfpr library and on searching the internet came across a similar issue by a user earlier in which Yann advised the fellow to manually upgrade his mfpvr library. Hence a quick menuconfig later in which I selected a higher version of mfpr, this issue seemed to have ceased. Later my build failed during the kernel header installation phase (as part of Installing pass-1 core C compiler) and on probing build.log realized that it is due to the concerned Makefile (within arch/powerpc/kernel/) having a format which the newer makefile on my machine (version 3.82) does not like. Now I believe the kernel might be full of such old fashioned makefiles so I switched to a newer kernel (2.6.36). The default was set to use 2.6.31. Having done that, the 'Installing kernel headers' phase went fine. However this time, it failed in the 'Installing C library headers & start files' phase. This is what the build.log file has to say now: [ALL ] /usr/bin/make subdir=manual -C manual ..=../ install-headers [ALL ] make[3]: Entering directory `/home/aijazbaig1/crosstoolchain/.build/src/glibc-2.9/manual' [ALL ] Makefile:240: *** mixed implicit and normal rules. Stop. [ALL ] make[3]: Leaving directory `/home/aijazbaig1/crosstoolchain/.build/src/glibc-2.9/manual' [ERROR] make[2]: *** [manual/install-headers] Error 2 This one is again the same problem encountered before. I could again select a higher version via menuconfig and continue only to fail at some other step. Now I want to know whether this is the case for everyone or am I doing something wrong here. Do I need to downgrade my Make or use a lower version of Make (3.81 instead of the default 3.82 on my host) temporarily for this to work? I am really stumped on this one. Keen to hear your suggestions, replies etc. Regards. -- For unsubscribe information see http://sourceware.org/lists.html#faq |
然后,对于这些内容,我们需要关心的是:
(1)作者的邮件地址
即:
Aijaz Baig <aijazbaig1 dot new at gmail dot com> |
中的:
aijazbaig1 dot new at gmail dot com |
把dot换成点.字符,at换成@字符,即为:
[email protected]
(2)邮件列表的地址
此处,也可以从
http://cygwin.com/ml/crossgcc/2013-08/msg00047.html
的最上面看到,是:
This is the mail archive of the [email protected] mailing list for the crossgcc project. See crosstool-NG for lots more information. |
中的:
[email protected]
(3)message的标题
此处即为:
Subject: cannot build crosstool due to Makefile issues (mixed implicit and normal rules) |
中的:
cannot build crosstool due to Makefile issues (mixed implicit and normal rules)
(4)Message-ID的值
此处即为:
Message-ID: <CAOYrRwqd+Lk+1Sr1BEAQm+QzeX0TfQ2dE4wOPFqAmmFkypuYZw@mail.gmail.com> |
中的:
<CAOYrRwqd+Lk+1Sr1BEAQm+QzeX0TfQ2dE4wOPFqAmmFkypuYZw@mail.gmail.com> |
(5)此处没有References,但是可以去参考别的帖子,搞清楚References的值
比如:
http://cygwin.com/ml/crossgcc/2013-08/msg00040.html
中的:
中的:
References: <CAEk6gTDG9Ncig0dstiPuP1N3_YQ+gVsAf9ZBNDUDa=77VWZD4Q@mail.gmail.com>
中的:
<CAEk6gTDG9Ncig0dstiPuP1N3_YQ+gVsAf9ZBNDUDa=77VWZD4Q@mail.gmail.com>
其中,此处,有可能会有多个值。
然后,对于去回复该message的话,就是:
(1)发件人=from,是你自己的邮件地址
我的,订阅了此crosstool-ng的邮件列表,即crossgcc,的邮件地址,是
[email protected]
即,我自己的邮箱地址。
(2)收件人=to,是原帖子的作者的邮件地址
如上,是:
[email protected]
(3)抄送=cc,是mailing list的邮件地址
此处,即:
[email protected]
(4)回复至=Reply-To,是原帖的Message-ID的值,但是要把字符点.换成“ dot ”,将字符@换成“ at ”
上面的Message-ID的值是:
<CAOYrRwqd+Lk+1Sr1BEAQm+QzeX0TfQ2dE4wOPFqAmmFkypuYZw@mail.gmail.com>
所以,此处的Reply-To的值是:
<CAOYrRwqd+Lk+1Sr1BEAQm+QzeX0TfQ2dE4wOPFqAmmFkypuYZw at mail dot gmail dot com>
注意:
此处,实际上应该是In-Reply-To,但是由于没有合适的邮件客户端可以支持In-Reply-To,所以只能暂时凑合用Reply-To了。
(5)主题=Subject:以”Re: “开头,加上原先帖子的标题
当然,如果本身该帖子是回复最原始的帖子的时候,就已经是此标题了,就无需改动了。
此处,是回复主帖,所以是:
re加空格加上原先标题:
cannot build crosstool due to Makefile issues (mixed implicit and normal rules)
即为:
Re: cannot build crosstool due to Makefile issues (mixed implicit and normal rules)
(6)写上邮件的主题内容,即正文
邮件的正文,一般的写法是:
要么是引用别人的内容,放在前面,自己的回复的内容,放在后面;
或者是:
引用别人的内容,放在后面,自己的回复的内容,放在前面;
其中,引用别人的内容,要在原有内容基础上,加上一列大于号加上空格。
拿我之前回复别人的内容为例,即为:
I have encounted same issue: during step of Installing kernel headers, got error: Makefile:119: recipe for target `headers_install’ failed ...... Crifan Li > Hello. > > I have downloaded the latest version of the tool aka 1.18. I've > configured it for powerpc-unknown-nofpu-linux-gnu. > > ...... > > I am really stumped on this one. Keen to hear your suggestions, replies > etc. > > Regards. >
(7)如果有附件,再上传添加附件即可。
我此处没附件。
在发送之前,总体上的效果,如图:
至此,基本实现了,可以回复mailing list中thread中的某个message了。
期待以后,可以找到好用的邮件客户端,支持In-Reply-To和References,那么就更完美了。
后续的,找支持In-Reply-To和References的过程,参见: