$g contains the official return address of the sender. $x contains the full name for the sender.
$x can be undefined for some addresses, so it should be wrapped in the $? and $. conditional
operators (?§21.6 on page 794).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
1158 | Chapter 25: The H (Headers) Configuration Command
The From: header must be prefixed by the ?F? flag because all the traditional delivery agents
use the F=F flag (?§20.8.26 on page 771) to force inclusion of that header. Use of the ?F? flag
allows new delivery agents to be written that don??™t require the From: header.
The resent- form of the From: header must also be declared in the configuration file:
H?F?Resent-From: $?x$x <$g>$|$g$.
This ensures that every mail message has a sender, even if the mail message has been re-sent.
Note that sendmail does not add the From: header or its resent- form if a From: header
already exists in the header portion of the mail message. A possible exception occurs if the
envelope sender is identical to the address in the From: header. In that instance, the From:
header is discarded and a new one is created (?§25.9.1 on page 1148).
25.12.20 Full-Name:
The sender??™s full name sendmail
The Full-Name: header is used to list the sender??™s full name if it is known.
Pages:
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086