[Mew-dist 05915] Re: im-96
SAKAI Kiyotaka
ksakai at example.com
1998年 8月 13日 (木) 17:12:21 JST
>> In article <199808121424.XAA01790 at example.com>, taca at example.com (Takahiro Kambe) writes:
> NetNewsでない通常の電子メールにLinesヘッダを入れるのを抑制するオプ
> ションが欲しいです。LinesヘッダはRFC822の後継あたりで標準となるの
> でしょうか?
これって、カスタマイズできるようにするという話になったんじゃなかったで
しょうか?
そうすると、こんな感じでしょうか。
# ニュースの場合、Lines ヘッダがないとニュースサーバーが付けてくれます
# ので、完全に抑制することになっても問題ないですよね。
--
酒井 清隆 (E-mail: ksakai at example.com)
-------------- next part --------------
Index: imput.in
===================================================================
RCS file: /home/cvsroot/im-96/imput.in,v
retrieving revision 1.2
diff -u -r1.2 imput.in
--- imput.in 1998/08/13 07:48:47 1.2
+++ imput.in 1998/08/13 07:59:06
@@ -188,6 +188,8 @@
=> 'Generate Date header line.',
'NewsGMTdate;b;;NewsGMTdate'
=> 'Generate date field in GMT for posting news.',
+ 'UseLines;b;1;UseLines'
+ => 'Generate Lines header line.',
'AliasesFile;s;;Mail_aliases' # XXX
=> 'List of files for mail address aliasing.',
'HostAliases;s;;Host_aliases' # XXX
@@ -730,7 +732,7 @@
&add_multipart if (@Mulipart_messages);
##### SIZE OF MESSAGE BODY FIXED #####
- if (&header_value(\@Header, 'Lines') eq '') {
+ if ($UseLines && &header_value(\@Header, 'Lines') eq '') {
if ($#Body >= 0) {
&add_header(\@Header, 1, 'Lines', $#Body);
} else {
Index: imsetup.in
===================================================================
RCS file: /home/cvsroot/im-96/imsetup.in,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 imsetup.in
--- imsetup.in 1998/08/13 02:48:23 1.1.1.1
+++ imsetup.in 1998/08/13 08:06:24
@@ -377,7 +377,8 @@
#ObeyMTAdomain=yes # do not append domainpart to addresses by imput
#NoMsgIdForNews=yes # do not insert Message-Id: when posting as news
#NewsGMTdate=yes # use GMT for Date: when posting as news
-#noJPheader # do not encode ISO-2022-JP with RFC2047
+#UseLines=yes # generate Lines header line
+#JPheader=yes # encode ISO-2022-JP with RFC2047
#Defcode=EUC # default code in case no way to judge SJIS/EUCj
#JPconv=yes # convert SJIS/EUCj to ISO-2022-JP
#NoHdrFolding=yes # do not fold long header line when encoding
Index: dot.im/Config
===================================================================
RCS file: /home/cvsroot/im-96/dot.im/Config,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Config
--- Config 1998/08/13 02:48:26 1.1.1.1
+++ Config 1998/08/13 08:06:32
@@ -132,7 +132,8 @@
#ObeyMTAdomain=yes # do not append domainpart to addresses by imput
#NoMsgIdForNews=yes # do not insert Message-Id: when posting as news
#NewsGMTdate=yes # use GMT for Date: when posting as news
-#noJPheader # do not encode ISO-2022-JP with RFC2047
+#UseLines=yes # generate Lines header line
+#JPheader=yes # encode ISO-2022-JP with RFC2047
#Defcode=EUC # default code in case no way to judge SJIS/EUCj
#JPconv=yes # convert SJIS/EUCj to ISO-2022-JP
#NoHdrFolding=yes # do not fold long header line when encoding
Mew-dist メーリングリストの案内