Author Topic: mails missing  (Read 10839 times)

ludwigklr

  • Newbie
  • *
  • Posts: 12
mails missing
« on: September 08, 2013, 11:25:16 am »
Hello,

i have aquamail pro on a samsung tablet 8.9" running. On my pop3 mail server there
are i.e. 4 unreaded mails. When i now poll this mail server aquamail will show me only
1 of this 4 mails. I tryed this a couple of times. This mails a only short text mails
to notify the calls on my telefon line but aquamail will not catch all of them. If I look
to the webmail interface of my server it will show all 4 mails

best regards klaus

the mailbody

Das Telefon hat gerade geklingelt
 Am 2013/01/03 um 23:52:07 hat 0xxxxxx Ludwig selbst
 auf 930471 fuer Nicole+Jens angerufen
 Der Router hat gesprochen!

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: mails missing
« Reply #1 on: September 08, 2013, 08:08:14 pm »
Sounds like the mail server presents messages out of order...

Please try this: long press the account, choose Options and Folders, then Account options, and increase the "messages per page" setting. Ideally, you'll want it to be larger than the number of messages on the server (up to 500 inclusive should be ok).

To diagnose further: long press the account, choose Diag: message dates, follow on-screen prompts.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

ludwigklr

  • Newbie
  • *
  • Posts: 12
Re: mails missing
« Reply #2 on: September 09, 2013, 11:45:42 am »
Hello,

I did this. on the mail server are only 5 mails

the number of mails per page is set to 100

the logfile contain all 5 mails in descending order, i sent this to you

but if i poll my mail server it contains only 3 of them time 8:48, 8:53 and 8:57
the mails from 8:54 an 8:49 are not in the inbox

I attach the screen shot from the web interface on my mailserver
and the mailbox file. The mailserver is a debian linux and the
pop daemon is a solid-pop3d

best regards klaus



[/img][/img]








ludwigklr

  • Newbie
  • *
  • Posts: 12
Re: mails missing
« Reply #3 on: September 09, 2013, 01:15:26 pm »
Hello again,

here is also the screeshot from the  samsung tablet

best regards klaus

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: mails missing
« Reply #4 on: September 10, 2013, 02:48:38 am »
Klaus,

Ok, that's useful.

At this point, I need to see a full debug log, capturing you checking mail in this account, with "raw session data" enabled, so I can see the actual conversation with the server.

It's not difficult or time consuming, please see this page under "Creating a log if something doesn’t work right":

http://www.aqua-mail.com/?page_id=232
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

ludwigklr

  • Newbie
  • *
  • Posts: 12
Re: mails missing
« Reply #5 on: September 10, 2013, 01:02:24 pm »
Hello,

ok, i have done that. It is the same as before. From the notification
mails is only 1 of 3 in the aquamail inbox. The other 3 mails are
completed.

Here all colleted data

mailbox file from the pop3 server
screenshot from the webmail interface of the pop3 server
screenshot from aquamail
logfile
debugfile

hopefully thats helps for investigation

best regards Klaus





ludwigklr

  • Newbie
  • *
  • Posts: 12
Re: mails missing
« Reply #6 on: September 10, 2013, 01:04:09 pm »
Hello,

here attachment 5 because it was oly 4 allowed


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: mails missing
« Reply #7 on: September 11, 2013, 02:47:26 am »
Thank you for the log.

It looks strange - I can see the app getting those messages from the server and inserting them into its message store, but don't see why they wouldn't show.

Can you try the latest development build? I fixed some POP3 sync issues, could be related:

http://www.aqua-mail.com/forum/index.php?topic=1568.0
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

ludwigklr

  • Newbie
  • *
  • Posts: 12
Re: mails missing
« Reply #8 on: September 11, 2013, 10:03:50 pm »
Hello,

ok, i download the new version, installed and poll my mail server
without change the problem.

I wrote a small shell script to create 5 new mails. I tried this
3 times but in aquamail diag i kann see all mails but in the
inbox is only mail no. 5 and all other still missing.

I the diag protokoll i can see 5 mails at the 1st poll
10 mails at the 2nd poll and 15 mails at the 3rd

Aquamails skips all mails from my own router except 1 mail
a day. Other Mails from anywhere else will be found
correctly in the inbox. It is maybe a problem with nameserver
reverse lookups of mail header information?

best regards Klaus



Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: mails missing
« Reply #9 on: September 12, 2013, 01:43:39 am »
Klaus,

Thank you for running more tests. This is very strange.

The strangest thing is, I can see in the log you posted that the app did download those messages and insert them into the database. And I completely believe your saying that they didn't show.

Would you mind trying to add a duplicate of this account into the app, using same exact server settings, and observing how that works?

Now, you mention that messages are "from your own router" -- is it the router sending messages (daily report of some kind) or does it act as your mail server?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

ludwigklr

  • Newbie
  • *
  • Posts: 12
Re: mails missing
« Reply #10 on: September 12, 2013, 09:07:38 am »
Hello,

my own router is a small linux system that controls my
DSL line and also my ISDN phone line. It works as
an DHCP, DNS, SSH, SFTP, WEB server and firewall etc.
There run a mini debian based linux

On an incomming call it create a small mail with the
calling and called number and send this to a mailserver.
The mailserver is a linux root server by an big internet-
company called Strato. It is very usefull on travel to
see who was calling us. We have 8 phone numbers
and so all calls together on place and a log for the past
--------------------------------------------------------------------------

I created a new account in aquamail and poll the mailserver
the result is the same as befor. Only the latest mail from
my small linux system is in the inbox and all other mails
from elsewhere. The diagfile contains the missing mails
information.

What is the meaning HDL HDV HDP HDA ?

It looks different by the mail from my own linux system

HDL is allways null
HDV is always 0

HDP and HDA looks like a date and time from 1.1.1970 creation date of linux

In the other mails is HDV = IDV
and HDP HDA contains a date from today

Maby i can change something on the mail header from
my notifaction mails.

Where is the local storage mail that contains all mail?

best regards klaus

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: mails missing
« Reply #11 on: September 12, 2013, 08:57:14 pm »
HDL: original Date: header from the message
HDV: its parsed value
HDP: parsed result as a string
HDA: the parsed value formatted as time only

It sounds like the Data header in your router's emails is maybe missing?

It should be present and formatted like this:

Date: Wed, 11 Sep 2013 21:31:56 +0000
Date: Thu, 12 Sep 2013 20:45:03 +0400
Date: Mon, 9 Sep 2013 07:53:03 -0700 (PDT)

The time zone name "(PDT)" is optional, just the offset is enough.

and so on.

Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

ludwigklr

  • Newbie
  • *
  • Posts: 12
Re: mails missing
« Reply #12 on: September 13, 2013, 05:22:05 pm »
Hello,

my problem is solved!

The problem comes from mail header date content

The keyword date: must started with a captital letter i.e. Date:
If it start with a small letter i.e. date: the HDL: field in diag file contains HDL: null
and the mail will not displayed in the inbox.

The format of date string should be

Date: Fri, 13 Sep 2013 14:34:06 +2000 then every things works fine

If the format Date: Fri Sep 13 14:29:24 MEST 2013
it will be work but in the diag file HDP: and HDA: filled
with 01-01-1970 i belive that means it is zero and the
Linux creation date will used

In other mail programms like Netscape or Outlook i never had
this problem. I will now change the mail creation programm to
pohibit the problems for the future.

Thanks for the support without them it was not possible
to investigate the problem

best regards Klaus

 

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: mails missing
« Reply #13 on: September 20, 2013, 01:45:13 am »
Great, thanks for the feedback. I'll take a look at my code, a single lowercase letter should not confuse it.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: mails missing
« Reply #14 on: September 20, 2013, 01:46:54 am »
Just did. My code ignores case when determining what kind of header it is, so there must have been something else going on... but I'm not sure what it might have been.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/