Re: [MlMt] duplicate messages in all mail

2020-06-28 Thread Jan Erik Moström

On 27 Jun 2020, at 17:12, Evan Silberman wrote:

I noticed that I have duplicate messages in all mail. For example, 
when I search for a message from a sender, I see the message twice.


Do you mean that you see the *same* message twice or that you have two 
copies of the same email?


(You can right click a message in the search results to see in what 
mailbox it's stored.)


= jem
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] duplicate messages in all mail

2020-06-27 Thread Evan Silberman
I noticed that I have duplicate messages in all mail. For example, when 
I search for a message from a sender, I see the message twice.


How can I fix this?


Evan Silberman
646-460-5354
EdD Candidate, Higher Ed Administration
NYU Steinhardt
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages

2016-12-12 Thread Benny Kjær Nielsen

On 10 Dec 2016, at 14:09, Steven M. Bellovin wrote:


Never mind; found the problem on my end.


Ok, if it's something which might help me answering reports in the 
future then let me know.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages

2016-12-10 Thread Steven M. Bellovin

Never mind; found the problem on my end.

On 9 Dec 2016, at 16:04, Steven M. Bellovin wrote:

I just started seeing duplicate messages appearing in some folders.  
Possibly significantly, all of them are sorted by a MailMate rule to a 
folder that is included in a smart folder; this smart folder selects 
unread messages in a subset of my folders.  When I log into the IMAP 
server, I see identical messages there, so MailMate is displaying 
things properly, but I'm wonder if there was some chance recently that 
would make it fetch such messages twice.  I'm running Version 2.0BETA 
(6069).



--Steve Bellovin, https://www.cs.columbia.edu/~smb


___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate




--Steve Bellovin, https://www.cs.columbia.edu/~smb


___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


[MlMt] duplicate messages

2016-12-09 Thread Steven M. Bellovin
I just started seeing duplicate messages appearing in some folders.  
Possibly significantly, all of them are sorted by a MailMate rule to a 
folder that is included in a smart folder; this smart folder selects 
unread messages in a subset of my folders.  When I log into the IMAP 
server, I see identical messages there, so MailMate is displaying things 
properly, but I'm wonder if there was some chance recently that would 
make it fetch such messages twice.  I'm running Version 2.0BETA (6069).



--Steve Bellovin, https://www.cs.columbia.edu/~smb


___
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-25 Thread Jason Davies
Amazing response, as ever. Seems to be fixed with a few tests done at 
this end. If it reoccurs I'll send the server logs again.


Cheers,

Jason
--

Dr Jason Davies
http://www.ucl.ac.uk/~ucgajpd/Academic/

On 23 Oct 2015, at 22:08, Benny Kjær Nielsen wrote:


On 23 Oct 2015, at 17:08, Benny Kjær Nielsen wrote:


On 23 Oct 2015, at 15:39, Jason Davies wrote:

You seem to say I would have to 'catch' it in the activity monitor 
but that doesn't stay at the end for than a fraction of a second.


Yes, you can only scroll when there is no activity. Do like this 
instead:


* Open the Activity Viewer.
* Trigger the issue.
* Use “Help ▸ Send Server Logs”.

Then I can review what happens.


Thanks for the data (off list). I should have realized earlier that 
this is a known issue. I've seen it recently with an Exchange 2016 
server.


This is what happens when moving a message:

~~~
16:12:17 C: J15 UID MOVE 101526 Contextsucl
16:12:17 S: [COPYUID 154 101526 1663]
16:12:17 S: * 3 EXPUNGE
16:12:17 S: * 2 EXISTS
16:12:17 Warning: Unnecessary EXISTS response received.
16:12:17 S: J15 OK MOVE completed.
~~~

The second line is a server bug. It should have been:

16:12:17 S: * OK [COPYUID 154 101526 1663]

MailMate does not handle this bug well and kind of has its own bug 
when trying to handle it. I have already tried to fix both issues and 
you can try that in the latest test release of MailMate: Hold down ⌥ 
when clicking “Check Now” in the Software Update preferences pane.


It's relatively new that MailMate uses UID MOVE (an optional IMAP 
extension) instead of UID COPY. Therefore the problem is also 
relatively new.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread Benny Kjær Nielsen

On 23 Oct 2015, at 17:08, Benny Kjær Nielsen wrote:


On 23 Oct 2015, at 15:39, Jason Davies wrote:

You seem to say I would have to 'catch' it in the activity monitor 
but that doesn't stay at the end for than a fraction of a second.


Yes, you can only scroll when there is no activity. Do like this 
instead:


* Open the Activity Viewer.
* Trigger the issue.
* Use “Help ▸ Send Server Logs”.

Then I can review what happens.


Thanks for the data (off list). I should have realized earlier that this 
is a known issue. I've seen it recently with an Exchange 2016 server.


This is what happens when moving a message:

~~~
16:12:17 C: J15 UID MOVE 101526 Contextsucl
16:12:17 S: [COPYUID 154 101526 1663]
16:12:17 S: * 3 EXPUNGE
16:12:17 S: * 2 EXISTS
16:12:17 Warning: Unnecessary EXISTS response received.
16:12:17 S: J15 OK MOVE completed.
~~~

The second line is a server bug. It should have been:

16:12:17 S: * OK [COPYUID 154 101526 1663]

MailMate does not handle this bug well and kind of has its own bug when 
trying to handle it. I have already tried to fix both issues and you can 
try that in the latest test release of MailMate: Hold down ⌥ when 
clicking “Check Now” in the Software Update preferences pane.


It's relatively new that MailMate uses UID MOVE (an optional IMAP 
extension) instead of UID COPY. Therefore the problem is also relatively 
new.


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread Benny Kjær Nielsen

On 23 Oct 2015, at 15:39, Jason Davies wrote:

3) I've now verified it happens when I move the message manually and 
no rules are being applied.


Ok, so rules are not involved at all.

You seem to say I would have to 'catch' it in the activity monitor but 
that doesn't stay at the end for than a fraction of a second.


Yes, you can only scroll when there is no activity. Do like this 
instead:


* Open the Activity Viewer.
* Trigger the issue.
* Use “Help ▸ Send Server Logs”.

Then I can review what happens.

This is making Mailmate completely unusable for me, unfortunately, as 
I rely on marking messages read for my to-do workflow. Obviously, 
duplicates that I have to remove manually destroy that as I then 
encounter another unread version...


I'll naturally do what I can to track down the issue. It's probably 
somehow related to the IMAP server you are using, but we'll see.


If there's a way to track it and diagnose, I'd be grateful. I'm 
tempted to uninstall and do a fresh one (annoying but less annoying 
than the duplication!)


Don't do that. It won't solve the problem.

--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread Jason Davies

ok, let's start worknig this out. More information:

1) This occurs when one machine is not running as often as when it 
isn't. So it's not a race situation.
2) Mailmate only selects a very small number (5%?) of these as 
duplicates from the menu so it thinks they are different messages. Does 
this rule out the risk aversion factor of interruption?


3) I've now verified it happens when I move the message manually and no 
rules are being applied.


You seem to say I would have to 'catch' it in the activity monitor but 
that doesn't stay at the end for than a fraction of a second.


This is making Mailmate completely unusable for me, unfortunately, as I 
rely on marking messages read for my to-do workflow. Obviously, 
duplicates that I have to remove manually destroy that as I then 
encounter another unread version...


If there's a way to track it and diagnose, I'd be grateful. I'm tempted 
to uninstall and do a fresh one (annoying but less annoying than the 
duplication!)




Cheers,

Jason
--

Dr Jason Davies
http://www.ucl.ac.uk/~ucgajpd/Academic/

On 23 Oct 2015, at 14:14, Benny Kjær Nielsen wrote:

If two installs of MailMate have the same rules to move messages then 
there is a race condition. Moving a message is not quite an atomic 
action
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread CHASS
That would make sense.
For reasons I can't track down I have been having a few connection problems 
lately.
Thanks,
Mark


I have sought peace in all, and found it nowhere but in a corner with a book 
- Thomas a Kempis




On Fri, Oct 23, 2015 at 6:21 AM -0700, "Benny Kjær Nielsen" 
 wrote:










On 23 Oct 2015, at 15:05, Jason Davies wrote:

> Are there logs that would help, that log moving messages?

This is, by the way, something I've considered adding since it would 
often be very useful. Especially when trying to find out if MailMate is 
to blame when something goes wrong :-)

-- 
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread Benny Kjær Nielsen

On 23 Oct 2015, at 15:05, Jason Davies wrote:


Are there logs that would help, that log moving messages?


This is, by the way, something I've considered adding since it would 
often be very useful. Especially when trying to find out if MailMate is 
to blame when something goes wrong :-)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread Benny Kjær Nielsen

On 23 Oct 2015, at 15:11, CHASS wrote:

If it is any help I am seeing exactly the same thing. Messages moved 
to folders using rules are sometimes duplicated. I didn't mention it 
because I can't see the pattern. 
Yesterday, I saw a duplication in a different situation. I clicked the 
move out of junk button for a message. One message was in junk but I 
got two in my inbox.


Duplicates are usually the result of failed copies/uploads, that is, 
MailMate tries to copy/upload a message and it succeeds, but MailMate 
thinks it fails because some unrelated error occurs such as a broken 
connection -- and this happens before MailMate has registered the 
successful action. The same can happen if MailMate crashes.


If you keep the Activity Viewer open then you might be able to catch a 
log of the exact problem. I can review that.


(In general, MailMate always prefers the risk of duplicates instead of 
the risk of disappearing messages.)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread Benny Kjær Nielsen

On 23 Oct 2015, at 15:05, Jason Davies wrote:

Two Macs (laptop, Mac Pro) using Mailmate at different times of teh 
day. I sat down and created some rules to help filter messages on both 
machines. Sometime just after that I started noticing duplicates 
appearing after I move messages to different folders.


If two installs of MailMate have the same rules to move messages then 
there is a race condition. Moving a message is not quite an atomic 
action. If the two installs see the same message at the same time then 
they are both going to try to move it (if a rule matches). One of them 
is probably going to fail with most IMAP servers, but MailMate detects 
this error and instead the message is explicitly uploaded to the 
destination mailbox (generating the duplicate).


A workaround could be to introduce a delay in one of the email clients 
by creating an alternative Inbox (smart mailbox) with messages more than 
x seconds old. Then add the rules to this mailbox on one of the 
machines.


(MailMate could cancel a move if it finds an identical email in the 
destination mailbox, but this would also be a hack -- also MailMate is 
currently not very good at locating identical emails.)


--
Benny
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


Re: [MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread CHASS
If it is any help I am seeing exactly the same thing. Messages moved to folders 
using rules are sometimes duplicated. I didn't mention it because I can't see 
the pattern. 
Yesterday, I saw a duplication in a different situation. I clicked the move out 
of junk button for a message. One message was in junk but I got two in my inbox.
Mark

I have sought peace in all, and found it nowhere but in a corner with a book 
- Thomas a Kempis




On Fri, Oct 23, 2015 at 6:05 AM -0700, "Jason Davies" 
 wrote:










Hi folks

This is hard to debug as there may be some red herrings involved.

Two Macs (laptop, Mac Pro) using Mailmate at different times of teh day. 
I sat down and created some rules to help filter messages on both 
machines. Sometime just after that I started noticing duplicates 
appearing after I move messages to different folders.

I'm still not entirely convinced it's the rules I set up (which all say 
either 'move to mailbox x' or 'set tags to seen') but it's tricky to 
work out how to work out what's going on as it's erratic but frequent.

Are there logs that would help, that log moving messages? I've looked in 
Console but found nothing in the last hour; sometimes MMT directs you to 
the activity monitor log but that is unreadable in the activity monitor 
as it flashes around updating.

Any clues about where I look to find out why this is happening 
gratefully received!

Of course it may be my iPhone app...;) But I'm pretty sure I switched 
that off!
___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate


[MlMt] duplicate messages on move to other mailbox

2015-10-23 Thread Jason Davies

Hi folks

This is hard to debug as there may be some red herrings involved.

Two Macs (laptop, Mac Pro) using Mailmate at different times of teh day. 
I sat down and created some rules to help filter messages on both 
machines. Sometime just after that I started noticing duplicates 
appearing after I move messages to different folders.


I'm still not entirely convinced it's the rules I set up (which all say 
either 'move to mailbox x' or 'set tags to seen') but it's tricky to 
work out how to work out what's going on as it's erratic but frequent.


Are there logs that would help, that log moving messages? I've looked in 
Console but found nothing in the last hour; sometimes MMT directs you to 
the activity monitor log but that is unreadable in the activity monitor 
as it flashes around updating.


Any clues about where I look to find out why this is happening 
gratefully received!


Of course it may be my iPhone app...;) But I'm pretty sure I switched 
that off!

___
mailmate mailing list
mailmate@lists.freron.com
http://lists.freron.com/listinfo/mailmate