Integrating Pegasus with Reliable
Boost your Mail Reception performance

Why....
RProcess focused on remailing and bought .ocx from the shelf for such basic functions as POP3/SMTP/NNTP/FTP.
He also made the decision to keep the program as simple and robust as possible.
    Hence operations for POP3, processing, SMTP,  NNTP,FTP run the one after the other, not simultaneously.
Integrating Pegasuswith Reliable boosted the performance:
    Pegasus downloads from POP3 3-10 times faster than Reliable does with Catalyst's .ocx.
    Pegasus and Reliable run simultaneously, operations overlap
Using a SMTP server like Mercury leads to the same kind of increase,for similar reasons:
    more efficient low-level functions
    overlapping between Reliable processing and Mercury sending


Trap and Trick
The only trap is that, if you let Pegasus download its .cnm files in Reliable's \Mail\Mailin folder,
there are chances that Reliable will try to process some half-downloaded file:
    trailing "END xxx MESSAGE" will be missing
The trick is to
    have Pegasus download its .cnm files into some \Mail\~Pegasus folder
    have an utility program: ~~MovFiles.exe
        scan that \Mail\~Pegasus folder
        move completely downloaded messages into \Mail\Mailin to have them processed by Reliable
                the trick is that file size is 0 until downloading completion
                moving costs near to nothing: it is a mere renaming because both folders are on same disk
                 (I added a "sleep" to keep things visible !!!)
        of course, name collisions are being handled
I added the same 4 lines for "Graphical stats" as I did for Reliable, loading the same ~Mailin.log file.


Shortcomings
MD5 management to avoid duplicate input messages is missing, making it vulnerable to "replay attacks"
        Mix protects itself quite well
There might be something built-in with Pegasus
I am investigating that area
Reliable "weekly" stats become inaccurate, as there is no input to Reliable any more
        because figures are kept by Reliable in memory, there is no easy trick
        I manually update reliable.dat after stopping Reliable with data from the more sophisticated system


Pegasus starts with Windows
    shortcut in \Windows\Stat Menu\Start\
        with property like P:\PMAIL\winpm-32.exe -I admin (to bypass the user/password screen)
    the various POP3 accounts I use for "Reliable and Friends" are referenced in the MultiPOP section
         enabled and disabled at will
         the ones feeding Reliable go to \Mail\~Pegasus with a 5' frequency
~~MovFiles.exe  starts with Windows
    shortcut in \Windows\Stat Menu\Start\ (install proggie wherever pleases you)
    you have to modify the leading constants in the source to reflect your own folders' organization.

The final result looks like: ScreenShot from ~~MovFiles
The program shares many modules with others (dont be afraid to overwrite them).
DownLoad VB Application (Sources + .exe)


Back to Root Index or Root Main Pages