Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Junk file types

Last post 05-18-2020, 13:09 by Shades. 10 replies.
Sort Posts: Previous Next
  •  05-17-2020, 8:41

    Junk file types

    Could someone remind me which files in my PMail directory are junk, ie what types are junk? For example, those ending in $$$ are junk, I believe - what others?
  •  05-17-2020, 14:57

    • Shades is not online. Last active: 05-18-2020, 13:09 Shades
    • Top 100 Contributor
    • Joined on 06-16-2007
    • Member
    • Points 910

    Re: Junk file types

    See Han's page for compleat list

     http://www.vandenbogaerde.net/pegasusmail/pf_pmfiles.html

     

  •  05-17-2020, 16:52

    Re: Junk file types

    I've been using a script for years to get rid of these and other files from Pegasus Mail directories. It's a FORTH script which I unfortunately can not share because it needs a proprietary application to run (nnCron by Nicholas Nemtsev). Anyway, it scans Pegasus Mail directories after some files and folders, some locally, some recursively:

    1. *.$$$ starting from C:\PMAIL recursively
    2. *.TOP starting from C:\PMAIL recursively
    3. *.CNM starting from C:\PMAIL\MAIL recursively, 0-byte files only
    4. *.PMW starting from C:\PMAIL\MAIL recursively, 0-byte files only
    5. *.PMX starting from C:\PMAIL\MAIL recursively, 0-byte files only
    6. *.PNX starting from C:\PMAIL\MAIL recursively, 0-byte files only
    7. C:\PMAIL\MAIL\user\TCPLOGS (wiped using Sysinternals' sdelete.exe -s -a
     
    I started using this when I was on old v3.12c and Pegasus Mail newer versions already take care of some of these files, but still some left behind like those 0-byte that may appear once in awhile. So, in a nutshell s script is called automatically immediately after Pmail shutdown, do some house cleaning very quickly, and leave Pegasus ready to start next time without any hassles. Has been working fine for ages.

    Best,

    euler f german
    sete lagoas, mg, brazil
    Pegasus Mail 4.73.639 Standalone - Windows 7 Ultimate
    BearHTML 4.9.9.6 IERenderer 2.6.3.5
    Binaries: C:\PMAIL\Programs
    Mailboxes: C:\PMAIL\MAIL

    InsPMDic — Dictionary Handler Add-on (link on profile)
  •  05-17-2020, 17:09

    Re: Junk file types

    Thanks Shades
  •  05-17-2020, 17:11

    Re: Junk file types

    Thanks, Euler
  •  05-17-2020, 17:36

    Re: Junk file types

    YW, Tom. Just a note: I can't remember why I included the .TOP extension in my script, probably some temporary file created by a third-party application. And maybe I should port it to a batch file so every one could use it, maybe in association with Windows' Task Scheduler. I'm wondering if Shades would help on that. Wink

    Best,

    euler f german
    sete lagoas, mg, brazil
    Pegasus Mail 4.73.639 Standalone - Windows 7 Ultimate
    BearHTML 4.9.9.6 IERenderer 2.6.3.5
    Binaries: C:\PMAIL\Programs
    Mailboxes: C:\PMAIL\MAIL

    InsPMDic — Dictionary Handler Add-on (link on profile)
  •  05-17-2020, 19:12

    • Christopher Muñoz is not online. Last active: 2020/05/18, 15:54 Christopher Muñoz
    • Top 150 Contributor
    • Joined on 09-20-2008
    • Garfield County, Washington state, U.S.
    • Member
    • Points 760

    Re: Junk file types

    Euler, Tom, et. al. -- Once upon a time, when "Selective mail download" was invoked for multiple identities, Pegasus Mail created the *.TOP file in the [ User ] directory as a temporary file holding the aggregated list of the first line of each mail header as reported by the mail server.  

    That, then, generated the mail list output window for further user action.  

    Upon closing that window or selectively downloading the server-held mail as desired, the .TOP file was deleted.  If PMail crashed or was closed in some other disorderly manner, the .TOP file would still be there until selective mail download was once again invoked.   

    Somewhere along the way this protocol disappeared.  Unknown to me where PMail now holds this information.  As I've been a PMail user since 1990-91, quite a bit has "come and gone", I'm afraid.  

    As far as I'm aware, Han's pf_pmfiles.html page has never included a reference to *.TOP.  Understandable that it wouldn't have, since even as exhaustively thorough as Han has been, it's a file which never would have come to anyone's attention in the ordinary course of events. 


    StormUmbrella 

  •  05-17-2020, 21:48

    Re: Junk file types

    Thanks for sharing this information with us, Christopher. I know I had a reason to include the .TOP extension but just couldn't remember why. Anyway, it is good to know I haven't gone completely nuts yet.Geeked

    Best,

    euler f german
    sete lagoas, mg, brazil
    Pegasus Mail 4.73.639 Standalone - Windows 7 Ultimate
    BearHTML 4.9.9.6 IERenderer 2.6.3.5
    Binaries: C:\PMAIL\Programs
    Mailboxes: C:\PMAIL\MAIL

    InsPMDic — Dictionary Handler Add-on (link on profile)
  •  05-17-2020, 22:48

    • Christopher Muñoz is not online. Last active: 2020/05/18, 15:54 Christopher Muñoz
    • Top 150 Contributor
    • Joined on 09-20-2008
    • Garfield County, Washington state, U.S.
    • Member
    • Points 760

    Re: Junk file types

    Nah, from what I see I think you've got a ways to go there, Euler.  

    Now that I see that I haven't posted since February 2017 (merely lurking), I realize that I have another issue or two to weigh in on.  

    Nothing current, really, just a "where did this come from - ?" comment or two.  And a rousing endorsement of idw / Michael's April 14th  [Rant Begin] . . . [Rant End] post, with an anecdote or two of my own which probably has contributed to my being a place or two ahead of you in the "going completely nuts" queue. 

    If in the ful(l)ness of time I can find Brian F.'s year or two ago post about copying / moving entries in the PMail address book . . . which I've saved "somewhere" . . .   

    Devil Beer Coffee
  •  05-18-2020, 12:54

    • Shades is not online. Last active: 05-18-2020, 13:09 Shades
    • Top 100 Contributor
    • Joined on 06-16-2007
    • Member
    • Points 910

    Re: Junk file types

    Hi

    I use a more general batch to clear all those pesky reminants that appear, happy to share, this version cleans all the file types I don't want across many Drives (Z: Y: X: H: G: F: D: C: could be more or less)

    That's the easy part, Zero byte files are harder, not to remove or find but to decide "Which" ones you need and which can go, a quick scan here shows these zero byte files

    bearhtml.log
    CyberArk.PMI
    GLOSSARY.PM
    mapipm.log
    newsmail.log
    newsmail2.log
    newspost.log
    pmical.log
    pmvcard.log
    rssmail.log
    SpamHalt.PMI
    virscan.log
    virscan.rep
    pmical.log
    pmicaladm.log
    rssmail.log

    in my mail dir(s) all these are (for the most part) used and/or needed

    so a little care is needed "if" you want to automate removing zero byte files, probably the best route is pipe a list to a txt file, than decide, from my list I could exclude *.log, *.pmi & *.rep, some log's will (re)build when required but some need a blank to work

     

  •  05-18-2020, 13:09

    • Shades is not online. Last active: 05-18-2020, 13:09 Shades
    • Top 100 Contributor
    • Joined on 06-16-2007
    • Member
    • Points 910

    Re: Junk file types

    With an Address Book open, select (CTRL+A for all) the addresses you want (this caught me out at first)

    AddressBook | Export

     either Tagged or Tab Delimited

    the reverse is

    AddressBook | Import 

     either Tagged or Tab Delimited

    I find that Tab Delimited gives more scope to "play" YMMV


View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page