OperatorChars
Set token separation operators V8.7 and later
The OperatorChars
option stores as its value a sequence of characters,
any one of which can be used to separate the
components of an address into tokens (Tokenizing Rules on page 655). Prior
to V8.7, the $o
macro
fulfilled this role. Beginning with V8.7, the
OperatorChars
option has taken over:
O OperatorChars=.:%@!^=/[ ] ← beginning with V8.7 Do.:%@!^=/[ ] ← prior to V8.7
The list of separation operators declared with this option is joined by sendmail to an internal list of hardcoded separation operators:
( )<>,;\r\n
The combined list is used in tokenizing the workspace
for rule-set processing. The order in which the
characters appear in the OperatorChars
option declaration is
arbitrary. The space and tab characters need not be
included in that list because they are always used
to separate tokens.
Care should be taken in eliminating any given character from this list. Before doing so, the entire configuration file should be examined in detail to be sure that no rule requires that character. The use of the individual characters in addresses is beyond the scope of this book. The book !%@:: A Directory of Electronic Mail Addressing and Networks, by Donnalyn Frey and Rick Adams (O’Reilly), contains the many forms of addressing in great detail.
The OperatorChars
option is used like this:
O OperatorChars=text ← configuration file (V8.7 and later) -OOperatorChars=text ← command line (V8.7 and later) define(`confOPERATORS',`text') ← ...
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.