[Pkg-exim4-users] dc_minimaldns not working?
Marc Haber
mh+pkg-exim4-users at zugschlus.de
Sun Apr 20 18:30:27 UTC 2008
On Tue, Apr 15, 2008 at 11:29:41PM +0200, Lothar Ketterer wrote:
> On Tue, Apr 15, 2008 at 03:45:26PM +0200, Marc Haber wrote:
> > I am very reluctant to give a "Unix administration course" in a
> > warning printed by an arbitrary tool. This usually leads to people not
> > reading the text because it's longer than two lines.
>
> Ok, that's reasonable.
This has been committed to svn:
Index: debian/debconf/update-exim4.conf
===================================================================
--- debian/debconf/update-exim4.conf (revision 2257)
+++ debian/debconf/update-exim4.conf (revision 2258)
@@ -357,6 +357,9 @@
seed_macro "DC_minimaldns" "1"
if guessed_name="$(hostname --fqdn | lowerpipe | check_ascii_pipe | grep '\.')" ; then
seed_macro "MAIN_HARDCODE_PRIMARY_HOSTNAME" "$guessed_name"
+ if echo $guessed_name | grep -q '\.'; then
+ errormessage "hostname --fqdn did not return a fully qualified name, dc_minimaldns will not work. Please fix your /etc/hosts setup."
+ fi
fi
fi
Index: debian/changelog
===================================================================
--- debian/changelog (revision 2257)
+++ debian/changelog (revision 2258)
@@ -24,6 +24,9 @@
* remove quotes from the init script at the sake of probably
less robustness. Thanks to Laurent Fousse for spotting this issue
in lsb-base 3.2-9.
+ * update-exim4.conf: print a warning if dc_minimaldns and hostname
+ --fqdn does not print a fully qualified name. Thanks to Lothar
+ Ketterer. Closes: #476249
[ Robert Millan ]
* Process acl_local_deny_exceptions ACL before rejecting a message in SPF
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190
More information about the Pkg-exim4-users
mailing list