How to re-set the date from which Thunderbird downloads POP email ?

Posted on 2009-12-27
Last Modified: 2013-11-29
I use Thunderbird to download emails from AT&T (Yahoo) to my laptop, and I  leave all messages on the server as a backup.    That has worked fine for a long time.
Each time I started up TB, it only downloaded new messages, specifically the UNread messages from the Yahoo INBOX; they automatically were marked as Read at Yahoo, and UNread inside TB on my laptop.
After many many months of using Thunderbird 2, I upgraded to the new version of Thunderbird on December 8th, 2009.
Now TB wants to download ALL 16000+ messages in the AT&T/Yahoo inbox, including all the previously downloaded messages, instead of just the couple of hundred messages that are truly new.
I think that would take a long time, eat up drive space, and create thousands of duplicated messages in the TB inbox on my laptop.
HOW can I tell Thunderbird and Yahoo to cooperate once again and only download messages (to my TB inbox) that have landed in the Yahoo inbox since December 8th?
I hope I have explained the situation clearly, thanks for any insights and suggestions.
Question by:ACz
    LVL 31

    Expert Comment

    My understanding is that there is nothing at the Yahoo end which signifies whether a message has been downloaded or not.  The choice of whether the message is downloaded or not is down to the email client (Thunderbird in your case) which stores a list of the Message Id's corresponding to each of the messages to be downloaded.  It looks at each message that comes down the pipe and compares its' list for each one, then marks it for download or not.

    I suspect that when Tbird was installed it was not done as un upgrade, but as a new install, or a new Mailbox was defined rather than using the existing one, which meant that the list of downloaded messages was no longer available for inspection by the new version.

    Your best bet would be to login to the Web interface of AT&T/Yahoo and delete the messages from there, but then the only copy of them will be in your old mailbox.  

    One snag with leaving messages on the server is that one day your mailbox will become full and people will not be able to email you - you may not get a message from AT&T/Yahoo saying that your mailbox is full, but people emailing you will get a bounce-back saying that your mailbox quota has been exceeded.
    LVL 27

    Expert Comment

    in my understanding this is a server side issue.

    See this screenshot from gmail:

    LVL 27

    Expert Comment

    Also yahoo mail now supports:

    Now that  Yahoo! Mail features unlimited storage (wow!), the easiest option for archiving (i.e., saving) your email is simply to keep it here.

    So space is not an issue here.

    LVL 31

    Expert Comment

    Well, that is the certainly the way to go if AT&T/Yahoo has equivalent options on its control panel.  

    Hmm I wonder how big unlimited is?  Big enough in this instance, I'm sure, but are there no asterisks knocking around that word?  (lol)

    Author Comment

    my fiddling around has resulted in TB showing a willingness to download messages as they come in today, but so far I have a huge gap in my inbox from December 8th until today.
    Therefore I am still looking for a solution.

    Thank you moorhouselondon & Tolomir,
    I have always assumed that the Read vs. Unread status in the web-based email is the flag that tells TB what to download.  But I am intrigued by the idea that there is some comparison of message headers.

    I cannot find any place at Yahoo to specify a POP-related date on the Yahoo side.

    I believe that my colleagues have huge mail stores at Yahoo without any problem at all, and I have not worried about it at all since they announce the unlimited policy.

    Still wondering how to get those emails over from Yahoo to TB...
    LVL 27

    Expert Comment

    hmm, maybe you can set the date in windows to 9, 10... 27th of december then start thunderbird for each day and download just the new messages. this  might result an all-email-collection.

    please set the date in windows to 9th of December and configure thunderbird just to download new messages.


    Author Comment

    Update #2,
    Well, I have been looking around the web, and at least now I have a plan.
    My plan is based upon the notion that the UNread flag on the Yahoo side may very well be ignored by TB.
    TB seems to use a local file called popstate.dat which is in a local directory that is part of the TB "profile".  
    Here is an excerpt from the beginning of the file

    # POP3 State File
    # This is a generated file!  Do not edit.

    k AFjHjkQAAP+ESoM3tQS9SD9S4v8 1250145378
    k AFPHjkQAAVp2SYH/8gAnlHNHGrI 1233271374
    k AFfHjkQAAWmkSceekwoOtBp8PwM 1237840584
    and so on for many more lines ...

    I think that the letter k means to keep the message on the server
    and the rest of the line may be a way to uniquely identify each and every message.

    At the moment I have two popstate.dat files.  One is in a directory called
     ...\Mail\   (2KB)
    and the other is in
     ...\Mail\   (679KB) and has.. well well ...  16,854 entries

    So, I plan to close TB and go over to web-based email at Yahoo.
    I will move all the messages, except for a few,
     out of the INBOX and into some other folder.
    (This will be tedious, because Yahoo will only show a max of 200 messages on screen at one time.  Then one can select all of those 200 and move them to a folder.  Repeat until the inbox is nearly empty.)

    Then I will rename the popstate.dat files (thus temporarily making them invisible to TB, right?).

    OK, then I will ask TB to Get New Messages, and see if the few messages from the inbox download correctly from Yahoo to TB.
    I assume that popstate.dat would be created anew.

    I'll report back later.


    Accepted Solution

    So, now it seems to be working.
     A new popstate.dat file has been created, much smaller than the old one.
    The messages from the yahoo inbox seem to be downloading into TB.
    The trick was to make sure that the yahoo inbox contained only the missing messages, and then to rename/delete popstate.dat,
    and then to open TB, and tell it to Get Mail.

    I hope this information will be useful to someone else in the future.

    Author Comment

    oops sorry I should give 25 points to moorhouselondon, but I don't know how to do that
    LVL 31

    Expert Comment

    Good piece of research which indeed will be helpful in future.  If you do wish to allocate points differently post a Question in Community Support.
    LVL 27

    Expert Comment

    Accept your answer as solution also any other comment.
    Then divide points to the answers.
    I think your points will be reduced to 0 while the others will be kept.  

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    I tend toward trying the newest hardware and software.  Thiss sometimes works out to my benefit, and sometimes not.  Because I downloaded and installed Android 5.x (…
    There was an incident about the POP3 issue for the double read receipts and delivery receipts in Exchange 2013.  There was huge research been done and found solution for the duplicate mails. Especially when the user gets  duplicate mails.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now