diff options
author | Carsten Wiedmann <carsten_sttgt@gmx.de> | 2018-11-13 01:26:35 +0300 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2018-12-08 19:18:04 +0300 |
commit | 571e3c155cc97e76a654222f53187b9ca2e48be4 (patch) | |
tree | 0e71e53566c8af92046def22583ee70e03c1f226 /config | |
parent | cabded04e1b488a6704809d4d27dba6301830114 (diff) |
Apply patch from @cwiedmann but drop -oi option for pipe
* Add sendmailmode to gui
* Add testcases for pipe mode
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 874fbc04e50..f12c75d91ca 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -422,6 +422,19 @@ $CONFIG = array( 'mail_send_plaintext_only' => false, /** + * Which mode is used for sendmail/qmail: ``smtp`` or ``pipe``. + * + * For ``smtp`` the sendmail binary is started with the parameter ``-bs``: + * - Use the SMTP protocol on standard input and output. + * + * For ``pipe`` the binary is started with the parameters ``-t``: + * - Read message from STDIN and extract recipients. + * + * Defaults to ``smtp`` + */ +'mail_sendmailmode' => 'smtp', + +/** * Proxy Configurations */ |