File: test-addr

package info (click to toggle)
newsgate 1.6-9
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 332 kB
  • ctags: 310
  • sloc: ansic: 2,683; yacc: 499; sh: 278; lex: 183; perl: 151; makefile: 113
file content (50 lines) | stat: -rw-r--r-- 1,341 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
##
##  Test re-write rules in hdr.c with hdrtest.
##  $Header: /nfs/papaya/u2/rsalz/src/newsgate/RCS/test-addr,v 1.3 91/07/18 19:40:52 rsalz Exp $

## Various simple tests.
uucp-site!user
cronus.bbn.com!user
litchi.bbn.com!user@corp.sun.com
user@site.arpa
user%site.edu@relay.cs.net
user%site@relay.cs.net
uusite1!uusite2!uucp-site!user
uusite1!uusite2!bbn.com!user
uusite1!uucp-site.bogus!user
seismo!site.oz!user
user%site.bitnet@cunyvm.cuny.edu
user%gate1%gate.edu@bitgate
@router:user@site.com
user%site1.edu%site2.com@gateway

##  First, a normal address.
rickert@math.niu.edu (Nice day today)

##  Same thing with <> format.
Nice day today <rickert@math.niu.edu>

##  Now a quoted comment with special characters.
"<- save space for me ->" <rickert@math.niu.edu>

##  A purely local address.
rickert (Neil Rickert)

##  A local address with dots.
<Neil.Rickert>

##  The next address should be treated as local, since '@' is escaped.
rickert\@math.niu.edu

##  A quoted address.
"XYZVAX::rickert"@dnet.gw.niu.edu

##  A more complex quoted address.
"XYZVAX::uunet!postmaster"@dnet.gw.niu.edu

##  An unbalanced quote in comments.
rickert@math.niu.edu (Nice day " today)

##  And now something really cryptic.
(Hi " there) rickert@(how are " you)math.niu.edu (" today)
"The right paren ) is ok in phrase, bad in comment" <Neil.Rickert>