Hello all,
My name is Djule Djukic and I am working for Hipotekarna Banka from Montenegro. We are using IMAP email server Dovecot version 2.1.17. As a email clients on our corporate workstations we are using Thunderbird or WebMail and everything is working fine.
We decided to introduce MDM solution in our environment and we installed VMWare WorkspaceOne (former Airwatch) which use Boxer as a mail client in App per VPN scenario. When we syncronise email with Boxer we have found that the time and date displayed for some messages have been changed to the time at which the file was synchronized.
This is not hapening with all messages. It is happening only with messages in subfolders, never with Inbox. It seems when messages is moved by some rule from WebMail or Thunderbird from Inbox to some subfolder, Boxer is not able to read dates correctly,
By seraching on Internet we found couple of explanation what might be possibel cause of this behaviour. https://imapsync.lamiral.info/FAQ.d/FAQ.Dates.txt https://serverfault.com/questions/588618/maintain-email-timestamp-when-trans... https://dovecot.org/pipermail/dovecot/2008-July/032165.html
Problem with some email clients is that they not look always for "Date:" from email message header. The "Date:" header is usually the date the message was written or sent the first time, at the writer side. This "Date:" header line is never changed by any transfer or copy. If an email client uses the "Date:" header for displaying the date of a message then no problem in synchronization with wrong date should arise. Obviously this is not a case with a Boxer email application. We tried GMail and everything is working fine.
We are wondering if someone can explain what APPEND command could have done in our case? Is it relevant at all for our case? Is it used somehow by thunderbird or webmail clients? Also we would like to hear from someone if there are some improvemnents in further release of dovecot or some configuration that we can implement in order to fix this?
Thank you in advanced for your suggestions and contribution,
Đule Đukić
Specijalista za informacionu bezbjednost / ISO
ĐuleĐukić
Specijalistaza informacionu bezbjednost / ISO
http://www.hipotekarnabanka.com/hb-content/uploads/2014/06/slika1.jpg
On 11. Jun 2020, at 16.46, Djule Djukic <djule.djukic@hb.co.me> wrote:
Hello all,
My name is Djule Djukic and I am working for Hipotekarna Banka from Montenegro. We are using IMAP email server Dovecot version 2.1.17. As a email clients on our corporate workstations we are using Thunderbird or WebMail and everything is working fine.
This dovecot version is 7 years old already. Can you upgrade?
We decided to introduce MDM solution in our environment and we installed VMWare WorkspaceOne (former Airwatch) which use Boxer as a mail client in App per VPN scenario. When we syncronise email with Boxer we have found that the time and date displayed for some messages have been changed to the time at which the file was synchronized.
I have no idea how does this "Boxer mail client app" fetch message date.
Can you record some imap rawlogs to find out if it uses IMAP FETCH to get the message INTERNALDATE or does it really try to parse it from mail headers?
https://wiki.dovecot.org/Debugging/Rawlog <https://wiki.dovecot.org/Debugging/Rawlog>
Problem with some email clients is that they not look always for "Date:" from email message header. The "Date:" header is usually the date the message was written or sent the first time, at the writer side. This "Date:" header line is never changed by any transfer or copy.
They do not rely on Date header. Date header is not mandatory and also it's not written on server side. It is written by the sender.
Sami
- Sami Ketola:
They do not rely on Date header. Date header is not mandatory and also it's not written on server side. It is written by the sender.
Could you please elaborate on "Date header is not mandatory"? As far as the message format goes, "Date" and "From" are actually the two required headers in every message (see RFC 5322), so I am not quite sure what you mean?
-Ralph
On 11. Jun 2020, at 20.22, Ralph Seichter <ralph@ml.seichter.de> wrote:
- Sami Ketola:
They do not rely on Date header. Date header is not mandatory and also it's not written on server side. It is written by the sender.
Could you please elaborate on "Date header is not mandatory"? As far as the message format goes, "Date" and "From" are actually the two required headers in every message (see RFC 5322), so I am not quite sure what you mean?
You are right. It seems to be mandated by RFC 5322. However you can't trust that it is present as there is quite many messages being sent that don't have it.
Sami
participants (3)
-
Djule Djukic
-
Ralph Seichter
-
Sami Ketola