Hi,
You do not say how your users are accessing their mail (IMAP or POP),
but I came up with the following patch to fix some Lookout problems I've
had. The setup on which this patch has been tested (and demonstrated to
actually work) is:
- delivery to ~/Mailbox (mbox)
- client access via IMAP (uw-imapd the server)
- client MUA Outlook 2000
AFAICT, the UW IMAP server, for whatever the reason, passes the
timestamp in the mbox "From " header on to the client (as the "received"
time?). Since no timezone info is given in the timestamp, either the
server or the client makes the assumption that it's in localtime (when
in fact it's GMT). Therefore, my naive solution is to simply append "
-0000" to the timestamp, which seems to make everyone happy. Whether or
not this is proper for the "From " header, I don't know.
Enjoy,
Eric
---
diff -c qmail-1.03/myctime.c qmail-1.03-installed/myctime.c
*** qmail-1.03/myctime.c Mon Jun 15 06:53:16 1998
--- qmail-1.03-installed/myctime.c Mon Apr 17 18:39:00 2000
***************
*** 9,15 ****
"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"
};
! static char result[30];
char *myctime(t)
datetime_sec t;
--- 9,15 ----
"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"
};
! static char result[36];
char *myctime(t)
datetime_sec t;
***************
*** 31,36 ****
--- 31,38 ----
len += fmt_uint0(result + len,dt.sec,2);
result[len++] = ' ';
len += fmt_uint(result + len,1900 + dt.year);
+ result[len++] = ' ';
+ len += fmt_str(result + len,"-0000");
result[len++] = '\n';
result[len++] = 0;
return result;