--- src/YaPI/MailServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/YaPI/MailServer.pm b/src/YaPI/MailServer.pm index 2051480..005cd5d 100644 --- a/src/YaPI/MailServer.pm +++ b/src/YaPI/MailServer.pm @@ -2387,7 +2387,7 @@ sub WriteMailLocalDomains { my $host = `hostname -f`; chomp $host; if( ! $host ) { - $host = `cat /etc/HOSTNAME`; chomp $host; + $host = `cat /etc/hostname`; chomp $host; if( ! $host ) { $host = 'linux.lokal'; @@ -2983,7 +2983,7 @@ sub activate_virus_scanner { my $mydomain = `hostname -d`; chomp $mydomain; if( ! $myhostname ) { - $myhostname = `cat /etc/HOSTNAME`; chomp $myhostname; + $myhostname = `cat /etc/hostname`; chomp $myhostname; if( ! $myhostname ) { $myhostname = 'linux.lokal'; -- 1.8.2.3 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org