This patch modifies the config script to only use the first line of
/etc/mailname instead of the whole thing.

--- debian/postfix.config       2006-06-25 20:56:32.000000000 -0400
+++ debian/postfix.config.new   2006-06-25 21:21:54.000000000 -0400
@@ -99,7 +99,7 @@
        my $mailname;
        if (-f "/etc/mailname") {
          $mailname =`cat /etc/mailname`;
-         chomp $mailname;
+         $mailname =~ s/\n.*//s;
        } else {
          $mailname = `hostname --fqdn 2>/dev/null` || "localdomain";
          chomp $mailname;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to