Community Discussions and Support
Ebay & PayPal messages causing Pmail Freeze and Lockout. Win7 V4.9

I've been a Pmail user for years. I don't change settings. HTML content has always been an issue and slow to link to Firefox but I've lived with it and often open it then save as HTML to read it.


Now Ebay and PayPal HTML message format seems to have killed PMAIL in the last 2 days. Pmail downloads from my mail server but freezes and lockouts every time I try to open it from the inbox . I could put up with it if I could read text in the message body. I can open and read the text header, but not the main body message. I can't even save the message as an html extension directly from my inbox because it won't open without crashing. I don't know if it's possible to disable the HTML renderer to see if the message will open as text?


I don't want to keep causing pmail crashes because in the past I know it might cause a mailbox corruption and time consuming effort parsing it and deleting a corrupt message entry.


Is anybody else getting pmail crashes with Ebay and PayPal messages?


Thanks


I've been a Pmail user for years. I don't change settings. HTML content has always been an issue and slow to link to Firefox but I've lived with it and often open it then save as HTML to read it. Now Ebay and PayPal HTML message format seems to have killed PMAIL in the last 2 days. Pmail downloads from my mail server but freezes and lockouts every time I try to open it from the inbox . I could put up with it if I could read text in the message body. I can open and read the text header, but not the main body message. I can't even save the message as an html extension directly from my inbox because it won't open without crashing. I don't know if it's possible to disable the HTML renderer to see if the message will open as text? I don't want to keep causing pmail crashes because in the past I know it might cause a mailbox corruption and time consuming effort parsing it and deleting a corrupt message entry. Is anybody else getting pmail crashes with Ebay and PayPal messages? Thanks

I think I managed to turn off the renderer and links to my browser eventually: Options/message reader/ manual right click remote-linked graphics, removed image helper application viewers (BMP,JPG etc), deleted the web browser command line and unchecked Find browser automatically.


The pmail visual experience is now pretty dumb with square box placeholders, but at least html messages open as text and can be saved to desktop as HTM and read in my browser. What I find strange is if I use this manual process, Firefox opens and renders the message rapidly, whereas when pmail tries to do it, there's a long pause of inactivity before FF opens and shows the message?


I would have liked pmail to smoothly open Firefox and render the message, but when it has worked it's always been clunky pausing for a while before the browser screen appears. The internal renderers sometimes worked for me me, but not always. There always seems to be an option checked (Usually BearHTM).


I think I managed to turn off the renderer and links to my browser eventually: Options/message reader/ manual right click remote-linked graphics, removed image helper application viewers (BMP,JPG etc), deleted the web browser command line and unchecked Find browser automatically. The pmail visual experience is now pretty dumb with square box placeholders, but at least html messages open as text and can be saved to desktop as HTM and read in my browser. What I find strange is if I use this manual process, Firefox opens and renders the message rapidly, whereas when pmail tries to do it, there's a long pause of inactivity before FF opens and shows the message? I would have liked pmail to smoothly open Firefox and render the message, but when it has worked it's always been clunky pausing for a while before the browser screen appears. The internal renderers sometimes worked for me me, but not always. There always seems to be an option checked (Usually BearHTM).

A PayPal message crash was reported yesterday by someone running Pegasus Mail under Wine on a Linux OS. This means that the default HTML renderer, IERenderer, was not being used since it can't run in that environment. You mentioned "BearHTM" (I'm sure you meant BearHTML) which makes be wonder if you are not using IERenderer either. I would at least test while running the current version of IERenderer (v2.7.3.smile.


Was your PayPal message a notice confirming an order? I ask because I received one of those yesterday and it did not cause a crash when rendered with IERenderer or BearHTML. I load remote graphics manually and doing so did not cause a crash either. If same type of message, I'm curious why yours crashes and mine doesn't.


I think I managed to turn off the renderer and links to my browser eventually: Options/message reader/ manual right click remote-linked graphics, removed image helper application viewers (BMP,JPG etc), deleted the web browser command line and unchecked Find browser automatically.


FWIW, the only action listed here that would affect the display of the message in Pegasus Mail is setting remote-linked graphics to manual loading.
Image helper application viewers only applies to attachments.
Web browser command line and Find browser automatically only apply to opening a message in a browser (eg: right-click > Open message in web browser)


A PayPal message crash was reported yesterday by someone running Pegasus Mail under Wine on a Linux OS. This means that the default HTML renderer, IERenderer, was not being used since it can't run in that environment. You mentioned "BearHTM" (I'm sure you meant BearHTML) which makes be wonder if you are not using IERenderer either. I would at least test while running the current version of IERenderer (v2.7.3.8). Was your PayPal message a notice confirming an order? I ask because I received one of those yesterday and it did not cause a crash when rendered with IERenderer or BearHTML. I load remote graphics manually and doing so did not cause a crash either. If same type of message, I'm curious why yours crashes and mine doesn't. [quote="pid:58816, uid:31387"]I think I managed to turn off the renderer and links to my browser eventually: Options/message reader/ manual right click remote-linked graphics, removed image helper application viewers (BMP,JPG etc), deleted the web browser command line and unchecked Find browser automatically.[/quote] FWIW, the only action listed here that would affect the display of the message in Pegasus Mail is setting remote-linked graphics to manual loading. Image helper application viewers only applies to attachments. Web browser command line and Find browser automatically only apply to opening a message in a browser (eg: right-click > Open message in web browser)

I had a crash with the PayPal message on my linux machine using wine.
Pegasus does create a file in user temp directory where it extracts the encoded message to a file.
Original email PH7TGSJM.CNM.bad (renamed)
13917 Apr 2 04:39 SW6L9YHL.TMP (HTML FILE extracted)
That File opens in browser fine.


wc -lL SW6L9YHL.TMP
1356 16498 SW6L9YHL.TMP
Lines Longest Line


cat SW6L9YHL.TMP | grep metadata
-</span> <span data-metadata="<!--(figmeta)eyJmaWxlS2V


That is beginning of 16498 character line. figmeta???
AI says it is junk that shouldn't have been included in the email, and I found completely deleted line opens the same as far as I can see.
I earlier had issues with some ebay messages that had long lines that were linked to rover.ebay.com that were tracking links? Just deleted those as well.


Don't know if there would be a way to just eliminate these super long lines after the encoded lines are extracted, but before they are passed to whatever crashes because of them. Seems IERenderer has a way of doing that. Don't know if it just ignores the line or converts it.


Hope that helps.


I had a crash with the PayPal message on my linux machine using wine. Pegasus does create a file in user temp directory where it extracts the encoded message to a file. Original email PH7TGSJM.CNM.bad (renamed) 13917 Apr 2 04:39 SW6L9YHL.TMP (HTML FILE extracted) That File opens in browser fine. wc -lL SW6L9YHL.TMP 1356 16498 SW6L9YHL.TMP Lines Longest Line cat SW6L9YHL.TMP | grep metadata -&lt;/span&gt;&amp;nbsp;&lt;span data-metadata=&quot;&lt;!--(figmeta)eyJmaWxlS2V That is beginning of 16498 character line. figmeta??? AI says it is junk that shouldn&#039;t have been included in the email, and I found completely deleted line opens the same as far as I can see. I earlier had issues with some ebay messages that had long lines that were linked to rover.ebay.com that were tracking links? Just deleted those as well. Don&#039;t know if there would be a way to just eliminate these super long lines after the encoded lines are extracted, but before they are passed to whatever crashes because of them. Seems IERenderer has a way of doing that. Don&#039;t know if it just ignores the line or converts it. Hope that helps.

mikes@guam.net

Don't know if there would be a way to just eliminate these super long lines after the encoded lines are extracted, but before they are passed to whatever crashes because of them. Seems IERenderer has a way of doing that. Don't know if it just ignores the line or converts it.


No, it doesn't need to ignore or convert it because it can handle line lengths of almost infinite size (as long as below 2 GB or max. RAM size) as long as Pegasus Mail passes them over to IER without truncating them. Only the latter is causing trouble for IER, but it can even fix it when returning the contents for passing them back to Pegasus Mail to forward or reply - which have their own issues but usually not crashing.


I just got a sample message providing a decoded (from transfer encoding) line length of more than 80,000 characters which does not crash IER or Pegasus Mail on any further processing as long as it is properly transfer-encoded to at most 1,000 characters. Pegasus Mail's buffer size has recently been enlarged to 16 KB per line so could even deal with more than what the respective RFC requests (1,000 bytes including line breaks).


[quote=&quot;pid:58819, uid:2546&quot;]Don&#039;t know if there would be a way to just eliminate these super long lines after the encoded lines are extracted, but before they are passed to whatever crashes because of them. Seems IERenderer has a way of doing that. Don&#039;t know if it just ignores the line or converts it.[/quote] No, it doesn&#039;t need to ignore or convert it because it can handle line lengths of almost infinite size (as long as below 2 GB or max. RAM size) as long as Pegasus Mail passes them over to IER without truncating them. Only the latter is causing trouble for IER, but it can even fix it when returning the contents for passing them back to Pegasus Mail to forward or reply - which have their own issues but usually not crashing. I just got a sample message providing a decoded (from transfer encoding) line length of more than 80,000 characters which does not crash IER or Pegasus Mail on any further processing as long as it is properly transfer-encoded to at most 1,000 characters. Pegasus Mail&#039;s buffer size has recently been enlarged to 16 KB per line so could even deal with more than what the respective RFC requests (1,000 bytes including line breaks).
			Michael
--
IERenderer's Homepage
PGP Key ID (RSA 2048): 0xC45D831B
S/MIME Fingerprint: 94C6B471 0C623088 A5B27701 742B8666 3B7E657C
edited Apr 2 at 9:59 pm

Interesting. Had heard something about the buffer being increased in size, and perhaps that is why I haven't seen any crashes till this one that exceeds the 16K size. Perhaps increasing it to 32K or 64K or 96K would solve the issue?


I could write a simple script that could do 1 of a few things.


  1. Just open the latest *.TMP file in the temp directory with firefox, since it can handle the long line.
  2. Could have a script that just eliminate the long line from same temp file, and open if with firefox. But since it wouldn't effect the original CNM file would still cause same crash.
  3. could write a script that could elimanate the long line, and then re base64 encode it, and then replace the base64 code in the original name.

Don't now if there is a method that a filter or something could modify the TMP file before it gets passed to the process that crashes.


I have another program I've been dealing with that read 72 web pages for campus directory structure of University of Guam. Total size is about 15M.
One strange thing, is it has some lines that are up to 26000 characters for a single line?
Turns out data I need is on lines that are 250 characters are less, but have to have it be able to read lines up to the 26000.


Summary of my program that process files.


Time to Download Campus Directory   29.469332 Seconds
Time to Complete Total Process 29.473751 Seconds
Time to Process Data Completely 0.004419 Seconds 244334 lines in web pages
Time for Process 15M Web Part1 0.000716 Seconds (16.21%) 4042 lines
Time for Process 1M Part2 0.000569 Seconds (12.88%) 3510 lines
Time for Process 256K Part3 0.002051 Seconds (46.42%) 702 lines
Time for Process reportissue 0.001082 Seconds (24.49%)

Perhaps some knows a way.
Thanks again for the info.


Interesting. Had heard something about the buffer being increased in size, and perhaps that is why I haven&#039;t seen any crashes till this one that exceeds the 16K size. Perhaps increasing it to 32K or 64K or 96K would solve the issue? I could write a simple script that could do 1 of a few things. 1. Just open the latest *.TMP file in the temp directory with firefox, since it can handle the long line. 2. Could have a script that just eliminate the long line from same temp file, and open if with firefox. But since it wouldn&#039;t effect the original CNM file would still cause same crash. 3. could write a script that could elimanate the long line, and then re base64 encode it, and then replace the base64 code in the original name. Don&#039;t now if there is a method that a filter or something could modify the TMP file before it gets passed to the process that crashes. I have another program I&#039;ve been dealing with that read 72 web pages for campus directory structure of University of Guam. Total size is about 15M. One strange thing, is it has some lines that are up to 26000 characters for a single line? Turns out data I need is on lines that are 250 characters are less, but have to have it be able to read lines up to the 26000. Summary of my program that process files. ```` Time to Download Campus Directory 29.469332 Seconds Time to Complete Total Process 29.473751 Seconds Time to Process Data Completely 0.004419 Seconds 244334 lines in web pages Time for Process 15M Web Part1 0.000716 Seconds (16.21%) 4042 lines Time for Process 1M Part2 0.000569 Seconds (12.88%) 3510 lines Time for Process 256K Part3 0.002051 Seconds (46.42%) 702 lines Time for Process reportissue 0.001082 Seconds (24.49%) ```` Perhaps some knows a way. Thanks again for the info.

mikes@guam.net

Thanks, I don't want to be the only pmail user posting an issue that's a local problem. I'll see if others in the community have had a similar experience.


All the years I've supported pmail I've understood (for good security reasons) it was developed by David as a text based client. Unfortunately in the new world of smartphones and html, I'm finding more commercial mail is generated as html. I like the idea of pmail remaining a text based client using a supported browser which builds in security and filtering - Provided the browser link can be made quickly to give a smooth mail message browsing experience. At the moment with those links disabled, pmail opening my messages has become as fast as it always was.


I'm also frustrated at facing obsolescence. Although my Win7_64 is stable and I'm using 3rd party security, Mozilla have stopped releasing Firefox updates. I'm not a programmer, but I think since Microsoft stopped support for older Windows, Mozilla aren't able to continue releasing updates with backwards compatibility? This presents a problem with websites particularly financial which block access for browsers and OS failing their update security checks. Although some browser string spoofing can still get around that.


I recently setup an old PC with Linux Ubuntu and a Firefox current supported browser version. I'm also running Ubuntu under Oracle V.M on a Win7_64 desktop. Unfortunately there isn't a Pmail Linux version unless I install it running under Wine. It won't be music to members ears but I installed Mozillas Thunderbird email client which has no issues with htm messages since both email and Firefox are Mozilla apps. Since I've grown up with Pmail, Thunderbird needs some learning time and it's not so intuitive creating and working with folder trees. I also bought a licence for BitRecover Pegasus converter which can create pdf copies of all my old pmail messages in different formats. I haven't tried converting to Thunderbird and importing yet.


Archiving Pmail messages has always been hard and my mailboxes have sometimes got so large I've date sorted old messages into new message folders and created a fresh install with last 2 years or so of messages. Unfortunately this still leaves messages in a format only readable by a Pegasus Mail client which probably won't be compatible with future computers. No good if you want your life in a time capsule!


I'm starting to convert old pmail message archives to text, pdf (even paper!). Pdf has been a stable Adobe supported format for many years and I can't see text file format going obsolete. Getting a pmail crash and folder corruption is a wake up call to protect your messages in a backup system that doesn't rely on a client app. or restoring a disc image.


Thanks, I don&#039;t want to be the only pmail user posting an issue that&#039;s a local problem. I&#039;ll see if others in the community have had a similar experience. All the years I&#039;ve supported pmail I&#039;ve understood (for good security reasons) it was developed by David as a text based client. Unfortunately in the new world of smartphones and html, I&#039;m finding more commercial mail is generated as html. I like the idea of pmail remaining a text based client using a supported browser which builds in security and filtering - Provided the browser link can be made quickly to give a smooth mail message browsing experience. At the moment with those links disabled, pmail opening my messages has become as fast as it always was. I&#039;m also frustrated at facing obsolescence. Although my Win7_64 is stable and I&#039;m using 3rd party security, Mozilla have stopped releasing Firefox updates. I&#039;m not a programmer, but I think since Microsoft stopped support for older Windows, Mozilla aren&#039;t able to continue releasing updates with backwards compatibility? This presents a problem with websites particularly financial which block access for browsers and OS failing their update security checks. Although some browser string spoofing can still get around that. I recently setup an old PC with Linux Ubuntu and a Firefox current supported browser version. I&#039;m also running Ubuntu under Oracle V.M on a Win7_64 desktop. Unfortunately there isn&#039;t a Pmail Linux version unless I install it running under Wine. It won&#039;t be music to members ears but I installed Mozillas Thunderbird email client which has no issues with htm messages since both email and Firefox are Mozilla apps. Since I&#039;ve grown up with Pmail, Thunderbird needs some learning time and it&#039;s not so intuitive creating and working with folder trees. I also bought a licence for BitRecover Pegasus converter which can create pdf copies of all my old pmail messages in different formats. I haven&#039;t tried converting to Thunderbird and importing yet. Archiving Pmail messages has always been hard and my mailboxes have sometimes got so large I&#039;ve date sorted old messages into new message folders and created a fresh install with last 2 years or so of messages. Unfortunately this still leaves messages in a format only readable by a Pegasus Mail client which probably won&#039;t be compatible with future computers. No good if you want your life in a time capsule! I&#039;m starting to convert old pmail message archives to text, pdf (even paper!). Pdf has been a stable Adobe supported format for many years and I can&#039;t see text file format going obsolete. Getting a pmail crash and folder corruption is a wake up call to protect your messages in a backup system that doesn&#039;t rely on a client app. or restoring a disc image.
edited Apr 3 at 10:13 am

Just to point out. I believe Pegasus PMM files are basically mbox formatted files for the actual messages. The PMI index files are uniq to Pegasus but the PMM files have the data.


Not sure if the first 128 bytes at front which includes folder name info is mbox standard?


There are some files in the PMAIL\Programs Directory.
169472 Apr 17 2011 MBXMAINT.EXE
180736 Apr 17 2011 MBXMAINT_UI.EXE
577 Sep 1 2008 MBXMAINT_UI.EXE.MANIFEST


Know MR. Harris is working on changes to version 5 to change a lot of things, but no real info I have. Only beta team has some, but Mr. Harris is only one with complete picture.


Will have to see.


Just to point out. I believe Pegasus PMM files are basically mbox formatted files for the actual messages. The PMI index files are uniq to Pegasus but the PMM files have the data. Not sure if the first 128 bytes at front which includes folder name info is mbox standard? There are some files in the PMAIL\Programs Directory. 169472 Apr 17 2011 MBXMAINT.EXE 180736 Apr 17 2011 MBXMAINT_UI.EXE 577 Sep 1 2008 MBXMAINT_UI.EXE.MANIFEST Know MR. Harris is working on changes to version 5 to change a lot of things, but no real info I have. Only beta team has some, but Mr. Harris is only one with complete picture. Will have to see.

mikes@guam.net

As an addition. Have been playing with way to resolve issue with the TMP files with long lines in the user Temp Directory.


With the number of attempts to open message that crashes Pegasus for me.
Currently have 12 TMP Files that have this.
All seem to have the same data but different sizes?


These are copied to another directory for test.
.TMP are the ones created by Pegasus
.TMP.zzz are ones that filter out the long lines.


113917 Apr 3 23:51 4XWX6G65.TMP
97417 Apr 3 23:52 4XWX6G65.TMP.zzz
116543 Apr 3 23:51 58JMIS3I.TMP
76007 Apr 3 23:52 58JMIS3I.TMP.zzz
93264 Apr 3 23:51 7CS0R9AD.TMP
76781 Apr 3 23:52 7CS0R9AD.TMP.zzz
116543 Apr 3 23:51 AB88QVLK.TMP
76007 Apr 3 23:52 AB88QVLK.TMP.zzz
93264 Apr 3 23:51 AWL899XA.TMP
76781 Apr 3 23:52 AWL899XA.TMP.zzz
137950 Apr 3 23:51 EFOEAGIK.TMP
96342 Apr 3 23:52 EFOEAGIK.TMP.zzz
137950 Apr 3 23:51 G8L2SMGE.TMP
96342 Apr 3 23:52 G8L2SMGE.TMP.zzz
113917 Apr 3 23:51 JNEJ8N07.TMP
97417 Apr 3 23:52 JNEJ8N07.TMP.zzz
93264 Apr 3 23:51 KRDLBDT3.TMP
76781 Apr 3 23:52 KRDLBDT3.TMP.zzz
113917 Apr 3 23:51 SW6L9YHL.TMP
97417 Apr 3 23:52 SW6L9YHL.TMP.zzz
113917 Apr 3 23:51 VLTRWLQ9.TMP
97417 Apr 3 23:52 VLTRWLQ9.TMP.zzz
93264 Apr 3 23:51 ZTO2GPH8.TMP
76781 Apr 3 23:52 ZTO2GPH8.TMP.zzz


long lines start with -</span> <span data-metadata="<!--(figmeta)


Simple program to convert .TMP to .TMP.zzz


 #include <cstring>
#include <iostream>
#include <fstream>
#include <string>

int main(int argc, char* argv[])
{
const size_t MAX_LENGTH = 16384; // 16K limit
char fileout[80];
if (argc != 2)
{
std::cerr << "Usage: " << argv[0] << " <input_file1> <input_file2>" << std::endl;
return 1;
}
strcpy(fileout,argv[1]);
strcat(fileout,".zzz");
std::ifstream inputFile(argv[1]);
std::ofstream outputFile(fileout);

if (!inputFile.is_open() || !outputFile.is_open())
{
std::cerr << "Error: Could not open files." << std::endl;
return 1;
}

std::string line;
// Read the file line by line
while (std::getline(inputFile, line))
{
// Only write lines that are within the length limit
if (line.length() <= MAX_LENGTH)
{
outputFile << line << "\n";
}
}

inputFile.close();
outputFile.close();

std::cout << "Processing complete. Short lines saved to output.txt." << std::endl;
return 0;
}

Could add code to overwrite TMP with TMP.zzz version, but not clear if way to get Pegasus to run it in a filter or other way before crash is caused.
Ran against all TMP files, but all other the TMP and TMP.zzz files are same.


Could just use a script with this to open file in browser


firefox $(ls -1rt /home/msetzerii/.wine/drive_c/users/msetzerii/Temp/*.TMP | tail -n1)
As an addition. Have been playing with way to resolve issue with the TMP files with long lines in the user Temp Directory. With the number of attempts to open message that crashes Pegasus for me. Currently have 12 TMP Files that have this. All seem to have the same data but different sizes? These are copied to another directory for test. .TMP are the ones created by Pegasus .TMP.zzz are ones that filter out the long lines. 113917 Apr 3 23:51 4XWX6G65.TMP 97417 Apr 3 23:52 4XWX6G65.TMP.zzz 116543 Apr 3 23:51 58JMIS3I.TMP 76007 Apr 3 23:52 58JMIS3I.TMP.zzz 93264 Apr 3 23:51 7CS0R9AD.TMP 76781 Apr 3 23:52 7CS0R9AD.TMP.zzz 116543 Apr 3 23:51 AB88QVLK.TMP 76007 Apr 3 23:52 AB88QVLK.TMP.zzz 93264 Apr 3 23:51 AWL899XA.TMP 76781 Apr 3 23:52 AWL899XA.TMP.zzz 137950 Apr 3 23:51 EFOEAGIK.TMP 96342 Apr 3 23:52 EFOEAGIK.TMP.zzz 137950 Apr 3 23:51 G8L2SMGE.TMP 96342 Apr 3 23:52 G8L2SMGE.TMP.zzz 113917 Apr 3 23:51 JNEJ8N07.TMP 97417 Apr 3 23:52 JNEJ8N07.TMP.zzz 93264 Apr 3 23:51 KRDLBDT3.TMP 76781 Apr 3 23:52 KRDLBDT3.TMP.zzz 113917 Apr 3 23:51 SW6L9YHL.TMP 97417 Apr 3 23:52 SW6L9YHL.TMP.zzz 113917 Apr 3 23:51 VLTRWLQ9.TMP 97417 Apr 3 23:52 VLTRWLQ9.TMP.zzz 93264 Apr 3 23:51 ZTO2GPH8.TMP 76781 Apr 3 23:52 ZTO2GPH8.TMP.zzz long lines start with -&lt;/span&gt;&amp;nbsp;&lt;span data-metadata=&quot;&lt;!--(figmeta) Simple program to convert .TMP to .TMP.zzz ```` #include &lt;cstring&gt; #include &lt;iostream&gt; #include &lt;fstream&gt; #include &lt;string&gt; int main(int argc, char* argv[]) { const size_t MAX_LENGTH = 16384; // 16K limit char fileout[80]; if (argc != 2) { std::cerr &lt;&lt; &quot;Usage: &quot; &lt;&lt; argv[0] &lt;&lt; &quot; &lt;input_file1&gt; &lt;input_file2&gt;&quot; &lt;&lt; std::endl; return 1; } strcpy(fileout,argv[1]); strcat(fileout,&quot;.zzz&quot;); std::ifstream inputFile(argv[1]); std::ofstream outputFile(fileout); if (!inputFile.is_open() || !outputFile.is_open()) { std::cerr &lt;&lt; &quot;Error: Could not open files.&quot; &lt;&lt; std::endl; return 1; } std::string line; // Read the file line by line while (std::getline(inputFile, line)) { // Only write lines that are within the length limit if (line.length() &lt;= MAX_LENGTH) { outputFile &lt;&lt; line &lt;&lt; &quot;\n&quot;; } } inputFile.close(); outputFile.close(); std::cout &lt;&lt; &quot;Processing complete. Short lines saved to output.txt.&quot; &lt;&lt; std::endl; return 0; } ```` Could add code to overwrite TMP with TMP.zzz version, but not clear if way to get Pegasus to run it in a filter or other way before crash is caused. Ran against all TMP files, but all other the TMP and TMP.zzz files are same. Could just use a script with this to open file in browser ```` firefox $(ls -1rt /home/msetzerii/.wine/drive_c/users/msetzerii/Temp/*.TMP | tail -n1) ````

mikes@guam.net

Sorry I've been a while coming back. I solved the Pmail to Thunderbird migration with a small paid for App format converter called BitRecover.


I tried a few free and others and Bitrecover IMHO was the best, although not so intuitive so do test runs first.


Sorry I&#039;ve been a while coming back. I solved the Pmail to Thunderbird migration with a small paid for App format converter called BitRecover. I tried a few free and others and Bitrecover IMHO was the best, although not so intuitive so do test runs first.

The thread has been dormant for some time, but since this appears to match my problem, I'll chime in here.
HTML-heavy mails like those from Ebay, DHL or Paypal have been crashing my Pmail for quite a few years now. I concur with @Vox about supporting a basically text-based mailer "with benefits" (I usually send out all my mails without formatting), and I like to have them no frills in my inbox, but the above mail senders do not offer "bare content" mail browsing.
So is the best solution still to basically hardwire Pmail into not even attempting to display HTML-heavy mails with embedded external gfx, or is there an alternative I should try?

The thread has been dormant for some time, but since this appears to match my problem, I&#039;ll chime in here. HTML-heavy mails like those from **Ebay, DHL or Paypal** have been crashing my Pmail for quite a few years now. I concur with @Vox about supporting a basically text-based mailer &quot;with benefits&quot; (I usually send out all my mails without formatting), and I like to have them no frills in my inbox, but the above mail senders do not offer &quot;bare content&quot; mail browsing. So is the best solution still to basically hardwire Pmail into not even attempting to display HTML-heavy mails with embedded external gfx, or is there an alternative I should try?

I'm a writer / but then / nobody's perfect (inscription on Billy Wilder's tombstone)

I had some ebay messages that would have a super long line included in base 64 code inside messages. When message is expanded it would contain a line that was too long from Pegasus to handle. Think Mr. Harris increased the size of buffer, so it handles longer line. Had a similar issue with an uucp gateway I wrote long long ago for Pegasus. A line isn't suppose to be longer than 998 characters, but MicroSoft Outlook would send paragraphs as a single line regardless of length. So, not being able to get MicroSoft to follow rules had to increase the buffer size to accept long lines.


With ebay messages sometimes it would include tracker code with similar super long lines. Wrote this little program at would simple remove this line from message. Would make no difference in display of message. Just tracking code.


#include <cstdio>
#include <cstring>
#include <cstdlib>

using namespace std;

int main(int argc,char* argv[])
{
FILE *fp1,*fp2;
char line[10001],rest[5001];
int x;
if((fp1=fopen(argv[1],"r"))==NULL) exit(1);
// fp1=fopen(argv[1],"r");
fp2=fopen("temp.xxx","w");
while(!feof(fp1))
{
fgets(line,499,fp1);
if(feof(fp1)) break;
x=strlen(line);
if(line[x-1]=='\n' && line[x-2]=='\r' && line[x-3]=='=')
{
line[strlen(line)-3]=0;
fprintf(fp2,"%s",line);
}
else
fprintf(fp2,"%s",line);
}
fclose(fp1);
fclose(fp2);
fp1=fopen("temp.xxx","r");
fp2=fopen(argv[1],"w");
while(!feof(fp1))
{
char *p1;
fgets(line,10000,fp1);
if(feof(fp1)) break;
if((p1=strstr(line,"https://rover.ebay.com/roverimp")))
{
// continue;
fgets(line,10000,fp1);
while(line[0]!='<') fgets(line,10000,fp1);
}
x=strlen(line);
if(x<=1000) fprintf(fp2,"%s",line);
while(x>1000)
{
if((p1=strchr(line+1,'<')))
{
strcpy(rest,p1);
*p1=0;
fprintf(fp2,"%s\n",line);
strcpy(line,rest);
x=strlen(line);
}
if(x<1000)
{
fprintf(fp2,"%s\n",line);
break;
}
if((p1=strchr(line+4,' ')))
{
strcpy(rest,p1);
*p1=0;
fprintf(fp2,"%s\n",line);
strcpy(line,rest);
x=strlen(line);
}
if(x<1000 && x>0)
fprintf(fp2,"%s\n",line);
else
printf("%s\n",line);
}
}
fclose(fp1);
fclose(fp2);
remove("temp.xxx");
return 0;
}
I had some ebay messages that would have a super long line included in base 64 code inside messages. When message is expanded it would contain a line that was too long from Pegasus to handle. Think Mr. Harris increased the size of buffer, so it handles longer line. Had a similar issue with an uucp gateway I wrote long long ago for Pegasus. A line isn&#039;t suppose to be longer than 998 characters, but MicroSoft Outlook would send paragraphs as a single line regardless of length. So, not being able to get MicroSoft to follow rules had to increase the buffer size to accept long lines. With ebay messages sometimes it would include tracker code with similar super long lines. Wrote this little program at would simple remove this line from message. Would make no difference in display of message. Just tracking code. ```` #include &lt;cstdio&gt; #include &lt;cstring&gt; #include &lt;cstdlib&gt; using namespace std; int main(int argc,char* argv[]) { FILE *fp1,*fp2; char line[10001],rest[5001]; int x; if((fp1=fopen(argv[1],&quot;r&quot;))==NULL) exit(1); // fp1=fopen(argv[1],&quot;r&quot;); fp2=fopen(&quot;temp.xxx&quot;,&quot;w&quot;); while(!feof(fp1)) { fgets(line,499,fp1); if(feof(fp1)) break; x=strlen(line); if(line[x-1]==&#039;\n&#039; &amp;&amp; line[x-2]==&#039;\r&#039; &amp;&amp; line[x-3]==&#039;=&#039;) { line[strlen(line)-3]=0; fprintf(fp2,&quot;%s&quot;,line); } else fprintf(fp2,&quot;%s&quot;,line); } fclose(fp1); fclose(fp2); fp1=fopen(&quot;temp.xxx&quot;,&quot;r&quot;); fp2=fopen(argv[1],&quot;w&quot;); while(!feof(fp1)) { char *p1; fgets(line,10000,fp1); if(feof(fp1)) break; if((p1=strstr(line,&quot;https://rover.ebay.com/roverimp&quot;))) { // continue; fgets(line,10000,fp1); while(line[0]!=&#039;&lt;&#039;) fgets(line,10000,fp1); } x=strlen(line); if(x&lt;=1000) fprintf(fp2,&quot;%s&quot;,line); while(x&gt;1000) { if((p1=strchr(line+1,&#039;&lt;&#039;))) { strcpy(rest,p1); *p1=0; fprintf(fp2,&quot;%s\n&quot;,line); strcpy(line,rest); x=strlen(line); } if(x&lt;1000) { fprintf(fp2,&quot;%s\n&quot;,line); break; } if((p1=strchr(line+4,&#039; &#039;))) { strcpy(rest,p1); *p1=0; fprintf(fp2,&quot;%s\n&quot;,line); strcpy(line,rest); x=strlen(line); } if(x&lt;1000 &amp;&amp; x&gt;0) fprintf(fp2,&quot;%s\n&quot;,line); else printf(&quot;%s\n&quot;,line); } } fclose(fp1); fclose(fp2); remove(&quot;temp.xxx&quot;); return 0; } ````

mikes@guam.net

Just looked at .TMP files in my temp directory.
Have 291 at moment (created by Pegasus)


Last few


Longest lines and Filenames
1295 N7XK4QQQ.TMP
1296 9WPJY8BN.TMP
1299 UAQ94O33.TMP
1304 X8YRR30V.TMP
1364 HE0A8NJE.TMP
1471 MPUP2F5U.TMP
1687 ZHQO6JWN.TMP
1754 15QHDOJG.TMP
1755 YK25CLN9.TMP
1759 088U8D3B.TMP
1763 DV2ZF9JH.TMP
1770 651K21NI.TMP
1771 3NUA5RU0.TMP
1771 QFOGGK8Q.TMP
1771 TTKZM6A9.TMP
1775 FFOJ9U69.TMP
1782 RX0TOLCL.TMP
1782 YVGK49OF.TMP
1785 EMZXI9GQ.TMP
1792 9VS60IMH.TMP
1802 SKM2WQO7.TMP
1805 3QL4UMNA.TMP
1805 A2CYXBD8.TMP
1809 52A3EIGG.TMP
1809 VQLQBYX6.TMP
1810 H61SNJGL.TMP
1813 8AQEOOBC.TMP
1993 MJ25B2G5.TMP
2128 15CDDZO7.TMP
2175 JBNUU44P.TMP
2237 UZPE3QXG.TMP
3290 Q00BIGDV.TMP
4292 B7RAP8EL.TMP
4292 total
291
/users/msetzerii/Temp$ wc -L .TMP | sort -n; ls -l .TMP | wc -l


So in past some of those ones with Long lines when decoded would have caused crashes, but the larger buffer handles them. Recall a message that casued crash created a line with no breaks and over 11,000 characters. Was a large image file encoded as a long string of code.


Just looked at .TMP files in my temp directory. Have 291 at moment (created by Pegasus) Last few Longest lines and Filenames 1295 N7XK4QQQ.TMP 1296 9WPJY8BN.TMP 1299 UAQ94O33.TMP 1304 X8YRR30V.TMP 1364 HE0A8NJE.TMP 1471 MPUP2F5U.TMP 1687 ZHQO6JWN.TMP 1754 15QHDOJG.TMP 1755 YK25CLN9.TMP 1759 088U8D3B.TMP 1763 DV2ZF9JH.TMP 1770 651K21NI.TMP 1771 3NUA5RU0.TMP 1771 QFOGGK8Q.TMP 1771 TTKZM6A9.TMP 1775 FFOJ9U69.TMP 1782 RX0TOLCL.TMP 1782 YVGK49OF.TMP 1785 EMZXI9GQ.TMP 1792 9VS60IMH.TMP 1802 SKM2WQO7.TMP 1805 3QL4UMNA.TMP 1805 A2CYXBD8.TMP 1809 52A3EIGG.TMP 1809 VQLQBYX6.TMP 1810 H61SNJGL.TMP 1813 8AQEOOBC.TMP 1993 MJ25B2G5.TMP 2128 15CDDZO7.TMP 2175 JBNUU44P.TMP 2237 UZPE3QXG.TMP 3290 Q00BIGDV.TMP 4292 B7RAP8EL.TMP 4292 total 291 /users/msetzerii/Temp$ wc -L *.TMP | sort -n; ls -l *.TMP | wc -l So in past some of those ones with Long lines when decoded would have caused crashes, but the larger buffer handles them. Recall a message that casued crash created a line with no breaks and over 11,000 characters. Was a large image file encoded as a long string of code.

mikes@guam.net

Only a few HTML files in temp directory.
wc -L *.HTML
998 265NL0VG.HTML
260 33K402MC.HTML
20 4PHM8CWH.HTML
1889 66V7E229.HTML
998 6GCRK4Y5.HTML
998 6VYVVOUP.HTML
998 AANVY6ID.HTML
73 HDHHS2A2.HTML
228 IQY13RAH.HTML
998 TYPS3XSQ.HTML
998 VI8MSIPS.HTML
1889 total


Many with the 998 line length, but one had 1889??
Other images files in directory. Generally only using wine for Pegasus, so all are pegasus files.


Only a few HTML files in temp directory. wc -L *.HTML 998 265NL0VG.HTML 260 33K402MC.HTML 20 4PHM8CWH.HTML 1889 66V7E229.HTML 998 6GCRK4Y5.HTML 998 6VYVVOUP.HTML 998 AANVY6ID.HTML 73 HDHHS2A2.HTML 228 IQY13RAH.HTML 998 TYPS3XSQ.HTML 998 VI8MSIPS.HTML 1889 total Many with the 998 line length, but one had 1889?? Other images files in directory. Generally only using wine for Pegasus, so all are pegasus files.

mikes@guam.net

I had these problems all the time with Ebay, PayPal, Amazon, and travel companies who send out emails with a multiude of HTML links, photos and marketing offers.


I was torn between two stools: Pmail being text based and the best security not following html or website re-directs, or being able to read important emails that contain all this stuff. I persevered with the inbuilt renderer but still couldn't guarantee reading embedded content. Linking to Firefox .exe for me was too slow to open. Times have moved on and very few emails are text based now. Some companies are considerate and offer a text reading option, but most consider their emails as market place promotion with passive and active image content.


The crunch came when my partner who isn't tech. was continually giving me earache for messages she couldn't open. Running older Windoze she was also hitting site servers doing Browser and OS version checks (e.g Ebay & Banks) Why does my friend (using Outlook) just click and read her messages!


Eventually I had to solve her problem after trying everything to make Pmail friendly and work, but I didn't want to add another level of complexity with Wine or get slow responses.


My solution for her was a lightweight Ubuntu OS LTS still in Long Term Support for its open source OS and browser updates, then choose an email client that runs under a Linux GUI with a compatible browser to handle HTML message content. Mozilla Firefox and Thunderbird mail were the choice with both already loaded in Ubuntu and easy install from a flash stick.


Migrating from Windows to Linux Ubuntu wasn't so friendly for her and needed some tweaks. Email screens and App. fonts used Ubuntu default fonts and size which she said were harder to read.


My own PC is setup as dual monitor so I ran Windows 7_64 on left and Ubuntu in VM on right. I then compared Pmail folder and message screen displays with Tbird on the right monitor. She was right, if you are familiar with Windows screens, Ubuntu doesn't look right. I installed MS fonts in Linux together with Segoe-UI.ttf which is the default Win. screen font. After resizing about X1.2, both email clients now had the same screen look, although IMHO Tbird wasn't as intuitive to use as Pmail. The final step was to export Pmail mail archives to Tbird using BitRecover Windows app.


I don't want to upset David Harris and Pmail devs, but even though older unsupported Windows still has (stable!) functionality, software devs can't provide backwards compatible updates using MS tools. It seems just a way to force buying new (time limited) Windows versions and upgrades?


My request is for Pmail to recognise new email content coding and display it seamlessly as it might appear in MS Outlook, with a Linux version using an open source browser, allowing complete migration away from Windows?


I had these problems all the time with Ebay, PayPal, Amazon, and travel companies who send out emails with a multiude of HTML links, photos and marketing offers. I was torn between two stools: Pmail being text based and the best security not following html or website re-directs, or being able to read important emails that contain all this stuff. I persevered with the inbuilt renderer but still couldn&#039;t guarantee reading embedded content. Linking to Firefox .exe for me was too slow to open. Times have moved on and very few emails are text based now. Some companies are considerate and offer a text reading option, but most consider their emails as market place promotion with passive and active image content. The crunch came when my partner who isn&#039;t tech. was continually giving me earache for messages she couldn&#039;t open. Running older Windoze she was also hitting site servers doing Browser and OS version checks (e.g Ebay &amp; Banks) Why does my friend (using Outlook) just click and read her messages! Eventually I had to solve her problem after trying everything to make Pmail friendly and work, but I didn&#039;t want to add another level of complexity with Wine or get slow responses. My solution for her was a lightweight Ubuntu OS LTS still in Long Term Support for its open source OS and browser updates, then choose an email client that runs under a Linux GUI with a compatible browser to handle HTML message content. Mozilla Firefox and Thunderbird mail were the choice with both already loaded in Ubuntu and easy install from a flash stick. Migrating from Windows to Linux Ubuntu wasn&#039;t so friendly for her and needed some tweaks. Email screens and App. fonts used Ubuntu default fonts and size which she said were harder to read. My own PC is setup as dual monitor so I ran Windows 7_64 on left and Ubuntu in VM on right. I then compared Pmail folder and message screen displays with Tbird on the right monitor. She was right, if you are familiar with Windows screens, Ubuntu doesn&#039;t look right. I installed MS fonts in Linux together with Segoe-UI.ttf which is the default Win. screen font. After resizing about X1.2, both email clients now had the same screen look, although IMHO Tbird wasn&#039;t as intuitive to use as Pmail. The final step was to export Pmail mail archives to Tbird using BitRecover Windows app. I don&#039;t want to upset David Harris and Pmail devs, but even though older unsupported Windows still has (stable!) functionality, software devs can&#039;t provide backwards compatible updates using MS tools. It seems just a way to force buying new (time limited) Windows versions and upgrades? My request is for Pmail to recognise new email content coding and display it seamlessly as it might appear in MS Outlook, with a Linux version using an open source browser, allowing complete migration away from Windows?
edited 5 days ago at 1:00 pm

One thing for font size issue.
wine winecfg
graphics tab
screen resolution
The default 96 makes things to small, changing to 120dpi works great for me.


One thing for font size issue. wine winecfg graphics tab screen resolution The default 96 makes things to small, changing to 120dpi works great for me.

mikes@guam.net

That's interesting because 120/96 is 1.25X a little larger than my X1.2. I used a plastic vernier on 2 identical monitors to get a Windows/Ubuntu screen font match. You hit the same as me. Linux defaults for font style and size weren't the Windows screen look I was familar and comfortable with.


I assumed MS spent some time researching font syles and sizes, particularly to add their disability options and these fonts are licensed to MS or Adobe, whereas Linux had to use open source fonts? Once you add 'The other' Fonts they become more familiar and Ubuntu looks more like Windows e.g Times New Roman & Arial etc. Apps like Libreoffice try to set them as default in linux, but if they aren't there, will use something similar from the linux default set.


If you added the extra fonts I think Pmail mail and folder text running under Wine would have the same screen look as Windows? IMHO I find the default Ubuntu/linux screen default font 'Smudgy' and harder to read on a hi-res monitor when I prefer crisp edges.


That&#039;s interesting because 120/96 is 1.25X a little larger than my X1.2. I used a plastic vernier on 2 identical monitors to get a Windows/Ubuntu screen font match. You hit the same as me. Linux defaults for font style and size weren&#039;t the Windows screen look I was familar and comfortable with. I assumed MS spent some time researching font syles and sizes, particularly to add their disability options and these fonts are licensed to MS or Adobe, whereas Linux had to use open source fonts? Once you add &#039;The other&#039; Fonts they become more familiar and Ubuntu looks more like Windows e.g Times New Roman &amp; Arial etc. Apps like Libreoffice try to set them as default in linux, but if they aren&#039;t there, will use something similar from the linux default set. If you added the extra fonts I think Pmail mail and folder text running under Wine would have the same screen look as Windows? IMHO I find the default Ubuntu/linux screen default font &#039;Smudgy&#039; and harder to read on a hi-res monitor when I prefer crisp edges.
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