Name
ColonOkInAddr
Synopsis
One possible form of an address is called “list syntax” and looks like this:
group: list;
Here, group is the name of a mailing list, and
list is a list of zero or more addresses to which
the message should be delivered. To understand this kind of address,
sendmail needs to view the prefix and colon as a
comment and the trailing semicolon as a comment. This is similar to
treating everything outside an angle-bracketed address as a comment:
group: list ; group: <list> ;
For such addresses to be recognizable, it is necessary to prohibit the use of other addresses that contain colons, unless those colons appear inside a part of the address that is surrounded by angle brackets. That is, to use list syntax, addresses such as the following cannot be allowed:
host:george@wash.dc.gov
To handle this situation, V8.7 sendmail
introduced the ColonOkInAddr option. It is used
like this:
O ColonOkInAddr=bool ← configuration file (V8.7 and later) -OColonOkInAddr=bool ← command line (V8.7 and later) define(`confCOLON_OK_IN_ADDR',bool)← mc configuration (V8.7 and later)
The argument bool is of type Boolean. If
it is absent, this option is true (colons are OK, so list syntax is
not recognized). If this option is entirely omitted or if
bool is false, colons are not OK, so list
syntax is recognized. Note that for version 5 or earlier
configuration files (see Section 17.5 for a
description of the V configuration command), this option is automatically set to true. Also note that ...
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