debian/masqmail-debian

diff masqmail.config @ 9:1b63ae1db988

fixed hostname -f bug
author meillo@marmaro.de
date Wed, 05 Nov 2008 11:46:52 +0100
parents 5ef519035828
children 845b243eb46f
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`