This document lists all the test cases
--------------------------------------

Last updated: 21 January 2000

Categories
----------

UUCP    - In- and outbound UUCP jobs (11 tests)
PKT     - In- and outbound PKT files (8 tests)
SMTP    - In- and outbound SMTP (3 tests)
FILTER  - Filter tests (1 test)
MIME    - Testing inbound MIME support (3 tests)
LIST    - Mailing list (10 tests)
LSERV   - List server (1 test)
TRANS   - Gateway (translation) testing (6 tests)
AREAFiX - AreaFix and newsfix testing (15 tests)
BBS     - BBS Interface testing (3 tests)
CHARS   - Character Set translation testing (4 tests)
BINK    - Binkley outbound testing (6 tests)
POP3    - POP3 processing testing (4 tests)
TXTCFG  - ROUTE.TDB statements testing (4 tests)
BOUNCE  - RFC and FTN bounce tests (1 test)
BAG     - BAG input/return system tests (2 tests)
MISC    - Tests not fitting in the other categories (1 test)
M2N     - Mail2news feature tests (2 tests)

Total: 85 tests


List of all tests
-----------------

UUCP-001: Mail for single recipient -> *.MSG netmail
UUCP-002: Mail for non-local domain but no smarthost -> *.MSG netmail
UUCP-003: Mail from smarthost is bounced back -> UUCP job
UUCP-004: Mail for sub-domain, style UUCP user -> UUCP job
UUCP-005: Incoming recipient name; header look-up -> as UUCP-004
UUCP-006: News batch, 1 articles, translated to echo -> *.MSG
UUCP-007: Mail for unknown sub-domain of system domains -> *.MSG
UUCP-008: Mail with NUL in body, gated to *.MSG. NUL must be replaced.
UUCP-009: SMTP mail in, UUCP mail out.
UUCP-010: POP3 mail in, UUCP mail out.
UUCP-011: BAG mail in, UUCP mail out.
UUCP-012: Echomail (from PKT) in, UUCP news job out.

rem UUCP-009: x-post OK
rem UUCP-010: x-post trigger

PKT-001: PKT with echomail, insecure, unknown area, no bad area -> gone
PKT-002: PKT with echomail, insecure, unknown area -> import in bad
PKT-003: Echomail msg in JAM base, exported to PKT for user, not packed
PKT-004: Echomail msg in JAM base, exported to P2K for user, not packed
PKT-005: PKT with netmail, no INTL line, zone recovered -> JAM base
PKT-006: UUCP news -> PKT
PKT-007: UUCP news -> PKT, three split parts
PKT-008: Secure inbound, undefined system, renamed to .UNK

SMTP-001: Mail for single recipient -> *.MSG netmail
SMTP-002: Mail from smarthost is bounced back -> SMTP job
SMTP-003: UUCP job for smarthost -> SMTP job; removes From_ header
rem SMTP-004: Mail for sub-domain, style UUCP user -> UUCP job

MIME-001: UUCP job, multi-part MIME msg, with text before first block
MIME-002: UUCP job, multi-part MIME msg, no text before first block
MIME-003: UUCP, single-part MIME, uu-encoded file, entire body QP encoded

FILTER-001: UUCP job, bounced as UUCP job because of BOUNCE filter

LIST-001: RFC mail dist. to RFC, FTN, RemoteGW, Echo (JAM+PKT) and News
LIST-002: FTN netmail dist. to RFC, FTN, RemoteGW, Echo (JAM+PKT) and News
LIST-003: JAM echo dist. to PKT, news, List2Area -> RFC, FTN, RemoteGW
LIST-004: News dist. to News, PKT, JAM, List2Area -> RFC, FTN, RemoteGW
LIST-005: PKT echo to PKT, JAM, News, List2Area -> RFC, FTN, RemoteGW
LIST-006: FTN netmail as in LIST-002, but user is not allowed to use gateway
LIST-007: PKT echo as LIST-005, but user is not allowed to use gateway
LIST-008: *.MSG FTN netmail from RemoteGW dist. as LIST-002
LIST-009: *.MSG FTN netmail from RemoteGW with e-mail in From, as LIST-009
LIST-010: As LIST-001 but with a footer file configured.
LIST-011: MIME-encoded headers. RFC post to e-mail and news (via list2area)

LSERV-001: RFC e-mail to request a list of available mailing lists.
LSERV-002: FTN netmail to request a list of available mailing lists.
LSERV-003: RemoteGW FTN netmail to request a list of available mailing lists.
LSERV-004: RFC  subscribe e-mail: 1 success, 1 private, 1 onlyknown,
           1 passive, 1 already subscribed.

TRANS-001: Echomail to news
TRANS-002: News x-posted in two areas distributed to three users, PKT fmt.
TRANS-003: Organisation header is gated to Origin
TRANS-004: Too long Origanisation header is gated to Origin
TRANS-005: Netmail copy to echo (filter), ReplaceTear/EmptyTear test
TRANS-006: Netmail copy to echo (filter), Replace/EmptyTear test

CHARS-001: MIME encoded header is translated to FTN but is Japanese.
CHARS-002: MIME encoded header with two encoded blocks is translated to FTN
CHARS-003: Header ENcoding, netmail to e-mail.
CHARS-004: MIME encoded header is translated to FTN, From: header.

AREAFIX-001: Simple reply and %list
AREAFIX-002: Invalid password test
AREAFIX-003: Subscribe test: success
AREAFIX-004: Subscribe test: fails; area doesn't exist
AREAFIX-005: Subscribe test: fails; area not in allowed groups
AREAFIX-006: Subscribe test + unconditional uplink request: success
AREAFIX-007: Subscribe test + uplink request: not in forward names list
AREAFIX-008: Subscribe test + uplink request (from names list): success
AREAFIX-009: Unsubscribe; area does not exist
AREAFIX-010: Unsubscribe; not subscribed to area
AREAFIX-011: Unsubscribe; successful
AREAFIX-012: Unsubscribe; fails because area is mandatory
AREAFIX-013: Unsubscribe + uplink disconnect: fail, AllowPassive is No
AREAFIX-014: Unsubscribe + uplink disconnect: success
AREAFIX-015: as AREAFIX-006 but area is passive from the start

BBS-001: Echomail from PKT sent through BBS if, replaces SEEN-BY and PATH
BBS-002: As BBS-001 but keeps SEEN-BY and PATH
BBS-003: Echomail from BBS has SEEN-BY and PATH replaced, output PKT

If *.MSG works for each of these, we don't need to test all scenearios
with each format (since it goes through the same delivery code)
BINK-001: Netmail from *.MSG area to unknown node w/f'att & KFS flag set
BINK-002: Netmail from *.MSG area to unknown node w/f'att/KFS flag set, crash
BINK-003: Netmail from *.MSG area to known node w/f'att & KFS flag set
BINK-004: Netmail from *.MSG area to known node w/f'att/KFS flag set, crash
BINK-005: Netmail from Jam area to node w/f'att & KFS flag set
BINK-006: Netmail from Squish area to local point w/f'att & KFS flag set,crash

POP3-001: Single e-mail, envelope header present.
POP3-002: Single e-mail, no envelope header, header searched.
POP3-003: Single e-mail, Separator = Envelope header.
POP3-004: Multi-email input file; Separator = Envelope header.

TXTCFG-001: BOUNCE statement test on UUCP job
TXTCFG-002: BOUNCEFROM statement test on UUCP job
TXTCFG-003: BOUNCE statement with wildcard test on UUCP job
TXTCFG-004: BOUNCEFROM statement with wildcard test on UUCP job

BOUNCE-001: Bounced netmail to gateway because of FORBID-FIDO

BAG-001: Mail BAG in, netmail out.
BAG-002: Echomail to area, sent via return system (UUCP).

MISC-001: Test with -nonetmail (two runs in a row)

M2N-001: Echomail post sent to mail2news.
M2N-002: Echomail post sent to mail2news and normal RFC recipient.


Tests still to add
------------------

UUCP: Reading news (compressed with comp12/gzip and uncompressed)
UUCP: Creating GIGOT jobs
UUCP: Creating for multiple recipients.
SMTP: single, multi recipients. SMTP forwarding.
POP3: Reading
BAG: Reading: mail, news, mixed
PKT: Reading, creating netmail, creating echomail, extract archives
PKT: packing, password checking, secure(unknown system)/insecure
PKT: test cost/baud in, out fields.
PKT: PKT2, PKT2+, PKT2.0, whatever else there is to test with
P2K: Creating, reading, packing
ATTR: Test all attributes, from PKT, netmail, echomail, gateway, etc.
ATTR: Test default attributes for locally generated messages
ATTR: Test attributes set after processing by areafix, listserv, gateway, etc.
BINK: HUT, HLO, Compressing, zone dirs, point dirs., don't pack netmail
DB (dBridge): queue file,
TUNNEL: wait until full, send off, seat/mailtunnel, 
FD: Compressing, ARCmail, ForcePack, don't pack netmail,
NETMAIL: Routing
MAP: MAP-UUCP, MAP-FIDO
JAM: export netmail, echomail, e-mail, quick scan, import during export
JAM: attached files: gate, dist via list, send via tunnel, etc.
JAM: attach and extract gated files
JAM: import netmail, echomail, e-mail, local mail
JAM: import BBS user netmail, e-mail. Import dupe, bad, primary netmail
JAM: split during import
JAM: Purge, Link, Renum
JAM: PostAttr flags: areafix, list server, mailing list, sendfile, gate
SQUISH: export netmail, echomail, e-mail, quick scan, import during export
SQUISH: attached files: gate, dist via list, send via tunnel, etc.
SQUISH: attach and extract gated files
SQUISH: import netmail, echomail, e-mail, local mail
SQUISH: import BBS user netmail, e-mail. Import dupe, bad, primary netmail
SQUISH: split during import
SQUISH: Purge, Link
SQUISH: PostAttr flags: areafix, list server, mailing list, sendfile, gate
MSG: export netmail, echomail, e-mail, msgindex.wg, lastread handling
MSG: attached files: gate, dist via list, send via tunnel, etc.
MSG: attach and extract gated files
MSG: import netmail, echomail, e-mail, local mail, import during export
MSG: import BBS user netmail, e-mail. Import dupe, bad, primary netmail
MSG: Purge, Renum, Link
MSG: split during import
MSG: PostAttr flags: areafix, list server, mailing list, sendfile, gate
AREAFIX: write help, notify
AREAFIX: forward in combination with %+ALL, %-ALL
AREAFIX: all commands, rules file, auto-create
NEWSFIX: accept e-mail, write reply, write help, notify, password check
NEWSFIX: auto forward, auto disconnect, in combination with %+ALL, %-ALL
NEWSFIX: all commands, mandatory check, rules file, auto-create
ECHO: read-only group, moderated area
ECHO: additional headers, msgid gating
ECHO: Add seen-by akas
NEWS: read-only group, moderated area, gate to echomail, XPOST kludge
NEWS: mail2news, Message-ID gating, max-x-post check
FILTER: test trigger on all combinations
FILTER: movetoarea, copytoarea, delete, save, bounce, bounce-to, forward, cc
GATEBAU: MessageID <-> MSGID and In-Reply-To <-> REPLY
MAIL: check header and address gating, full name gating, REPLYALSO
MIME: check single part, multi-part, alternate parts, qp, attachments
REMOTEGW: sendfile, dist via list, listsrv, bounce, gw block
LSTSERV: subscribe, disconnect, private, onlyknown, welcome, footer
LSTSERV: initial confirm, re-confirm: netmail, e-mail and remote-gw
LIST: bounce netmail, e-mail, remotegw
LIST: reversed priority tests (user before list)
LIST: attached files
DECODE: check decoding of all file types: base64, attach, qp, uu, xx, binhex
ENCODE: check encoding and including of files
SENDFILE: check response system, encoding / include as configured or autom.
AKA: handling of fake networks, node, points, -1 aka, etc.
BBSIF: echomail to bbs, echomail from bbs, seen-by/path replace, fake aka
DUPE: news dupe checking, echomail dupe checking, per-area setting
DUPE: dupe area, circular path detection, echomail from points, seen-by
AREA: decoding, importing, ..
TXTS: text file handling, test all tokens in all situations
TXTS: usage of files / system built-in responses
ATTACH: attach file handling, routing to downlinks, tunnelling, etc.
REST: replace tear, PID, TID, VIA, etc.
STAT: statistic file contents and statistics report generation
UTIL: ShrinkLog, ShrinkSta,
CONF: Export squish.cfg, areas.bbs. Import squish.cfg, areas.bbs
UUPC: Reading

Complex tests:

* Mailing list distribution to all types of users in all formats plus
  echo, containing an attached file and some bouncing and gateway blocked
  addresses.


<end of document>

