[Pkg-exim4-users] dc_minimaldns not working?

Marc Haber mh+pkg-exim4-users at zugschlus.de
Tue Apr 15 12:02:27 UTC 2008


On Wed, Feb 13, 2008 at 08:48:56PM +0100, Lothar Ketterer wrote:
> I know that "apothekerknecht2" (my hostname) is not a fully qualified
> domain name, so could this be the problem?

After two months of debugging, this finally turned out to be one
cause, the other one being #476249, a bug in update-exim4.conf.

dc_minimaldns works by virtue of hardcoding the output of "hostname
--fqdn" into the primary_hostname configuration option by
update-exim4.conf, thus at package configuration time.
update-exim4.conf silently does not set primary_hostname if hostname
--fqdn's output does not at least contain one dot, effectively
rendering dc_minimaldns invalid.

I think that this is most easily solved to have update-exim4.conf
print a warning if dc_minimaldns is set and hostname --fqdn does
return no dots. It is then the reponsibility of the local admin to
give the system an FQDN that exim can work with.

Any comments?

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