Update documentation of set_from_header

pull/84/head
Martin Lambers 11 months ago
parent 9c99049617
commit 77e7dba4d2
  1. 6
      doc/msmtp.1
  2. 3
      doc/msmtp.texi

@ -588,9 +588,13 @@ have one (this is the default), \fIon\fP always sets a From header and overrides
any existing one, and \fIoff\fP never sets a From header.
.br
If the mail server rejects the mail because its From header does not match the
envelope from address (a common anti-spam measure), then you might want to set
envelope-from address (a common anti-spam measure), then you might want to set
this option to \fIon\fP.
.br
The From header is created based on the envelope-from address. Disable
\fBallow_from_override\fP to prevent programs from setting their own
envelope-from address.
.br
For compatibility with older versions, \fBadd_missing_from_header\fP [(\fIon\fP|\fIoff\fP)]
is still supported and corresponds to the \fIauto\fP and \fIoff\fP settings.
.IP "set_date_header [(\fIon\fP|\fIoff\fP)]"

@ -417,6 +417,9 @@ any existing one, and @samp{off} never sets a From header.@*
If the mail server rejects the mail because its From header does not match the
envelope from address (a common anti-spam measure), then you might want to set
this option to @samp{on}.@*
The From header is created based on the envelope-from address. Disable
@ref{allow_from_override} to prevent programs from setting their own
envelope-from address.@*
For compatibility with older versions, @samp{add_missing_from_header [(on|off)]}
is still supported and corresponds to the @samp{auto} and @samp{off} settings.@*
@xref{Header handling}.

Loading…
Cancel
Save