From: Hartmut Holzgraefe Date: Fri, 4 Aug 2000 22:42:11 +0000 (+0000) Subject: changed default sendmail flags from '-t' to '-t -i' (bugid#5374) X-Git-Tag: PRE_FILE_COMPILE_API_CHANGE~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b04a02660e0f4f0082fa5a2c51531249fd3103e3;p=php changed default sendmail flags from '-t' to '-t -i' (bugid#5374) --- diff --git a/main/main.c b/main/main.c index 9abc232581..59bab7cc30 100644 --- a/main/main.c +++ b/main/main.c @@ -191,7 +191,7 @@ static PHP_INI_MH(OnUpdateTimeout) #endif #ifdef PHP_PROG_SENDMAIL -# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t" +# define DEFAULT_SENDMAIL_PATH PHP_PROG_SENDMAIL " -t -i " #else # define DEFAULT_SENDMAIL_PATH NULL #endif diff --git a/php.ini-dist b/php.ini-dist index a49a4d80f5..aebdba1f60 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -268,7 +268,7 @@ define_syslog_variables = Off ; Whether or not to define the various syslog vari [mail function] SMTP = localhost ;for win32 only sendmail_from = me@localhost.com ;for win32 only -;sendmail_path = ;for unix only, may supply arguments as well (default is sendmail -t) +;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i') [Debugger] debugger.host = localhost diff --git a/php.ini-optimized b/php.ini-optimized index 9f70462f10..15c53c679d 100644 --- a/php.ini-optimized +++ b/php.ini-optimized @@ -255,7 +255,7 @@ define_syslog_variables = Off ; Whether or not to define the various syslog vari [mail function] SMTP = localhost ;for win32 only sendmail_from = me@localhost.com ;for win32 only -;sendmail_path = ;for unix only, may supply arguments as well (default is sendmail -t) +;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i') [Debugger] debugger.host = localhost diff --git a/php.ini-recommended b/php.ini-recommended index 9f70462f10..15c53c679d 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -255,7 +255,7 @@ define_syslog_variables = Off ; Whether or not to define the various syslog vari [mail function] SMTP = localhost ;for win32 only sendmail_from = me@localhost.com ;for win32 only -;sendmail_path = ;for unix only, may supply arguments as well (default is sendmail -t) +;sendmail_path = ;for unix only, may supply arguments as well (default is 'sendmail -t -i') [Debugger] debugger.host = localhost