Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorj-ed <juergen@eisfair.org>2013-01-22 17:24:00 +0400
committerj-ed <juergen@eisfair.org>2013-01-22 17:24:00 +0400
commit9c069530cbe60dff043cf5bf0aae28546cb419c7 (patch)
treee25d2f5cb2d7bfe031a0dd983aa53046f9899236 /config
parentdf6ba6955d8fe9692ce9028f71cde962dcc89030 (diff)
Update config/config.sample.php
Added three additional mail_smtp.. parameters. - mail_smtpdebug - enable debug messages to analyse SMTP problems. - mail_smtptimeout - set SMTP timeout which is set to 10s by default and this is sometimes to short especially if a malware/ spam scanner is used. - mail_smtpsecure - force secure SMTP connections.
Diffstat (limited to 'config')
-rw-r--r--config/config.sample.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php
index dafb536fa6f..0e3ce8bcaf2 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -66,6 +66,9 @@ $CONFIG = array(
/* URL of the appstore to use, server should understand OCS */
"appstoreurl" => "http://api.apps.owncloud.com/v1",
+/* Enable SMTP class debugging */
+"mail_smtpdebug" => false;
+
/* Mode to use for sending mail, can be sendmail, smtp, qmail or php, see PHPMailer docs */
"mail_smtpmode" => "sendmail",
@@ -75,6 +78,13 @@ $CONFIG = array(
/* Port to use for sending mail, depends on mail_smtpmode if this is used */
"mail_smtpport" => 25,
+/* SMTP server timeout in seconds for sending mail, depends on mail_smtpmode if this is used */
+"mail_smtptimeout" => 10;
+
+/* SMTP connection prefix or sending mail, depends on mail_smtpmode if this is used.
+ Can be '', ssl or tls */
+"mail_smtpsecure" => '',
+
/* authentication needed to send mail, depends on mail_smtpmode if this is used
* (false = disable authentication)
*/