debian/masqmail-debian

changeset 9:1b63ae1db988

fixed hostname -f bug
author meillo@marmaro.de
date Wed, 05 Nov 2008 11:46:52 +0100
parents 9a453b386f33
children a9bc767c6541
files masqmail.config
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/masqmail.config	Wed Nov 05 11:46:15 2008 +0100
     1.2 +++ b/masqmail.config	Wed Nov 05 11:46:52 2008 +0100
     1.3 @@ -52,7 +52,7 @@
     1.4  
     1.5  if [ -f /etc/mailname ] ; then
     1.6    hostfqdn=`cat /etc/mailname`
     1.7 -else
     1.8 +elif [ `hostname -f 2>/dev/null` ] ; then
     1.9    hostfqdn=`hostname -f`
    1.10  fi
    1.11  hostname=`hostname`