summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpierrepomes <pierre.pomes@interface-tech.com>2010-04-17 20:27:58 -0400
committerpierrepomes <pierre.pomes@interface-tech.com>2010-04-17 20:27:58 -0400
commit1467b79f5565f4ca907a9468f1924c59940aa36b (patch)
treea55886d5fc950b8ff98e68b9074205bf0275c122
parent842fb73b8beca3ab991643f97170b30da2fbbb05 (diff)
downloadpfsense-1467b79f5565f4ca907a9468f1924c59940aa36b.zip
pfsense-1467b79f5565f4ca907a9468f1924c59940aa36b.tar.gz
Use FQDN for HELLO SMTP command. Ticket #443
-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