
              Echomail & Renegade  --  A tutorial for the dense..
                By Genesis P'Orridge for <YO MUFF! .. Enter the net name here! And center it with the rest=)>


        Ok, I'm not going to go over how to set up Intermail or GEcho in
  this text, this is just a nice simple little lesson on how to get your
  echomail messages into and out of Renegade with as little trouble as
  possible (For both you and your hub=).. I'll also include a sample .BAT
  file to get you started.. 

        I'll start off with a few tips which I find makes things a bit
  easier..

  1) Set you mailer to exit when mail is recived.. Look up errorlevel 100 in
     the sample batch I have included with this document..

  2) As moronic as it may sound, keep your file paths simple.. you will have
     to creat a separate directory for each message area.. What I do is go
     into the Net Setup, option H in Renegade's set up, and use the default
     path "C:\NETMAIL" .. then, when I'm adding my echo areas, I'll use that
     path along with the area file name.. For example, in Escape!Net, the
     Intertnet discussion base file name is ESC-INET, for that I use
     "C:\NETMAIL\ESC-INET\" .. Simple yes? ..
     Try to do the same things in GEcho's AreaManager also..

  3) If things don't seem to work out, look over your paths, when I first
     attempted to hook up to a net, this was the problem I found. Make sure
     your "inbound" and "outbound" mail directories in GEcho and your mailer
     are the same, and make sure all your msg paths are the same.. If you use
     the method I mentioned in #2, that shouldn't be a problem=)..

  ok.. Now, on with the actual set up in Rg :


---[ 1  Network Config ]---

        The first thing you're gonna want to do is load up Renegade ..
  (duh) and hit S from the WFC (The "waiting for call screen .. you know,
  the blue thing) for your system configuration.. then hit H for your netmail
  config.. If you did it all right, you should see a screen like this:


Network configuration

A. Net addresses
B. Origin line     : the_tenement;escape_net.whq;revelation.alpha.site;

C. Strip IFNA kludge lines : Yes     1. Color of standard text : 0
D. Strip SEEN-BY lines     : Yes     2. Color of quoted text   : 4
E. Strip origin lines      : No      3. Color of tear line     : 7
F. Add tear/origin line    : Yes     4. Color of origin line   : 4

G. Default Echomail path   : C:\NETMAIL\
H. Netmail path            : C:\NETMAIL\NETMAIL\
I. Netmail attributes      : Private Hold
J. UUCP gate address       : 0:0/0.0

Enter selection (A-J,1-4) [Q]uit :


  If you don't see that, you fucked up.. try again =)..

    Next you're going to hit A to add your node address that have been
  assigned to you by the net co-ordinator.. You'll see a screen like this:


Network addresses

A. Address #0  : 65:769/0.0          B. Address #1  : 50:100/20.0
C. Address #2  : 18:416/0.0          D. Address #3  : 35:100/0.0
E. Address #4  : 88:100/53.0         F. Address #5  : 795:2/6.0
G. Address #6  : 12:92/3.0           H. Address #7  : 0:0/0.0
I. Address #8  : 0:0/0.0             J. Address #9  : 0:0/0.0
K. Address #10 : 0:0/0.0             L. Address #11 : 0:0/0.0
M. Address #12 : 0:0/0.0             N. Address #13 : 0:0/0.0
O. Address #14 : 0:0/0.0             P. Address #15 : 0:0/0.0
Q. Address #16 : 0:0/0.0             R. Address #17 : 0:0/0.0
S. Address #18 : 0:0/0.0             T. Address #19 : 0:0/0.0

Enter selection (A-T) :

      So now you select A and enter you node address .. simple yes? .. Then
  add your address now and hit ENTER to quit..
      You can now define your default colors for your echomail and select your
  echomail directories.. I recommend useing C:\NETMAIL for the obvious reason
  that it's simple.. You Can Also add a default Origin line which will be added
  to the end of all the messages in you echo areas by hitting B.. 
      The rest of the options you can leave default.. 
    

---[ 2 Message Base Config ]---

        Now all you need to do is add your message areas for the nets..
  So just add the desired number of areas you want to add and let rg do
  it's thing=)..
  Hit M to modify a base, and select whichever base you're going to do first:

Message base #1 of 1

1. Name        : << Not used >>
2. Filename    : NEWBOARD
3. Base type   : Local
   Message path: Unused
4. ACS req.    :
5. Post/MCI ACS:  /
6. Sysop ACS   : s255
7. Max Mess    : 100
8. Anonymous   : No
9. Password    :
N. Net Address : Unused
C. Colors      : Text=0, Quote=4, Tear=7, Origin=4
M. Mail flags  : Unused
O. Origin line : Unused
T. Toggles     : -----
P. QWK Index   : 93
Q. Quit

Edit menu (?=help) :
            
        
        1. Name                 I think that's pretty much explains itself..

        2. Filename             Ok, this is there you add the message area
                                file name, you might remember when I
                                mentioned this in the tips section of this..
                                I'll keep useing the same example and add in
                                the Escape!Net Internet Discussion area..
                                ESC-INET

        3. Base type            this is where you define what kinda of message
                                base you are entering. Hit 3 and select E for
                                EchoMail.. Next you'll have an opertunity to
                                add the directory you wish to use for your
                                mail.. If you used "C:\NETMAIL\" in your
                                Network Config, the default directory will be:
                                "C:\NETMAIL\ESC-INET\" .. 

        4, 5, 6, 7 and 9        These are all obvious so I'll skip them.. =)

        8. Anonymous            NO! .. I've actually seen sysop's use this
                                option on a net .. Think of it this way, if
                                the net allows anon. posts, it sucks..
                                Maybe =).. 

        N. Net Address          Did you add you net address when I told you?
                                You should have .. you need it now.. Just
                                select whichever option is the right address for
                                the area you're adding when the list comes up.. 
                                
        C. Colors               This is the same as in the Net Config in the
                                set up, you don't really have to worry about it.

        M. Mail Flags           I just leave the defaults.. It's good enough. 

        O. Origin Line          In here you can add different origin lines
                                insted of haveing to use just the one line you
                                entered in the Net Config.. 

        T. Toggles              The defaults are fine for this option.. 


  After all of that .. you should end up with something that looks like this:


Message base #1 of 1

1. Name        : [escape] internet discussion
2. Filename    : ESC-INET
3. Base type   : EchoMail
   Message path: C:\NETMAIL\ESC-INET\
4. ACS req.    : fa
5. Post/MCI ACS: fa / u1
6. Sysop ACS   : s250
7. Max Mess    : 500
8. Anonymous   : No
9. Password    :
N. Net Address : 35:100/0
C. Colors      : Text=0, Quote=4, Tear=7, Origin=4
M. Mail flags  : KS-/T-
O. Origin line : =X .. Mango's Don't Surf! : The Tenement .. =X
T. Toggles     : -----
P. QWK Index   : 50
Q. Quit

Edit menu (?=help) :


---[ 3 Batch Files ]---

          ..good yes? .. Alright .. now for the batch files .. there will be
  a couple of them here, each with a brief explanation..

          The first is the actual batch file you'd use to run the whole
  thing.. what this does is load up your fronend mailer, in this case it's
  Intermail I've used.. At the end of a line, I'll put a ; and a comment for
  easier understanding.. Just like in cheap ASM source! =).. If you use this
  batch file, that's fine.. Just pull the ;<comment>'s out and change the
  paths so the batch file fits your needs..


rem ---[SOF IMRUN.BAT]---

@ECHO OFF
C:
IF %1!==! GOTO START                    ;
IF %1==/S GOTO IM                       ; Just a few command line param's.. 
IF %1==/s GOTO IM                       ; to too important to the running of
IF %1==/M GOTO MAIL                     ; this batch file.. i just added them
IF %1==/m GOTO MAIL                     ; in for example.. 

:START                                  ;
CD \RG                                  ; This is where everything starts.. 
RENEMAIL -S -D                          ; In this example, before Intermail
CD \IM\GECHO                            ; loads up, ReneMail is called and 
GECHO SCAN                              ; it Scans the your message
CD \RG                                  ; areas for any out going mail..  
RENEMAIL -P -D                          ; Renemail will be touched on later..
                                        ; you may rem or remove this part..
                                        ; keep the :START label though.. 

:IM                                     ; This is where InterMail gets loaded
CD \IM                                  ; 
IM                                      ;
                                        
CD \RG                                  ; When Intermail exits, it will change
IF ERRORLEVEL 255 GOTO NULL             ; to the directory "\RG" And then skip
IF ERRORLEVEL 254 GOTO MAINTENANCE      ; down to the proper errorlevel and
IF ERRORLEVEL 210 GOTO 28800            ; do it's thing =) .. Make sure you 
IF ERRORLEVEL 209 GOTO 26400            ; set all the errorlevels in Intermail
IF ERRORLEVEL 208 GOTO 24000            ; so the batch file can execute 
IF ERRORLEVEL 207 GOTO 21600            ; Renegade properly.. 
IF ERRORLEVEL 206 GOTO 19200            ;
IF ERRORLEVEL 205 GOTO 16800            ; The errorlevels you see that do not
IF ERRORLEVEL 204 GOTO 14400            ; have baud rates are for maintenance.
IF ERRORLEVEL 203 GOTO 12000            ; You can set them in your Event
IF ERRORLEVEL 202 GOTO 9600             ; Manager in InterMail.. 
IF ERRORLEVEL 201 GOTO 4800             ; Errorlevel 100 is what happens when
IF ERRORLEVEL 200 GOTO 2400             ; incoming mail is recived.. You can
IF ERRORLEVEL 101 GOTO NIGHTMAIL        ; InterMail to exit upon recived mail
IF ERRORLEVEL 100 GOTO MAIL             ; with your own errorlevel.. 
GOTO END

:2400                                   ; When Errorlevel 200 is passed, the
RENEGADE /B2400 /N1 /Q                  ; batch file changes to \RG and loads
c:                                      ; up Renegade with the /B2400 /N1 /Q
cd\im                                   ; commandline..  
GOTO START                              ; /B<Baud rate> is the rate at which
                                        ; you want Renegade to load;
                                        ; /N<Number> Is the node number you
                                        ; you want Renegade to load up;
                                        ; /Q Tells Renegade to quit to DOS
                                        ; after the caller hangs up.. (yes,
                                        ; the batch file restarts itself)

:4800                                   ; This is the same thing as what you
RENEGADE /B4800 /N1 /Q                  ; just read.. Except it's errorlevel
c:                                      ; 201 and it loads Renegade at 4800
cd\im                                   ; insted of 2400.. 
GOTO START                              ;

:9600
RENEGADE /B9600 /N1 /Q
c:
cd\im
GOTO START

:12000
RENEGADE /B12000 /N1 /Q
c:
cd\im
GOTO START

:14400
RENEGADE /B14400 /N1 /Q
c:
cd\im
GOTO START

:16800
RENEGADE /B16800 /N1 /Q
c:
cd\im
GOTO START

:19200
RENEGADE /B19200 /N1 /Q
c:
cd\im
GOTO START

:21600
RENEGADE /B21600 /N1 /Q
c:
cd\im
GOTO START

:24000
RENEGADE /B24000 /N1 /Q
c:
cd\im
GOTO START

:26400
RENEGADE /B26400 /N1 /Q
c:
cd\im
GOTO START

:28800                                  ; Ok, You should have it by now.. =)
RENEGADE /B28800 /N1 /Q                 ; this is errorlevel 210 and it loads
c:                                      ; node 1 at 28800 bps.. 
cd\im                                   ;
GOTO START

:MAINTENANCE                            ; In Intermail's Event Manager, you
CD\RG                                   ; can specify events that can be run.
RENEGADE -P                             ; *DO NOT DELETE THE FIRST EVENT!!!*
RENEGADE -S                             ; I have this one set to run at 2:30am
CD\IM                                   ; and it tells renegade to pack the
GOTO START                              ; message areas then to sort the file
                                        ; bases. You might notice I used -?
                                        ; insted of /? .. It doesn't matter..
                                        ; it works either way (Unlike most
                                        ; softwares=)
                                        ; /P (or -P) Gets Renegade to "Pack"
                                        ; all the message areas from dos..
                                        ; /S (or -S) Gets Renegade to Sort
                                        ; all files bases from dos .. Then,
                                        ; Intermail is reloaded and waits for
                                        ; it's next caller.. 

:NULL                                   ; Nothing Really .. You can just leave
GOTO START                              ; this =).. 

:NIGHTMAIL                              ; This is alot like errorlevel 254
CD\RG                                   ; (:MAINTENANCE) .. Except here I'm
RENEMAIL -S                             ; getting GEcho and ReneMail to Scan
CD\IM\GECHO                             ; and Pack and outgoing mail that 
GECHO SCAN                              ; might be waiting to be sent.. I have
CD\RG                                   ; this even set to run right before I 
RENEMAIL -P                             ; usually send / recive netmail.. 
CD\IM\GECHO                             ;
GECHO PACK                              ;
goto start                              ;
                                        
:MAIL                                   ; This is errorlevel 100.. What happens
C:                                      ; here is when incomeing mail is
CD \IM\GECHO                            ; recived, IM quits with errorlevel
GECHO TOSS                              ; 100 and GEcho tosses all the mail 
CD \RG                                  ; into the directories I have set.. 
RENEMAIL -T                             ; (C:\NETMAIL\ESC-INET\ for example)
renemail -p                             ; Then, ReneMail Tosses the mail into
cd\im\gecho                             ; Renegades message bases for users 
gecho pack                              ; to read.. After all that, the old
IF %2!==! GOTO IM                       ; messages are packed.. 
:END                                    ;

c:                                      ; What the fuck!? .. 
CD\im                                   ;                    =)

        Actually, That';s the only batch file I use =).. I was thinking of
  Revelation BBS .. Which is where I user a few .. DoH! .. =).. Ok, now:

---[ 4 ReneMail ]---

        Renemail is a small utility you need to import all the newly recived 
  echomail into your message areas .. It's pretty simple and I'm not going to 
  spend alot of time on this .. Actually, I'm not gonna spend anytime on it=)
  all you need to do is put ReneMail in your main Renegade directory and
  type Renemail it will give you a list of command line param's .. Here's a
  quick screen shot:


Renegade Echomail and Groupmail Interface DOS v12-25 Exp
Copyright (C) 1991-1993 by Cott Lang. All Rights Reserved.

 Commands:  -T  Toss incoming messages
            -S  Scan outbound messages
            -P  Purge echomail dirs
 Options:       -A  Absolute scan
                -F  No fast purge
                -N  No Netmail
                -D  Do not delete Netmail
                -B  Bios video output
                -O  Only Netmail

        It's pretty simple ..

 -T  Toss incoming messages:  This is how you get the mail into your bases
 -S  Scan outbound messages:  This is how you get the mail out of your bases
 -P  Purge echomail dirs:     Once the echomail has been tossed or pzcked my
                              GEcho, you don't need all the *.MSG files that
                              contain the messages.. So, this option deletes
                              them.. this makes tossing / scanning much faster.. 

        Those are the mail options you need to run Renemail.. Ofcourse, you
  should read the ReneMail doc's for the rest and more detail on what you
  should be doing=) .. Unless you're too big of a man for doc's ..
     "Doc's? .. Pfftb .. I Don't do doc's" .. 

---[5 End! ]---

        That's it .. I hope you can figure some of that out, if you have any
  questions, yu can reach me on various boards and nets.. Or, just catch
  genesis_p on IRC and I'll be happy to answer a few questions for you ..
        Please don't ask about Iniquity=)..

        Thanks to:
        Raize:  Taught me most of what i know about echomail.. 
        Apocalypse:  Taught me what Raize didn't =)..
        Mr. Muff:  For proof reading .. I think / hope.. =)
        Magallen:  For the hell of it..
        And all the Black / Escape Sysops..


                  ---[END!]---[February 13 1996]---[END!]---
