Ticket #807

log/mail.plm で送信するメールが RFC 違反(Date)
Open Date: 2002-11-24 19:57 Last Update: 2002-11-24 19:57

Reporter:
Owner:
(None)
Type:
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
1

Details

既に把握してはるような気もしますが、log/mail.plm でメールを
送信するときの Date header field のタイムゾーンの部分が
RFC2822(or 822)に従っていません。

http://www.rfc-editor.org/rfc/rfc2822.txt
3.3. Date and Time Specification
| zone = (( "+" / "-" ) 4DIGIT) / obs-zone

http://www.rfc-editor.org/rfc/rfc822.txt
5. DATE AND TIME SPECIFICATION
| zone = "UT" / "GMT" ;
Universal Time
| ; North
American : UT
| / "EST" / "EDT" ;
Eastern: - 5/ - 4
| / "CST" / "CDT" ;
Central: - 6/ - 5
| / "MST" / "MDT" ;
Mountain: - 7/ - 6
| / "PST" / "PDT" ;
Pacific: - 8/ - 7
| / 1ALPHA ;
Military: Z = UT;
| ; A:-1;
(J not used)
| ; M:-12;
N:+1; Y:+12
| / ( ("+" / "-") 4DIGIT ) ; Local
differential
| ;
hours+min. (HHMM)

あたりです。
で、patch を添付しときます。
国際化するならもっと手をいれないとダメですが。

Ticket History (1/1 Histories)

2002-11-24 19:57 Updated by: iwai
  • File 176: plum-2.33.2-rfc2822.patch is attached

Attachment File List

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login