Hi, When copying mail from another Imapd server to dbmail-imapd something goes wrong with the received date/time field that the dbmail-imapd server gives back to the e-mail client when retrieving the message. Instead of using the orginal received date/time the currect time is being used. This is not correct. (The email message it self is ok!)
In the db_imap_append_msg() function noting takes care of the literal date that is supplied by the email client to DBmail and just the current datetime is being used. The actualy literal date goes lost in the ic_append() function (imapcommands.c) I see that a function that could do the job exist in imaputil.c (date_imap2sql). Is there any reason why this function isn't used in ic_append ? Regards, Jeroen Hendriks e-factory bv Tel.: +31 (0)475 - 340 975 Fax: +31 (0)475 - 320 351 Web: www.e-factory.nl