Community Discussions and Support

The perfect forum for discussions or technical questions about Pegasus Mail.

0
-1
closed
hostek posted Nov 8 '08 at 6:19 pm

I had this happen to me too.  However, the information provided in this post gave me an idea of how to fix the problem.  I had one of my programmers write a few lines of code to get my mail folder useable again.  I'll paste the code below in case it will help others with this.  It did work for me!! 

He created a bash file named pmail on one of our Linux servers.  I'll give the instructions first, and then paste the code at the bottom.  Here's the command line to run the script based on how it's written:

./pmail foldername.pmm 3000

For example, if you wanted to extract 3000 email from the folder named FOL06A16.PMM  you would use the following command:

./pmail FOL06A16.PMM 3000

The script will output 2 files. One called new.FOL06A16.PMM

(new.FOL06A16.PMM) will exclude the last 3000 email in this case.

The second file will be named "lemails.PMM" which will include the last 3000 email in this case.

First, exist Pegasus before you start any of these procedures. 

Next move the foldername.pmm (ie, FOL06A16.PMM) out of your Pegasus mail directory.  You should have it as a backup and it must NOT be in this directory to accomplish the fix.

Next, move the lemails.PMM file into your Pegasus mail directory (usually C:\PMAIL\MAIL\[USER] )

Next Open up Pegasus, and you will see a new "empty" folder. Right click on it and click on "Reindex folder".  Then click on the "empty" folder and click rename on top icon row to rename the folder to what you wish.

Now Close Pegasus and copy in the new.foldername.pmm (ie, new.FOL06A16.PMM) and rename it to its original name like FOL06A16.PMM. 

Now Open Pegasus and you will see another "empty" folder.  Right click on it and click on "Reindex folder".  Then click on the "empty" folder and click rename on top icon row to rename the folder to what you wish (note:  Do not name it the same as the other folder above).

Now Close Pegasus and then Open Pegasus.  You should be all set now.

Note:  Don't delete you're original folder file in case there are any errors.

-------------------------------------------------------------------------------------------------------------------------

Code below:

-------------------------------------------------------------------------------------------------------------------------

#!/bin/bash

#convert new lines to"

~#@~" characters so that all emails will be on a single line

cat $1 | tr "\n" "

~#@~" > newpmail

#convert all control z chars to new line

cat newpmail | tr "\32" "\n" > newpmail2

#count the number of emails (lines)

filwc=`wc -l newpmail2 | cut -d" " -f1`

echo $filwc

origfile=`expr $filwc - $2`

echo $origfile

head -$origfile newpmail2 > new

cat new | tr "\n" "\32" > new.1

cat new.1 | tr "

~#@~" "\n" > new.$1

 

#put last emails into plast file

tail -$2 newpmail2 > plast$2

 

#convert new lines back to ctrl z chars

cat plast$2 | tr "\n" "\32" > plast$2.1

#convert ~#@~ back to new lines

cat plast$2.1 | tr "

~#@~" "\n" > lemails.PMM

#remove temp files

rm newpmail newpmail2 new new.1 plast$2 plast$2.1

-------------------------------------------------------------------------------------------------------------------------

Save the file as pmail

Make sure the execute permissions on the file are set (chmod 755 pmail)

Run the script: ./pmail [filename] [number of emails]

-------------------------------------------------------------------------------------------------------------------------

I hope this will help others, as I know how important it is to be able to be able to access past email.

Code written by  Max Maksimov.  If the code doesn't post correctly here, let me know and I will send the details to you. 

 

Brian A 

 

0
-1
closed
tigershark posted Aug 11 '08 at 4:25 pm

The problem is, that Thunderbird uses more fields for an contact than Pegasus does (e.g. Pegasus has one 'name' field, Thunderbird two).

I don't know, if a converter exists, maybe you have to changethe tab-file manually.

Remove the tab between the contact names and put the e-mail address right after the name in the tab-file. Now the name and e-mail address

will be displayed correct in Pegasus.

 

Note: Please don't write your whole message in capital letters.

 

0
-1
closed
irelam posted Aug 10 '08 at 8:43 pm

I have not heard it mentioned.   As you may know, Pegasus Mail is going through a redefining of features, and part of that redefining is the basic parts and how we can access them.  I would not be surprised if this printing option will be available. But I can't promise anything, that will be up to David

 

Regards,

     Martin

0
-1
closed
Tom Kessler posted Aug 16 '08 at 2:26 am

Success!  I finally found a combination that worked.  Thought I'd pass this on in case others run into this MSN problem.  I rechecked name and password for spelling, the correct port addresses and settings that you mentioned, etc.  First, msn wants the whole correct email address, not just the prefix.  But the weird setting is to check the "Disable certificate validation" box...  for both the POP3 and SMTP security settings.  I wouldn't 'o thunk it!

Now do you know where I can get a list of file names that Pegasus uses, so I can copy them onto a different computer with a newly installed Pegasus, so they have the same folders, addressbooks, and setups?

In any case, thanks to all who contributed to unraveling my dilemma. I am happy to continue to use Pegasus.

 Regards.

0
-1
closed
Han vd Bogaerde posted Aug 10 '08 at 10:52 pm

[quote user="simpona"]

Sorry, but searches didn't pull up threads on sharing of distribution lists.  I need to know what switches, or modification of ini file,etc is needed to direct to commonly shared distribution lists.  Seems to me it was in the shortcut for Pmail itself, but it's been a while.

 Any pointers in the right direction would be appreciated.

 Thanks.

 patrick

[/quote]

If you want to set it using the commandline, add -V PML=<drive>\<path> to the commandline.

 


 

0
-1
closed
PiS posted Aug 8 '08 at 3:57 pm

Filters? What? - do you autoforward in Pegasus Mail based on the headers?

0
-1
closed
David Harris posted Aug 9 '08 at 5:18 am

Please double-check that you have set the control correctly in the SMTP definition you're actually using (you may have more than one). If you have, then go to the "General" page of the "Internet options" dialog and check the control labelled "Create Internet session logs". Now attempt to send a message again, to generate the error. Next, go back and turn the "Create Internet session logs" control off.

If you check in your mailbox directory, you'll now find a file with the extension .WPM (the name will be something like "TCP00001.WPM"). Load that file into Notepad and remove any password references (replace the characters with 'X's) then send me the file. I'd recommend sending it to me directly as David.Harris@pmail.gen.nz rather than posting it here.

Cheers!

-- David --

0
-1

Thanks - I'll check this out - we are no longer using Mercury but just pop the mail now as the whole school is on a webmail system but there's a few of us who hate its limitations. There is nothing in the pmxf.ini. I've searched the hard drive of the computer looking for any sign of the address and it comes up with nothing.  Perhaps it just one of those weird things I'll have to live with!

0
-1

Sounds like you hierarch.pm is hosed somehow.  Try  the following procedure.  This has worked for several others to restore
the functionality of the  message folders:  

1.  Use Help | About Pegasus Mail | Info to determine your mail
    directory.  Exit Pegasus mail.

2.  Rename the file HIERARCH.PM in your HOME mail directory to
    HIERARCH.SAV.

3.  Run WinPMail.  Your HIERARCH.PM will be re-created and should
    start working correctly.

Note:  This will delete any tray structure you have created and it
           will have to be recreated.  The process will not affect any
           mail of mail folders you have, it only affects the display of
           the folders.   

0
-1
closed
Brox posted Aug 22 '08 at 1:45 pm

BTW, at least for Comcast in the Eastern seabord of the U.S. there is no need to change the SMTP port from its value of 25 or to check the box you check in the Security tab.  Keep it simple.

5.9k
33.27k
24
Actions
Hide topic messages
Enable infinite scrolling
Previous
Next
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft