The Address
Each address that is specified is handed almost as is to the rule set or sets being tested. Each is tokenized and placed into the workspace for rule set processing. To illustrate, observe the following rule-testing session:
ADDRESS TEST MODE (rule set 3 NOT automatically invoked) Enter <rule set> <address> >parse bill (Bill Bix)parse input: bill ( Bill Bix ) Parse0 input: bill ( Bill Bix ) Parse0 returns: bill ( Bill Bix ) ParseLocal input: bill ( Bill Bix ) ParseLocal returns: bill ( Bill Bix ) Parse1 input: bill ( Bill Bix ) Parse1 returns: $# local $: bill ( Bill Bix ) parse returns: $# local $: bill ( Bill Bix ) >parse Bill Bix <bill> parse input: Bill Bix < bill > Parse0 input: Bill Bix < bill > Parse0 returns: Bill Bix < bill > ParseLocal input: Bill Bix < bill > ParseLocal returns: Bill Bix < bill > Parse1 input: Bill Bix < bill > Parse1 returns: $# local $: Bill Bix < bill > parse returns: $# local $: Bill Bix < bill > >canonify,parse Bill Bix <bill> canonify input: Bill Bix < bill > Canonify2 input: bill Canonify2 returns: bill canonify returns: bill parse input: bill Parse0 input: bill Parse0 returns: bill ParseLocal input: bill ParseLocal returns: bill Parse1 input: bill Parse1 returns: $# local $: bill parse returns: $# local $: bill >
The first test illustrates that sendmail does not strip RFC822-style comments from addresses before tokenizing them.
The second test illustrates that sendmail does not internally recognize addresses in angle brackets. Instead, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access