Do not adjust mydestination and myhostname in /etc/postfix/main.cf
authorMichael Prokop <mika@grml.org>
Tue, 7 Jul 2009 23:51:27 +0000 (01:51 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 7 Jul 2009 23:51:27 +0000 (01:51 +0200)
chroot-script
debian/changelog

index abfad4b..d8b8fb6 100755 (executable)
@@ -357,8 +357,6 @@ hostname() {
      if [ -r /etc/postfix/main.cf ] ; then
         # adjust hostname related options:
         sed -i "s/grml/$HOSTNAME/g" /etc/postfix/main.cf
      if [ -r /etc/postfix/main.cf ] ; then
         # adjust hostname related options:
         sed -i "s/grml/$HOSTNAME/g" /etc/postfix/main.cf
-        sed -i "s/^myhostname = .*/myhostname = $HOSTNAME/" /etc/postfix/main.cf
-        sed -i "s/^mydestination = .*/mydestination = localdomain, localhost, localhost.localdomain, $HOSTNAME/" /etc/postfix/main.cf
 
         # listen on loopback interface only:
         sed -i "s/^inet_interfaces = .*/inet_interfaces = loopback-only/" /etc/postfix/main.cf
 
         # listen on loopback interface only:
         sed -i "s/^inet_interfaces = .*/inet_interfaces = loopback-only/" /etc/postfix/main.cf
index c29578f..445ee52 100644 (file)
@@ -1,15 +1,18 @@
 grml-debootstrap (0.29) UNRELEASED; urgency=low
 
 grml-debootstrap (0.29) UNRELEASED; urgency=low
 
+  The "thanks to gebi for the bugreports and feedback" release. :)
   * Install busybox in kernel stage to be able to debug initramfs
   * Install busybox in kernel stage to be able to debug initramfs
-    problems (thanks, gebi).
+    problems.
   * Check whether we are installing into a directory in stage mkfs
     so we don't skip if the target is already mounted.
   * Mention "default: lenny" instead of "default: stable" in help
   * Check whether we are installing into a directory in stage mkfs
     so we don't skip if the target is already mounted.
   * Mention "default: lenny" instead of "default: stable" in help
-    text as "stable" is invalid. Thanks, gebi.
-  * Use 'pri=0' as example for swap partition in /etc/fstab (thanks,
-    gebi).
+    text as "stable" is invalid.
+  * Use 'pri=0' as example for swap partition in /etc/fstab.
+  * Do not adjust mydestination and myhostname in /etc/postfix/main.cf as
+    mydestination defaults to "$myhostname, localhost.$mydomain, localhost",
+    myhostname defaults to gethostname() and mydomain to localdomain.
 
 
- -- Michael Prokop <mika@grml.org>  Wed, 08 Jul 2009 01:41:46 +0200
+ -- Michael Prokop <mika@grml.org>  Wed, 08 Jul 2009 01:48:13 +0200
 
 grml-debootstrap (0.28) unstable; urgency=low
 
 
 grml-debootstrap (0.28) unstable; urgency=low