Re: [PATCH v2 3/3] New send-email option smtpserveroption.
From: Pascal Obry <hidden>
Date: 2016-06-15 22:49:29
Ævar,
quoted
+ 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