Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

sample headers

2 views
Skip to first unread message

Eddie McCreary

unread,
Aug 13, 1996, 3:00:00 AM8/13/96
to

I'm playing around with code to parse RFC-822 address lines and would
like so find sample headers to test it against. Does anyone know
of samples that are available?

ed
--
~/.signature

D. J. Bernstein

unread,
Aug 14, 1996, 3:00:00 AM8/14/96
to

> I'm playing around with code to parse RFC-822 address lines and would
> like so find sample headers to test it against.

Here are some from my retest suite for qmail-inject. These include the
interesting RFC 822 examples, with domains inserted when necessary.
There are also some tests of line-wrapping aesthetics; if you don't
allow lines as long as 78 characters, you might want to change these.
A few of the middle examples are illegal; they test comma insertion.

---Dan

Cc: "Joe & J. Harvey" <d...@org.MISSING>, J...@BBN.MISSING
Cc: ":sysmail"@ Some-Group.
Some-Org, Muhammed.(I am the greatest) Ali @(the)Vegas.WBA
Cc: "George, Ted" <Sha...@Group.Arpanet>
Cc: Wilt . (the Stilt) Chamb...@NBA.US
Cc: Gourmets: Pompous Person <WhoZiW...@Cordon-Bleu.MISSING>,
Chi...@WGBH.Boston, "Galloping Gourmet"@
ANT.Down-Under (Australian National Television),
Che...@Discount-Liquors.MISSING;, Cruisers: Po...@Portugal.MISSING,
Jo...@SEA.MISSING;, Ano...@Somewhere.SomeOrg
Cc: Important folk: Tom Softwood <Ba...@Tree.Root>,
"Sam Irving"@Other-Host.MISSING;, Standard Distribution:
/main/davis/people/stan...@Other-Host.MISSING,
"<Jones>standard.dist.3"@Tops-20-Host.MISSING;
Cc:
Cc: <>
Cc: (comment)
Cc: m...@home.com
Cc: m...@home.com (comment)
Cc: m...@home.com (comment (nested (deeply\))))
Cc: <m...@home.com>
Cc: a phrase <m...@home.com>
Cc: mailing list: ;
Cc: mailing list: m...@home.com ;
Cc: mailing list: m...@home.com, y...@work.com, th...@play.com ;
Cc: mailing list: route <m...@home.com>, y...@work.com, th...@play.com ;
Cc: mailing list: route two <m...@home.com>, y...@work.com, th...@play.com ;
Cc: mailing list: m...@home.com, route <y...@work.com>, th...@play.com ;
Cc: mailing list: m...@home.com, route two <y...@work.com>, th...@play.com ;
Cc: mailing list: ,,m...@home.com,,, y...@work.com,, ;
Cc: mailing list: ; ill...@work.com
Cc: a phrase <m...@home.com> ill...@work.com
Cc: m...@home.com, y...@work.com
Cc: m...@home.com y...@work.com
Cc: "quoted address"@home.com, y...@work.com
Cc: a phrase <m...@home.com>, y...@work.com
Cc: m...@home.com, a phrase <y...@work.com>
Cc: mailing list: ,,m...@home.com,,, y...@work.com,, ;,th...@play.com
Cc: x@x.x
Cc: x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx78
Cc: x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx79
Cc: x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx80
Cc: x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxx, x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx78
Cc: x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxx, x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx79
Cc: x...@x.xxxxxxxxx, x...@x.xxxxxxxxxxxxx, x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx78
Cc: x...@x.xxxxxxxxx, x...@x.xxxxxxxxxxxxx, x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx79
Cc: x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,
x...@x.xxxxxxxxxxxxx, x...@x.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx78
Cc: x...@x.xxxxxxxxxxxxxxxxxx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