jens-maus / yam

:mailbox_with_mail: YAM (short for 'Yet Another Mailer') is a MIME-compliant open-source Internet email client written for Amiga-based computer systems (AmigaOS4, AmigaOS3, MorphOS, AROS). It supports POP3, SMTP, TLSv1/SSLv3 connection security, multiple users, multiple identities, PGPv2/v5 encryption, unlimited hierarchical folders, an ARexx interface, etc...
https://yam.ch
GNU General Public License v2.0
62 stars 18 forks source link

Fetching mails only on second step #577

Closed jens-maus closed 8 years ago

jens-maus commented 8 years ago

Originally by pollmeier-h@t-online.de on 2014-08-15 11:32:29 +0200


Summary

Fetching mails only on second step

Steps to reproduce

  1. Start YAM210dev and the download should start as it did before. If you then klick on "Holen" the mails are downloaded.
  2. When YAM is started the transfer window opens all accounts and tries to download. But on ervery acoount is shown nothing to download. When you then a second later klick on download every mail on every account is downloaded.

    Expected results

    Actual results

    Regression

    Notes

System here is AmigaOne X1000

tboeckel commented 8 years ago

Originally on 2014-08-15 11:47:00 +0200


Please start YAM from a shell with the "DEBUG" option. This will print out all network trafic to the shell, including the number of mails waiting on the server. Please attach that output to this ticket, but make sure to strip any private data before.

jens-maus commented 8 years ago

Originally by pollmeier-h@t-online.de on 2014-08-15 16:26:09 +0200


Attachment added: sashimi.out (28.1 KiB) Output when starting YAM debug

jens-maus commented 8 years ago

Originally by pollmeier-h@t-online.de on 2014-08-15 16:34:29 +0200


The interesting lines of sashimi output seem to be Nr. 259 to 270.

tboeckel commented 8 years ago

Originally on 2014-08-16 15:18:55 +0200


This is not exactly the log I asked for. But at least the log clearly shows that there are no mails available for download. So YAM's reaction is correct.

You can create a second log by starting the non-debug build from a shell like "YAM debug". This is different from starting the debug build.

For a third log you must again use the debug build and set ENV:yamdebug to "NET" before starting it.

Jens, we really should rename that DEBUG option to something else to avoid this kind of confusion in the future.

tboeckel commented 8 years ago

Originally on 2014-08-19 10:01:24 +0200


I was just able to reproduce this issue myself. I will see what is the cause.

tboeckel commented 8 years ago

Originally on 2014-08-19 10:22:37 +0200


In (08282d4):

tboeckel commented 8 years ago

Originally on 2014-08-19 10:30:48 +0200


In (b98132d):