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

Re: [PATCH v2 3/3] New send-email option smtpserveroption.

From
Pascal Obry <pascal.obry@gmail.com>
Date
Sep 5, 2010, 07:15 UTC
Message-ID
<4C83438B.4010701@obry.net>
In-Reply-To
<AANLkTinvos_65kb2uO9bTpRAaCeN+N63-KsMmARadt=3@mail.gmail.com>
Ævar,
Show 6 quoted lines
>> +       unshift (@sendmail_parameters, @smtp_server_options);
>> +
> 
> It just seems iffy to not be able to provide options without having
> the sendmail_parameters. Or maybe all usecases for this involve a
> program that takes sendmail-like arguments, so this isn't an issue.
As far as I understand sendmail_parameters is always used and set:
	my @sendmail_parameters = ('-i', @recipients);
This is even documented:
--smtp-server=<host>::
	If set, specifies the outgoing SMTP server to use (e.g.
	`smtp.example.com` or a raw IP address).  Alternatively it can
	specify a full pathname of a sendmail-like program instead;
	the program must support the `-i` option.  Default value can
	be specified by the 'sendemail.smtpserver' configuration
	option; the built-in default is `/usr/sbin/sendmail` or
	`/usr/lib/sendmail` if such program is available, or
	`localhost` otherwise.
-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|    http://www.obry.net  -  http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
Previous: Ævar Arnfjörð Bjarmason
Message 7 of 7 in “Add support for SMTP server options”
  1. 0/3 Add support for SMTP server optionsPascal Obry, Sep 4, 2010
  2. 1/3 Minor indentation fix.Pascal Obry, Sep 4, 2010
  3. 2/3 Remove @smtp_host_parts variable as not used.Pascal Obry, Sep 4, 2010
  4. 3/3 New send-email option smtpserveroption.Pascal Obry, Sep 4, 2010
  5. Pascal ObrySep 4, 2010
  6. Ævar Arnfjörð BjarmasonSep 4, 2010
  7. Pascal ObrySep 5, 2010

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.