Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date vs arrival: A little confusing and perhaps a bug when moving messages #378

Closed
marclaporte opened this issue Feb 24, 2020 · 10 comments
Closed
Assignees
Labels
imap imap module set question need advice

Comments

@marclaporte
Copy link
Member

A few things:

2020-02-23_235650

When viewing one message, and in the message list, we can see the sent date, but not the arrival date. I wonder if we should add as an option?
2020-02-24_000427

I moved messages from one IMAP account to another (via Cypht): I didn't expect this to change any dates, but the arrival date seems to have changed. On one hand, it makes sense because I did move the emails. But it was not received on the date I moved... This is an edge case... What do you think?

Thanks!

Marc

@jasonmunro jasonmunro self-assigned this Mar 2, 2020
@jasonmunro jasonmunro added imap imap module set question need advice labels Mar 2, 2020
@jasonmunro
Copy link
Member

Good point. It is a bit of an edge case, but maybe date makes more sense. I settled on arrival a long time ago over the date header, but I'm not sure the reasoning from 15 years ago still applies.

@dumblob
Copy link
Member

dumblob commented Mar 3, 2020

My preference would be to support either both or at least change Date to Arrival date 😉.

@marclaporte
Copy link
Member Author

2020-03-13_140012

@marclaporte
Copy link
Member Author

Indicating "arrival date" vs "sent date" is an easy thing to fix, and we'll do it.

My other topic is that when I move the email from one account to another, the data of one of the dates changes. Is this a bug or a feature?

Thanks!

@Yamakasi
Copy link

Yamakasi commented Apr 22, 2020

This is seriously a legal thing that needs to be overthought a couple of times.

Sent or Arrival date can be much earlier when you use mailrelays which are spooling for a a while because some other relay of the IMAP server is not available.

If someone asks for a delivery notice things can go terrible wrong, it's also how you setup your whole mailcluster so I think Date is the most safe one to use.

@jasonmunro
Copy link
Member

@marclaporte the arrival date is managed by the IMAP server, so moving the message from one account to another resets it. It is not a part of the real E-mail headers per say.

@Yamakasi I think originally, a LONG time ago, I chose arrival date instead of the sent date because it was a performance boost for IMAP servers at the time, and was usually very similar. We should probably switch to the date header.

@marclaporte
Copy link
Member Author

@jasonmunro yes, let's please use sent date by default.

@kroky
Copy link
Member

kroky commented Jul 31, 2020

Please check PR #418 . Marc, the arrival date has been added as part of the extended headers. Not sure we want to spam short headers with one more date field.

@marclaporte
Copy link
Member Author

Indeed, short header should how just one date (sent date)

@marclaporte
Copy link
Member Author

The default is now "sent date".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
imap imap module set question need advice
Projects
None yet
Development

No branches or pull requests

5 participants