summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 7 insertions, 1 deletions
diff --git a/Configure b/Configure
index 31700cccac..7e538d90b6 100755
--- a/Configure
+++ b/Configure
@@ -8868,7 +8868,13 @@ EOM
cont=x
while test "$cont"; do
case "$MAILDOMAIN" in
- '') maildomain="$myhostname$mydomain";;
+ '')
+ if $test -s /etc/mailname; then
+ maildomain=`$cat /etc/mailname`
+ else
+ maildomain="$myhostname$mydomain"
+ fi
+ ;;
*) maildomain="$MAILDOMAIN";;
esac
case "$cf_email" in