SMTP on port 25 stores mails for the domain's accounts as Java reads them anew and tells a local sender of unknown recipients; POP3 on port 110 hands them out. The mailboxes are in the snapshot and go back into the project. EmailRun plays four stories over the network; MailCases feeds Java's workers without one (26 cases, de and en). 18 cases name Java bugs that the core does not take. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
186 lines
3.6 KiB
Plaintext
186 lines
3.6 KiB
Plaintext
# Cases for tools/java-oracle's MailCases: FILIUS' SMTP and POP3 workers fed
|
|
# with a client's messages, one per line. Read by emailServer.test.ts.
|
|
case smtpPlain smtp
|
|
HELO 192.168.0.20
|
|
MAIL FROM: <bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
From: Bob Beispiel <bob@filius.de>\u000aTo: <anna@filius.de>\u000aSubject: Gru\u00df\u000a\u000aHallo Anna,\u000awie geht's?\u000d\u000a.\u000d\u000a
|
|
QUIT
|
|
case smtpTwice smtp
|
|
EHLO client
|
|
MAIL FROM: <bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
From: <bob@filius.de>\u000aTo: <anna@filius.de>\u000aSubject: Eins\u000a\u000aerster Teil\u000a
|
|
zweiter Teil\u000a.\u000a
|
|
MAIL FROM: <anna@filius.de>
|
|
MAIL FROM: <anna@filius.de>
|
|
RCPT TO:<bob@filius.de>
|
|
DATA
|
|
From: <anna@filius.de>\u000aTo: <bob@filius.de>\u000aSubject: Zwei\u000a\u000aan Bob\u000a.\u000a
|
|
QUIT
|
|
case smtpStart smtp
|
|
DATA
|
|
MAIL FROM:<bob@filius.de>
|
|
noop
|
|
helo
|
|
Quit
|
|
case smtpHelo smtp
|
|
EHLO viele Leerzeichen
|
|
NOOP
|
|
HELO wieder
|
|
case smtpEnvelope smtp
|
|
HELO x
|
|
MAIL FROM:bob
|
|
MAIL FROM:<bob@filius.de>
|
|
mail from : <bob@filius.de>
|
|
RCPT TO:anna
|
|
rcpt to: <ANNA@filius.de>
|
|
RCPT TO:<anna@filius.de> <bob@filius.de>
|
|
HELO noch einmal
|
|
DATA
|
|
Subject: Kopf\u000a\u000aText\u000a.\u000a
|
|
case smtpDomainCase smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna@FILIUS.DE>
|
|
DATA
|
|
Subject: Gross\u000a\u000aText\u000a.\u000a
|
|
case smtpHeaders smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
FROM: Bob <bob@filius.de>\u000ato: a@b.de, Carla <carla@andere.de>,\u000aCc: <chef@filius.de>\u000aBcc: geheim@filius.de\u000aSubject: Zeit: 10 Uhr\u000a\u000aText mit: Doppelpunkt\u000a\u000aAbsatz\u000a.\u000a
|
|
case smtpOddHeaders smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
To: x>y@z.de\u000aCc: ,\u000aSubject : mit Leerzeichen\u000a\u000aText\u000a.\u000a
|
|
case smtpColonFirst smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
Subject: vorn\u000a: leer\u000a\u000aText\u000a.\u000a
|
|
case smtpUnknownHeader smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
From: <bob@filius.de>\u000aX-Mailer: Filius\u000aSubject: Betreff\u000a\u000aText\u000a.\u000a
|
|
case smtpNoHeader smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
Hallo\u000aWelt\u000a.\u000a
|
|
case smtpDataPieces smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
Subject: Teile\u000a\u000aeins
|
|
zwei\u000a
|
|
.
|
|
case smtpQuitInData smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
DATA
|
|
Subject: Abbruch\u000a\u000avorher\u000a
|
|
quit
|
|
case smtpUnknownRecipient smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<niemand@filius.de>
|
|
RCPT TO:<anna@filius.de>
|
|
RCPT TO:<Keiner@filius.de>
|
|
DATA
|
|
From: Bob Beispiel <bob@filius.de>\u000aTo: <niemand@filius.de>\u000aSubject: Wer?\u000a\u000aIst da jemand?\u000a.\u000a
|
|
case smtpEmptySender smtp
|
|
HELO x
|
|
MAIL FROM:<>
|
|
RCPT TO:<niemand@filius.de>
|
|
DATA
|
|
Subject: Leer\u000a\u000aText\u000a.\u000a
|
|
case smtpWithoutAt smtp
|
|
HELO x
|
|
MAIL FROM:<bob@filius.de>
|
|
RCPT TO:<anna>
|
|
DATA
|
|
Subject: Ohne\u000a\u000aText\u000a.\u000a
|
|
case pop3Plain pop3
|
|
USER anna
|
|
PASS geheim
|
|
STAT
|
|
LIST
|
|
RETR 0
|
|
RETR 1
|
|
DELE 0
|
|
STAT
|
|
RSET
|
|
DELE 0
|
|
QUIT
|
|
case pop3Again pop3
|
|
USER anna
|
|
PASS geheim
|
|
RETR 1
|
|
RETR 1
|
|
case pop3Numbers pop3
|
|
USER anna
|
|
PASS geheim
|
|
DELE 0
|
|
LIST
|
|
RETR 0
|
|
RETR 1
|
|
QUIT
|
|
case pop3EmptyList pop3
|
|
USER bob
|
|
PASS passwort
|
|
STAT
|
|
LIST
|
|
QUIT
|
|
case pop3Before pop3
|
|
STAT
|
|
LIST
|
|
RETR 0
|
|
DELE 0
|
|
RSET
|
|
NOOP
|
|
QUIT
|
|
case pop3Users pop3
|
|
USER niemand
|
|
PASS x
|
|
user ANNA
|
|
PASS falsch
|
|
PASS geheim
|
|
USER bob
|
|
PASS passwort
|
|
NOOP
|
|
case pop3UserSwitch pop3
|
|
USER anna
|
|
USER niemand
|
|
PASS geheim
|
|
USER anna
|
|
PASS GEHEIM
|
|
PASS geheim
|
|
case pop3BadArguments pop3
|
|
USER anna
|
|
PASS geheim
|
|
RETR 7
|
|
DELE 7
|
|
RETR -1
|
|
LIST 0
|
|
STAT extra
|
|
NOOP
|
|
RETR x
|
|
case pop3NoArgument pop3
|
|
USER
|
|
case pop3TwoSpaces pop3
|
|
USER anna
|
|
PASS geheim
|
|
RETR 0
|