home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.forth.gr!pythia!stathop
- From: stathop@csi.forth.gr (Costas Stathopoylos)
- Newsgroups: comp.mail.sendmail
- Subject: timezone problems...
- Date: 16 Nov 1992 18:59:22 GMT
- Organization: FORTH - ICS, P.O.Box 1385, Heraklio, Crete, Greece 71110
- tel: +30(81)221171, 229302 fax: +30(81)229342,3 tlx: 262389 CCI
- Lines: 41
- Distribution: world
- Message-ID: <1e8r2aINN22q@pythia.csi.forth.gr>
- NNTP-Posting-Host: danae.csi.forth.gr
-
- Greetings,
-
- Sorry if this has been addressed before...
-
- Recently I noticed that my sendmail-5.65c+IDA1.4.4.1 set-up has a problem
- in translating dates from RFC822 format to UNIX format.
- I get a lot of messages of the form:
-
- Nov 16 18:26:24 pythia sendmail[12561]: AA05065: arpatounix: unparseable date:
- Fri, 13 Nov 92 17:16:30 MET
-
- I took a closer look in the sources and found out that the only timezones
- supported are:
-
- "UT" "GMT" "EST" "EDT" "CST" "CDT" "MST" "MDT" "PST" "PDT"
-
- and the +0x00 -0y00 formats where x and y are the difference in hours from GMT.
-
- Also I found out that in the From line in the macro:
- DlFrom $g $d
-
- the $d is computed in GMT .
-
- Consequently, mail from a client in my domain that inserts a Date: header
- is delivered through my 5.65 host (mailserver) with a GMT date! (via a mailer
- that has no "n" Flag that is it inserts a UNIX from line).
-
- If this is the case I want to know if there is the possibility to produce
- From line with dates in the EET which is my local timezone EET==+0200
- (notice that this is not included in the above timezones) .
-
- Furhtermore, when there is no Date: field the $d is given in
- local time (like the date: field the mailserver adds)! That is:
- $a ---> $d tranlation results to a GMT date while local evaluation of $a and $d
- results to the expected local date.
-
- Did I misoconfigured something or the only solution is to change the sources
- of the "arpatounix" routine to compute the date relative to my timezone?
-
- Thanks for your time,
- Costas.
-