Community Discussions and Support
Sort email messages by my time not by GMT time

[quote user="coltswalker"]The reasoning for my needing this is important, and I have no way to correct the GMT = all zeros glitch. I can, however, ask if there is a way to get Pegasus to sort by the first time string in the header line as opposed to the GMT portion. I need to be able to read these messages in order, it is critical.

Please advise. Thank you. [/quote]

There's no such option. Someone might be able to code an extension or external tool for removing the GMT stuff, but with unknown side effects. The folder structure isn't too complex for doing so, you could even do it yourself with a simple (plain) text editor (no office monster!), but you'll have to do so over and over again for all folders containing such messages, and you would need to take special care to not destroy the folder file structure and size (the new mail folder is another issue since each message is stored in a single file of its own).

IMO the following approach would work (make sure to backup any files you're trying to modify): Folders are stored in files named something like FOLxxxxx.PMM (where the xxxxx is replaced with hexadecimal digits). The first 128 bytes of these files are internal administration data which shouldn't be touched. Now start a search and replace routine replacing (GMT+00:00) with an identical number of blank spaces (for keeping the file size). It would be a good idea to do all this with Pegasus Mail closed so you don't interfere with any internal processing.

<p>[quote user="coltswalker"]The reasoning for my needing this is important, and I have no way to correct the GMT = all zeros glitch. I can, however, ask if there is a way to get Pegasus to sort by the first time string in the header line as opposed to the GMT portion. I need to be able to read these messages in order, it is critical. Please advise. Thank you. [/quote]</p><p>There's no such option. Someone might be able to code an extension or external tool for removing the GMT stuff, but with unknown side effects. The folder structure isn't too complex for doing so, you could even do it yourself with a simple (plain) text editor (no office monster!), but you'll have to do so over and over again for all folders containing such messages, and you would need to take special care to not destroy the folder file structure and size (the new mail folder is another issue since each message is stored in a single file of its own).</p><p>IMO the following approach would work (make sure to backup any files you're trying to modify): Folders are stored in files named something like FOLxxxxx.PMM (where the xxxxx is replaced with hexadecimal digits). The first 128 bytes of these files are internal administration data which shouldn't be touched. Now start a <em>search and replace</em> routine replacing (GMT+00:00) with an identical number of blank spaces (for keeping the file size). It would be a good idea to do all this with Pegasus Mail closed so you don't interfere with any internal processing.</p>
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C

On the user interface, the list of email messages can be sorted by From, Subject, Date / Time, and Size. I need to sort by Date / Time. The Date / Time in Pegasus uses the GMT value in the email message header for time when sorting. I need it to sort by the time string before the GMT in the header. For example, in the following header snip

Date: Sat, 15 Jun 2013 16:44:35 -0500 (GMT+00:00)

Observe the GMT is all zeros. My incoming mail looks like this due to a deficiency I presume in the sender software, which I have no control over. Therefore, my messages are not sorted properly. They sort by date, but out of order by time.

If I could get Pegasus to sort by the part where (16:44:35) is on this message timestamp then they would be in order.

The reasoning for my needing this is important, and I have no way to correct the GMT = all zeros glitch. I can, however, ask if there is a way to get Pegasus to sort by the first time string in the header line as opposed to the GMT portion. I need to be able to read these messages in order, it is critical.

Please advise. Thank you.

<p>On the user interface, the list of email messages can be sorted by From, Subject, Date / Time, and Size. I need to sort by Date / Time. The Date / Time in Pegasus uses the GMT value in the email message header for time when sorting. I need it to sort by the time string before the GMT in the header. For example, in the following header snip </p><blockquote><p><b>Date: Sat, 15 Jun 2013 16:44:35 -0500 (GMT+00:00) </b> </p></blockquote><p>Observe the GMT is all zeros. My incoming mail looks like this due to a deficiency I presume in the sender software, which I have no control over. Therefore, my messages are not sorted properly. They sort by date, but out of order by time. If I could get Pegasus to sort by the part where (16:44:35) is on this message timestamp then they would be in order. </p><p>The reasoning for my needing this is important, and I have no way to correct the GMT = all zeros glitch. I can, however, ask if there is a way to get Pegasus to sort by the first time string in the header line as opposed to the GMT portion. I need to be able to read these messages in order, it is critical. Please advise. Thank you. </p>
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft