home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / mail / sendmail / 2799 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  1.9 KB

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