AquaMail Forum

English - Android => How do I... => Topic started by: -DM- on January 07, 2015, 06:09:56 am

Title: imap push the same message from server over and over
Post by: -DM- on January 07, 2015, 06:09:56 am
I have to app set to imap and no sync, getting messages pushed just fine and also did set night time notifications, got up this morning with around 400 mails this morning and to my surprise it was the same 4 mails that were on my server that got pushed over and over during the night...this happens constantly until the mail is deleted...
what could be the problem?!
Title: Re: imap push the same message from server over and over
Post by: Kostya Vasilyev on January 08, 2015, 01:29:12 am
So let's see --

There are 4 actual new messages on the server -- and you used web mail to confirm

And they turned into 400 in AquaMail

And this happened more than once?

If it does happen still, with new messages each night, can you *please* capture the issue in the app's debug log? With "record session data" enabled?

Title: Re: imap push the same message from server over and over
Post by: -DM- on January 08, 2015, 09:18:19 am
So let's see --

There are 4 actual new messages on the server -- and you used web mail to confirm

And they turned into 400 in AquaMail

And this happened more than once?

If it does happen still, with new messages each night, can you *please* capture the issue in the app's debug log? With "record session data" enabled?

the answer to your questions is yes to all and it not only during the night time settings, I became aware of the problem because I was not checking during that time ;-), the problem is constant all day long.
Let me recap the situation here, if one mail arrives on the server it get pushed as intended per imap settings, but it keeps on getting pushed every couple of minutes after that in the inbox with a sound notification like if it was a new mail....also when I open the app the same mail (or mails if I have more than one) get pushed again, same if I do a manual refresh while in the inbox...
After doing some debugging on my own, I realized that this happens if I don't check the option to "remove deleted messages" in "account options" as sometimes I want to keep some mails on my phone but not on the server...
I can resolve the problem of the mail keeping adding to my inbox by checking option to remove local copies when no longer on server as opposed to my previous setting, but that only solve one part of the problem as even with that I will keep on getting sound notification every couple of minutes for the same mail, but this time around the mail is not pushed again in aquamail, just the sound notification keeps on coming in constantly at interval with a notification in the status bar (even if I already checked that mail).
the only way for me to stop the 2 scenarios is to delete the mail(s)...
I did 2 logs, one with the option box checked and one without, sent them to your gmail account so you can take a look at it when you have time.
Thanks
Title: Re: imap push the same message from server over and over
Post by: Kostya Vasilyev on January 08, 2015, 02:02:44 pm
Thank you I will take a look.
Title: Re: imap push the same message from server over and over
Post by: Kostya Vasilyev on January 08, 2015, 05:16:52 pm
Yep, a bug in my code, triggered by the server using UID values that exceed 32 bits.

Very rare, but valid.

Valid, but very rare.

I sent you a test build with a fix (hopefully).
Title: Re: imap push the same message from server over and over
Post by: -DM- on January 08, 2015, 07:10:06 pm
Yep, a bug in my code, triggered by the server using UID values that exceed 32 bits.

Very rare, but valid.

Valid, but very rare.

I sent you a test build with a fix (hopefully).

Again, thanks for the prompt reply and fix  ;)
Title: Re: imap push the same message from server over and over
Post by: Kostya Vasilyev on January 08, 2015, 10:31:19 pm
Thank you for following up your report with a debug log (without logs, I'm blind).

I might as well post the newer build on the forum... so here it is: http://www.aqua-mail.com/forum/index.php?topic=3191.0

Title: Re: imap push the same message from server over and over
Post by: alp_aki on February 04, 2015, 11:16:14 pm
Hi. I am using aqua mail pro. And my e-mails are going to receiver's spam mail list. What can I do for that? Thank you.
Title: Re: imap push the same message from server over and over
Post by: mikeone on February 04, 2015, 11:56:12 pm
Hi. I am using aqua mail pro. And my e-mails are going to receiver's spam mail list. What can I do for that? Thank you.

This is not a matter which will handled by AquaMail.

Please have a look into this article for more information (English version) :
http://faq.euserv.com/content/23/288/en/warum-werden-von-mir-versendete-e_mails-als-spam-markiert.html

Quote
Why are emails sent by me marked as "spam mails"?
 
The receiving of emails is handled by different policies, determinations, rules and filters by each email provider. These are partially obtained from other sources and classify emails as "undesirable" or "spam".
 
Title: Re: imap push the same message from server over and over
Post by: alp_aki on February 04, 2015, 11:57:57 pm
Thank you very much.
Title: Re: imap push the same message from server over and over
Post by: Kostya Vasilyev on February 05, 2015, 01:40:30 am
@alp_aki

Something else to try:

Aqua settings -> composing and sending -> turn off "Send User-Agent".

This is a message header that identifies the sending mail app.

Perhaps someone has an overly eager spam filter (I mean the server / mail service on the receiver's end).