dc.gov. To prevent this misinterpretation, such MUAs usually either
quote the user portion or escape each space with a backslash:
"John Q Public"@wash.dc.gov ?†? quoted
John\ Q\ Public@wash.dc.gov ?†? escaped
The BlankSub option is intended to handle an address that contains internal spaces, and is
neither quoted nor escaped. For sendmail, a space is any character defined by the Clanguage
library routine isspace(3).
Most sites use a . (dot or period) or an _ (underscore) character to replace unquoted space
characters. That is, they declare the BlankSub option as one of the following:
O BlankSub=.
O BlankSub=_
Feeding the address:
John Q Public@wash.dc.gov
through sendmail with the option BlankSub set to a dot yields:
John.Q.Public@wash.dc.gov
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
24.9 Alphabetized Options | 981
The forms of the BlankSub option are as follows:
O BlankSub=char ?†? configuration file (V8.7 and later)
-OBlankSub=char ?†? command line (V8.7 and later)
define(`confBLANK_SUB??,char) ?†? mc configuration (V8.7 and later)
OBchar ?†? configuration file (deprecated)
-oBchar ?†? command line (deprecated)
The argument char is of type character and is a single character. The default, if this option
is omitted or if the char argument is omitted, is that an unquoted space character is
replaced with a space character (which does nothing to correct the problem).
Pages:
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734