Note: rfilter.exe  and rfilter.bas has been replaced by
      rfilterc.exe and rfilterc.cpp and fixwom.bat.
      Changes have also been made to the fx.bat file to 
       use the rfilterc in place of the rfilter.

My Pegasus Mail to UUCP System
	System uses FXUUCICO 	($25 Shareware Personnel Use)
				($60 Shareware Commercial Use)
	Complete Package at: ftp://tau-ceti.isc-br.com/pub/fx
        	order.frm file for info
	Optionally uses ATSEND  ($10 Shareware)
	All other things are Freeware.
		David Harris's PMAIL, WinPMAIL, HOME, and SETHOME
		Other Programs are Mine and are Freeware.
	Note: My Filter program is based on the Freeware program
	      included with the UDG Package, and is so noted in 
	      the source.
If any questions or comments, Please contact me at:
	MICHAEL@GCCCC.GUAM.NET


Abstract of working.		
	Using a UUCP Gateway created by PCONFIG
	Pegasus Mail creates a file with the .WOM extension
	Pegasus calls the Filter program from F:\FX
	It creates the .cmd .xqt .dat files for UUCICO
	It renames the .WOM file to .WWM

	FX Batch file Run to contact UUCP Host
	Checks if any mail not processed by Filter program.
	(Low Memmory on Machine or Large Folder)
	If any WOM files, they are processed by rfilter
	use FXUUCICO to connect with host
	Send any mail
	Recieve any mail
	run mailfix program
		reads .X files to get address
		creates a batch file with info
	run the batch file created by mailfix
	output calls the movemail batch file (Needs the HOME program)
	Mail is moved the address home mail box, if it exist.
	If bad address, mail moved to the Postmaster address
		as defined in host.dat

Files In Pegasus Mail to UUCP System using FXUUCICO

F:
MD FX
CD FX
PKUNZIP -D FX    
Note: 	$ - Program is Shareware
	E - File needs to be editted

$ 40,281   f:\fx\uucico.exe		fxuucio (Shareware $)
   2,513   f:\fx\order.frm              registration info
$ 16,474   f:\fx\atsend.zip             set modem program zip ($)
   8,824   f:\fx\debug2.exe		program to create summary log
E  6,110   f:\fx\fxuucp.cfg		config file for fxuucico (EDIT)
   8,215   f:\fx\mailfixf.exe		process incoming mail
  17,610   f:\fx\filter.exe		gateway program for Pegasus
     545   f:\fx\filter.pif		Windows .pif file
	
	Recommend Moving to the Public Directory
   9,503   f:\fx\sethome.exe            David Harris's SetHome Program
   6,766   f:\fx\home.exe		David Harris's Home Program

E     67   f:\fx\uucp\scripts		script for uucico
E    155   f:\fx\uucp\systems		systems file
E    108   f:\fx\uucp\dialers		dialers file
       3   f:\fx\uucp\sequence		?????
     690   f:\fx\uucp\permits		?????

	Batch File to Send/Recieve Mail from Host
	Copy it to a directory for the person or program to run
	I located it in my private directory.
E  1,171   f:\fx\source\fx.bat		Batch file to call host

Source Code for Programs
  11,630   f:\fx\source\mailfixf.cpp	source code
   1,799   f:\fx\source\debug2.bas	source code
  11,015   f:\fx\source\filterze.cpp	source code
           f:\fx\source\rfilterc.cpp    source code (added)
      58   f:\fx\spool\status\kuentos	my host

	The f:\fx\spool\kuentos directory needs to be renamed
		to f:\fx\spool\yourhost

   7,464   f:\fx\spool\kuentos\rfilter.exe	process mail that filter failed on
           f:\fx\spool\kuentos\rfilterc.exe     C program to Replace Basic rfilter
E    528   f:\fx\spool\kuentos\movemail.bat	move mail to users mail directory
     565   f:\fx\spool\kuentos\rfilter.bas	source for rfilter
     364   f:\fx\spool\kuentos\fxclean.bat	batch file that does clean up
E    138   f:\fx\spool\kuentos\host.dat		configuration file
E          f:\fx\spool\kuentos\fixwom.bat       Batch file to process mail
                                                that was not filtered.
           f:\fx\zip                            directory that stores copies
                                                of mail. Batch file can be 
                                                modified to just delete after
                                                processing.
           
First, Use PCONFIG to Configure Gateway
pconfig stuff should look something like this:
Change outgoing mail path to your host
Change Reply to Address to your host

                     Pegasus Mail/DOS Configuration v3.11                  
              Gateway name : [WAFFLE          ]                      
            *New mail path :  f:\mail\~b                             
    Is ^ a program to run? :  N                                   
     *New mail search mask :  *.CNM                                  
       *Outgoing mail path :  f:\fx\spool\kuentos                    
    *Run for outgoing mail :  f:\fx\filter ~n ~c ~t                  
          *Filename format :  ~d~d.wom                               
   Run to validate address :                                         
     *Reply address format :  ~n@GCCcc.Guam.Net (~p)                 
   Accepts SMTP addresses? :  Y                                      
   Simple message headers? :  No formatting                          
     UUEncode attachments? :  Y                                      
           Burst messages? :  Y                                      
       Strip gateway name? :  Y                                      
   Force all mail through? :  N                                      
The Filter Program requires exactly 3 pieces of information. 
~n is the name of the users sending the message
~c is the full path and name of the container file
~t is the "TO" address

Edit the fxuucp.cfg file
	Change device to yours 	(Currently set to 2)
	Change your uucpname	(Currently gcccc)
	Change fx.debugDir	(Currently D: (RAM DRIVE))

Change three files in uucp directory. 
	Need Info from your provider. Shouldn't be to difficult

Edit FX.Bat and move to a directory to run
	Change References to Kuentos to your provider
	Change the Options on ATSEND to match with your modem
	The ATSEND is Optional I just makes sure the modem
		is setup properly for best transmission with UUCICO.
	I place this file in my Home Directory.
	Use Mr. David Harris' SETHOME program to create a home
		directory.

Edit Movemail.bat
	Movemail does not need any original editing.
	During Testing, It has two lines to send copies
	of all mail to PostMaster. After Testing, these
	lines should be deleted. It also has a line for
	forwarding mail. If a users has a file called forward
	in the directory, I execute there filters. I am the
	only member of BECOME on my system. They have a forward
	command in there filters to move the mail to their 
	primary server.

Edit Host.dat
	This contains your machines Info.
	Just edit it and place your information
	in place of the examples.

Edit FIXWOM.BAT
	Change Kuentos to your host

An Additional Note:
	I create the group GW_USER as listed in the Pegasus Guide.
	Grant the Read and Filescan Rights to the F:\FX directory
	and Read Write Create Filescan etc to the F:\FX\SPOOL\yourhost.
	Just add the users that should have access to the gateway
	to this group. They will then have access from PMAIL and
	will have the rights to create the outgoing messages in the
	F:\FX\SPOOL\yourhost.

Good Luck. If any Questions or Problems, Please let me know. I am sure
that this document is not 100% perfect. If you run into problems, or 
find something unclear. Let me know so I can fix it.
Michael D. Setzer II
MICHAEL@GCCCC.GUAM.NET
P.O. BOX 23904, GMF
Barrigada, Guam 96921

	