; v. 1.4:

;
;
; TrackManager Config file.
;
;

;
;       Please edit this file to add your own settings !
;


; Sysop name:
#SYSOPNAME DummySysop
; Fido addresses:
#SYSOPADDR 7:7/7.7@sevennet
; E-Mail address:
#SYSOPEMAIL <seven@seven.o.clock>


; Tempfile:
#TEMPFILE T:MM_TrackManager.tmp

; Area to store bad msgs in:
#BADAREA BAD_MSGS

; Flags for outgoing messages, e.g. "PVT KILL":
#STDFLAGS PVT KILL

; Logfile name:
#LOGFILE T:MM_TrackManager.log
; Loglevel for console:
#LOGCLEVEL 3
; Loglevel for file:
#LOGFLEVEL 3

; Languages:
; #LANGUAGE <l> <Name>
;
; l = language no., language 0 = standard language.
; This is only used for the replace patterns.
;
; Language 0: English
; Language 1: German
;
#LANGUAGE 0 English
#LANGUAGE 1 Deutsch

; The language patterns and their languages:
; #LANGPAT <language no> <pattern>
;
; e.g.: #LANGPAT 1 (2):(24#?)/(#?).(#?)@(fidonet)
; This sets German language (lang. no. 1) for all
; nodes beginning with 2:24 ... at fidonet
; , e.g. node 2:2448/10.131@fidonet
;
#LANGPAT 1 (2):(24#?)/(#?).(#?)@(fidonet) (#?)
#LANGPAT 1 (#?) (#?@#?.de)
#LANGPAT 1 (9999):(9999)/(9999).(9999)@(bad) (#?)



; Textfile & subjects for msgs from an unknown address/domain:
; First textfile standard (English, language 0), then
; subject standart, then text and subject in German language.
; #UDFTEXT <language no.> <file>
;
#UDFTEXT 0 MM:Config/MM_TrackManager/ENG.UnknownFrom
#UDFSUBJ 0 TRACK: Unknown address/domain.
#UDFTEXT 1 MM:Config/MM_TrackManager/GER.UnknownFrom
#UDFSUBJ 1 TRACK: Unbekannte Adresse/Domain.

; Textfile & subjects for msgs to an unknown address/domain:
; #UDTTEXT <language no.> <file>
;
#UDTTEXT 0 MM:Config/MM_TrackManager/ENG.UnknownTo
#UDTSUBJ 0 Message bounced: Unknown address/domain.
#UDTTEXT 1 MM:Config/MM_TrackManager/GER.UnknownTo
#UDTSUBJ 1 Message bounced: Unbekannte Adresse/Domain.


; New Domain:
;
; #DOMAIN <name>        - starts a new domain with the name <name>.
; #DPATTERN             - address pattern for the new domain.
; #DCHECK               - what to check:
;                         RRR       : answer receive requests
;                         CROSSNET  : bounce mails between different domains.
;                         KILLEMPTY : kill mails with an empty msg body.
; #DTODONLR [STOP]      - what to do if receiver is unknown.
; #DTODONLS [STOP]      -  "    "  "  "  sender   "    "   .
:
; #DRRRTEXT <l> <file>  - textfile for language <l>.
; #DRRRSUBJ <l> <text>  - subject for language <l>.
; #DCNSTEXT <l> <file>  - text for crossnet answers to the sender.
; #DCNSSUBJ <l> <text>  - ^ subject
; #DCNRTEXT <l> <file>  - text for crossnet answers to receiver
; #DCNRSUBJ <l> <text>  - ^ subject
; #DNLRTEXT <l> <file>  - text for unknown receivers.
; #DNLRSUBJ <l> <text>  - ^ subject.
; #DNLSTEXT <l> <file>  - text for unknown senders.
; #DNLSSUBJ <l> <text>  - ^ subject.

#DOMAIN BadNet
#DPATTERN (9999):(9999)/(9999).(#?)@(bad)
#DCHECK RRR CROSSNET KILLEMPTY
#DRRRTEXT 0 MM:Config/MM_TrackManager/ENG.RRR
#DRRRSUBJ 0 Receive Receipt: {MSG_SUBJECT}
#DRRRTEXT 1 MM:Config/MM_TrackManager/GER.RRR
#DRRRSUBJ 1 Empfangsbestätigung: {MSG_SUBJECT}
#DCNSTEXT 0 MM:Config/MM_TrackManager/ENG.CNS
#DCNSSUBJ 0 Bounced: Crossnet Mail
#DCNSTEXT 1 MM:Config/MM_TrackManager/GER.CNS
#DCNSSUBJ 1 Bounced: Crossnet Mail
#DCNRTEXT 0 MM:Config/MM_TrackManager/ENG.CNR
#DCNRSUBJ 0 CrossNet Mail: {MSG_SUBJECT}
#DCNRTEXT 1 MM:Config/MM_TrackManager/GER.CNR
#DCNRSUBJ 1 CrossNet Mail: {MSG_SUBJECT}

#DOMAIN FidoNet
#DPATTERN (1|2|3|4|5|6):(#?)/(#?).(#?)@(fidonet)
#DCHECK RRR CHECKNLR CHECKNLS
#DRRRTEXT 0 MM:Config/MM_TrackManager/ENG.RRR
#DRRRSUBJ 0 Receive Receipt: {MSG_SUBJECT}
#DRRRTEXT 1 MM:Config/MM_TrackManager/GER.RRR
#DRRRSUBJ 1 Empfangsbestätigung: {MSG_SUBJECT}
#DTODONLR STOP
#DNLRTEXT 0 MM:Config/MM_TrackManager/ENG.NLR
#DNLRSUBJ 0 Receiver unknown: {MSG_TOADDR}
#DNLRTEXT 1 MM:Config/MM_TrackManager/GER.NLR
#DNLRSUBJ 1 Empfänger unbekannt: {MSG_TOADDR}
#DTODONLS
#DNLSTEXT 0 MM:Config/MM_TrackManager/ENG.NLS
#DNLSSUBJ 0 Sender unknown: {MSG_FROMADDR}
#DNLSTEXT 1 MM:Config/MM_TrackManager/GER.NLS
#DNLSSUBJ 1 Sender unbekannt: {MSG_FROMADDR}

#DOMAIN Other
#DPATTERN (#?):(#?)/(#?).(#?)@(#?)
#DCHECK RRR
#DRRRTEXT 0 MM:Config/MM_TrackManager/ENG.RRR
#DRRRSUBJ 0 Receive Receipt: {MSG_SUBJECT}
#DRRRTEXT 1 MM:Config/MM_TrackManager/GER.RRR
#DRRRSUBJ 1 Empfangsbestätigung: {MSG_SUBJECT}



; Bounce:
;
; If all patterns fit, the mail will be bounced:
;
;                 pattern to look for in ...
;
; #BOUNCE       - begin new bounce section ..
;
; #BFROMNAME    - sender´s name
; #BFROMADDR    - his fido address
; #BFROMEMAIL   - his e-mail address
;
; #BTONAME      - receiver´s name
; #BTOADDR      - his fido address
; #BTOEMAIL     - his e-mail address
;
; #BSUBJECT     - the message subject
; #BTEXT        - the message body. (be careful, slows down checking !)
;
; #BINFTEXT <l> <file> - the bounce file (<l> = language)
; #BINFSUBJ <l> <text> - the subject.
;
;
; This example bounces all mails to the name "KillMe":

#BOUNCE
#BFROMNAME #?
#BFROMADDR #?
#BFROMEMAIL #?
#BTONAME KillMe
#BTOADDR #?
#BTOEMAIL #?
#BSUBJECT #?
#BTEXT #?
#BINFTEXT 0 MM:Config/MM_TrackManager/ENG.Bounce
#BINFSUBJ 0 Mail bounced: {MSGSUBJ}
#BINFTEXT 1 MM:Config/MM_TrackManager/GER.Bounce
#BINFSUBJ 1 Mail gestoppt: {MSG_SUBJECT}


; Remap:
;
; If the IN-Patterns fit, the mail will be remapped.
;
; #REMAP    - begin new remap section ...
;
;             patterns for ...
; #RINNAME  - ... receiver´s name
; #RINADDR  - ... fido address
; #RINEMAIL - ... email address
;
;
; To these values the message will be remapped.
; If you leave something empty, the old value
; will be used:
;
; #ROUTNAME  - name
; #ROUTADDR  - fido address
; #ROUTEMAIL - email address
;
; #ROUTTEXT <l> <file> - new message body.
; #ROUTTEXT <l> <text> - new subject.
;
; #RINFTEXT <l> <file> - information text send to the sender.
; #RINFSUBJ <l> <text> - subject.
;
;
; Example: Remap everything to "RemapMe":

#REMAP
#RINNAME RemapMe
#RINADDR #?
#RINEMAIL #?
#ROUTNAME They Remapped Me
#ROUTADDR 9999:9999/9999.9999
#ROUTEMAIL Dummy@This.host.here
#ROUTTEXT 0 MM:Config/MM_TrackManager/ENG.Remap
#ROUTSUBJ 0 {EXTRA4} (remapped)
#ROUTTEXT 1 MM:Config/MM_TrackManager/GER.Remap
#ROUTSUBJ 1 {EXTRA4} (remapped)
#RINFTEXT 0 MM:Config/MM_TrackManager/ENG.RemapInfo
#RINFSUBJ 0 Message remapped.
#RINFTEXT 1 MM:Config/MM_TrackManager/GER.RemapInfo
#RINFSUBJ 1 Message umgeleitet.

; Copy:
;
; If the in patterns fit, the message will be forwarded to the out
; values:
;
; Remember: Here is only one textfile/subject !!
;
;
; #COPY          - begin new copy section.
; #CINFNAME      - sender´s name
; #CINFADDR      - his fido address
; #CINFEMAIL     - his email address
; #CINTNAME      - the receiver´s name
; #CINTADDR      - his fido address
; #CINTEMAIL     - his email address
; #CINSUBJ       - the subject
; #CINTEXT       - some text in the message body.
;
; #COUTNAME      - the copy shall be send to: ... name
; #COUTADDR      - ... fido address
; #COUTEMAIL     - ... email address
; #COUTTEXT      - ... the textfile
; #COUTSUBJ      - ... the subject
;
#COPY
#CINFNAME #?
#CINFADDR #?
#CINFEMAIL #?
#CINTNAME Dummy
#CINTADDR #?
#CINTEMAIL #?
#CINSUBJ #?
#CINTEXT #?
#COUTNAME Tester
#COUTADDR 9999:9999/9999.9999@badnet
#COUTEMAIL tester@thishost
#COUTTEXT MM:Config/MM_TrackManager/ENG.Copy
#COUTSUBJ Copy: {MSG_SUBJECT}

; ToDoEach:
;
;
; #TODOEACH     - begin new TodoEach section.
; #TDEFNAME     - sender´s name.
; #TDEFADDR     - fido address.
; #TDEFEMAIL    - email address.
; #TDETNAME     - receiver´s name.
; #TDETADDR     - fido address.
; #TDETEMAIL    - email address.
; #TDESUBJ      - subject of the message.
; #TDETEXT      - text in the body.
; #TDECOM       - command executed when a message is found.
;                 Replace patterns can be used !
;
; Example: say something if a message to DummyToDo was found:
;
#TODOEACH
#TDEFNAME #?
#TDEFADDR #?
#TDEFEMAIL #?
#TDETNAME DummyToDo
#TDETADDR #?
#TDETEMAIL #?
#TDESUBJ #?
#TDETEXT #?
#TDECOM echo Test TODOEach.


; ToDoOnce:
;
; Look at ToDoEach !! The keywords are only very few different,
; you can guess their meaning.
;
; #TDOCOM is the only exception. You can NOT use replace patterns.
;
; Example: say something if a message to DummyToDo was found:
;
#TODOONCE
#TDOFNAME #?
#TDOFADDR #?
#TDOFEMAIL #?
#TDOTNAME (FileRequest#?|FileRequestManager)
#TDOTADDR #?
#TDOTEMAIL #?
#TDOSUBJ #?
#TDOTEXT #?
#TDOCOM rx MM:Rexx/MM_FbMRM.rexx

; Move:
;
;
; #MOVE          - begin new Move section.
; #MOVEFNAME     - sender´s name.
; #MOVEFADDR     - fido address.
; #MOVEFEMAIL    - email address.
; #MOVETNAME     - receiver´s name.
; #MOVETADDR     - fido address.
; #MOVETEMAIL    - email address.
; #MOVESUBJ      - subject of the message.
; #MOVETEXT      - text in the body.
; #MOVEAREA      - Area to move message to.
;
;
; Example: Move all messages to Dummy to "Test-Mail":

#MOVE
#MOVEFNAME #?
#MOVEFADDR #?
#MOVEFEMAIL #?
#MOVETNAME Dummy
#MOVETADDR #?
#MOVETEMAIL #?
#MOVESUBJ #?
#MOVETEXT #?
#MOVEAREA Test-Mail

;
; EOF
