git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] hooks--update: new, required, config variable: hooks.envelopesender,

From
APAndy Parkins <andyparkins@gmail.com>
Date
Mar 23, 2007, 12:58 UTC
Message-ID
<200703231258.34339.andyparkins@gmail.com>
In-Reply-To
<874poc88ix.fsf@rho.meyering.net>
On Friday 2007 March 23 12:11, Jim Meyering wrote:
Show 6 quoted lines
> This change adds a new, required, config variable: hooks.envelopesender,
> and use that with sendmail's -f option.  This is important in order
> to avoid relying on sendmail's "guess" at an appropriate envelope
> sender address.  Without this, and in the presence of strict servers,
> it is far too easy not ever to be notified, or (more insidious) never
> to receive bounce email.
Won't work.
>From "man sendmail" (although my sendmail is actually exim)

"Set the address of the sender of a locally-generated message. This option can normally be used only by root or the Exim user or by one of the con- figured trusted users. However, anyone may use it when testing a filter file with -bf or when testing or verifying addresses using the -bt or -bv options. In other cases, the sender of a local message is always set up as the user who ran the exim command, and -f is ignored, with one exception."

The hook scripts run under the identity of the user doing the push; so "-f" won't have an effect.

I'm not sure why you would even need it; as the above quote says, the sender is set up as the user who ran the command.

I've only tested this with exim; perhaps it's different for other mailers.
Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Jim MeyeringNext: Jim Meyering
Message 2 of 10 in “hooks--update: new, required, config variable: hooks.envelopesender,”
  1. hooks--update: new, required, config variable: hooks.envelopesender,Jim Meyering, Mar 23, 2007
  2. Andy ParkinsMar 23, 2007
  3. Jim MeyeringMar 23, 2007
  4. Jakub NarebskiMar 23, 2007
  5. Andy ParkinsMar 23, 2007
  6. Jim MeyeringMar 23, 2007
  7. Andy ParkinsMar 23, 2007
  8. Jim MeyeringMar 24, 2007
  9. Andy ParkinsMar 24, 2007
  10. hooks--update: new, optional, config variable: hooks.envelopesenderJim Meyering, Mar 24, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.