summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/notices.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/notices.inc b/etc/inc/notices.inc
index d2cf505..51605db 100644
--- a/etc/inc/notices.inc
+++ b/etc/inc/notices.inc
@@ -297,6 +297,7 @@ function notify_via_smtp($message) {
$smtp->ssl = 0;
$smtp->debug = 0;
$smtp->html_debug = 0;
+ $smtp->localhost=$config['system']['hostname'].".".$config['system']['domain'];
if($config['notifications']['smtp']['fromaddress'])
$from = $config['notifications']['smtp']['fromaddress'];
OpenPOWER on IntegriCloud