Prev | Current Page 2056 | Next

Bryan Costales, Claus Assmann, George Jansen, Gregory Shapiro

"sendmail, 4th Edition"

All rights reserved.
1148 | Chapter 25: The H (Headers) Configuration Command
If sendmail finds any header with a name beginning with Resent-, it marks that message
as one that is being forwarded, preserves all Resent- headers, and creates any
needed ones.
25.9.1 Remove and Re-create the From: Header
Regardless of whether the message is forwarded, sendmail compares the sender envelope
address to the address in the From: header (or Resent-From: if present). If they
are the same, sendmail deletes the From: (or Resent-From:). The purpose of this deletion
is to add the sender??™s full name (the $x macro, ?§21.9.103 on page 851) to the
address. If the envelope and sender addresses are the same, it is safe to delete and
regenerate those header lines. If the message is being forwarded, sendmail re-creates
the Resent-From: header; otherwise, it re-creates the From: header (?§15.7.40 on page
561).
This re-creation is useful because some old versions of mh(1) added a From: header
without the full name ($x). It is also useful in mail client/server arrangements in
which all mail is sent to the server. Because that mail is sent with the TCP delivery
agent, no $x full name is added. On the server, the From: is discarded, and there is a
second chance to add the $x. However, this can happen only if the address in the
envelope and the address in the From: are identical.


Pages:
2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068
katalog stron dakolen dieta light fenomenalne mieszkania do wynajęcia warszawa katalog stron