Hello,
I take the liberty to suggest that the maildropex or maildropfilter man
page be amended.
While the maildropfilter man page says that the arguments of
to '!address'
are all passed to SENDMAIL, it is not explicit as to the envelope sender
address. The user may desire to forward a mail while keeping the
original envelope sender. Doing so is trivial, but not obvious to
newbies.
The solution is:
to "!-f \"$FROM\" address"
(Of course, this also works with cc.)
So may I suggest that the paragraph
An expression that begins with an exclamation mark, "!"
specifies a whitespace-delimited list of E-mail addresses to
forward the message to. The program specified by the SENDMAIL
variable is run as an external program, with the list of E-mail
addresses provided as parameters to the program.
be changed to:
An expression that begins with an exclamation mark, "!"
specifies a whitespace-delimited list of E-mail addresses to
forward the message to. The program specified by the SENDMAIL
variable is run as an external program, with the list of E-mail
addresses provided as parameters to the program. So, if you wish
to keep the original envelope sender intact, use something like:
to "!-f \"$FROM\" joe....@example.com"
Of course, you will have to adjust "joe....@example.com" to
the real address where you want the mail forwarded.
(I am donating this documentation to Maildrop, permission to relicense
under any Open Source Initiative approved license is herewith granted.)
Thanks a lot.