Giter Club home page Giter Club logo

Comments (5)

gilleslamiral avatar gilleslamiral commented on September 8, 2024

Dear Pavel,

I have two messages (full source, address mangled):

|From: [email protected]
Subject: quota warning

Your mailbox is now below% full.
|

and

|From: [email protected]
Subject: quota warning

Your mailbox is now 80% full.
|

When I sync directory with they by imapsync 1.607 I got:

Messages found duplicate on host1 : 1

So, they are treated as duplicates which are not! It seems as bug for me.

My idiot point of view: Those messages are not RFC 5322 compliant,
they lacks the "Date:" header field. They are the bug, fix them.

It will be good to see compare full mail byte-to-byte before threat as duplicates.

It would be very bad for 99.9999% of imap migrations.
Even --useheader ALL is very often a bad criterion since it generates duplicates,
the reverse issue of yours. Combination "--useheader ALL --noskipsize" was the
default behavior in the early releases of imapsync, I had to change this
default very soon, it doesn't work most of the time, too few imap servers
respect messages, headers are changed, the size too.

Or at least such option.

Feel free to code it.
I can already tell you I won't add that patch.
What happens to you comes from "fake" messages, messages that had never seen
any SMTP server of their entire life, messages generated and put directly
in a mailbox without any software that knows the basics of email.

In sync options --useheader ALL --addheader used, so I do not see how I could make compare strictly.

Use:

imapsync ... --noskipsize

It should be enough to fix this issue.

Use UIDs seams as possibility there, but I do not want depends on cache present.

It looks like you don't want to solve this issue easily.

Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

from imapsync.

Hubbitus avatar Hubbitus commented on September 8, 2024

My idiot point of view: Those messages are not RFC 5322 compliant, they lacks the "Date:" header field. They are the bug, fix them.

If there will Date header and they equals? But I agree it may made such problem not so serious.

Thank you for --noskipsize hit, I'll try. In that particular case it should help (but for example 90% and 80% in text make messages equals by length too).

It looks like you don't want to solve this issue easily.
Why you think so?

from imapsync.

gilleslamiral avatar gilleslamiral commented on September 8, 2024

Dear Pavel,

My idiot point of view: Those messages are not RFC 5322 compliant, they lacks the "Date:" header field. They are the bug, fix them.

If there will Date header and they equals? But I agree it may made such problem not so serious.

If you fix this issue by setting the same Date: header then the bug is moved to you
and you have to be fixed as well.

Thank you for --noskipsize hit, I'll try. In that particular case it should help
(but for example 90% and 80% in text make messages equals by length too).

Yes. --useuid is THE solution for your kind of mind.

It looks like you don't want to solve this issue easily.
Why you think so?

Because you refuse --useuid solution, which is an easy solution.

Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

from imapsync.

Hubbitus avatar Hubbitus commented on September 8, 2024

Help said about --useuid: "Caveat: --useuid --nousecache creates duplicates on multiple runs.". I assume If I just delete some time cache and rerun it will lead to equivalent results, is not?

from imapsync.

gilleslamiral avatar gilleslamiral commented on September 8, 2024

Dear Pavel,

Help said about --useuid: "Caveat: --useuid --nousecache creates duplicates on multiple runs.".
I assume If I just delete some time cache and rerun it will lead to equivalent results, is not?

Yes. Deleting the cache make --useuid generates duplicates.
It can be regenerated at any time with --usecache and without --nouseuid.

Every imap email software in the universe has a cache by default, except imapsync.
What's the problem with having a uid cache?

Au revoir, 09 51 84 42 42
Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06

from imapsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.