When mailx has the "record" option set to record sent mail the header date field is not being set. Some mail clients, when accessing such a file via IMAP, need to have the date field set in the header in order to accurately determine the appropriate time (eg. Outlook Express, sorry). I have a patch, but a bit of work would be needed to ensure that it works on platform other than glibc-2.2. The problem being the tm_gmtoff element of struct tm: glibc-2.2: p->tm_gmtoff sun: (p->tm_isdst > 0 && daylist) ? -altzone : -gtimezone aix: timezone Could, of course, have used strftime()but the %z is not supported on sun ...
Created attachment 7768 [details] adds date to mail header when recording outgoing mail
ping?
It is not necessary to fill the header Date. In the header there is the date written in From. Ivana Varekova