Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174746

Re: set domain name in Debian `

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: set domain name in Debian `
Date 2016-11-15 15:20 +0100
Message-ID <sDMKC-621-7@gated-at.bofh.it> (permalink)
References (5 earlier) <sCJ2p-4hQ-1@gated-at.bofh.it> <sDpuG-7x1-29@gated-at.bofh.it> <sDy4W-4EE-9@gated-at.bofh.it> <sDLET-5lG-59@gated-at.bofh.it> <sDMKC-621-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 15, 2016 at 02:10:14PM +0000, Brian wrote:
> With 'dpkg-reconfigure exim4-config' the message
> 
>  "Starting MTA:hostname --fqdn did not return a fully qualified name,
>  dc_minimaldns will not work. Please fix your /etc/hosts setup."
> 
> should appear if "yes" is chosen for the option. 'hostname -f' is useful
> for checking there is a sane hosts configuration for exim to use.

Now you're scaring me.  I'm afraid to run this thing to test your theory,
because it might cause my perfectly working configuration to break.

Well, let's back up /etc/exim4 and try it....

wooledg@wooledg:~$ sudo tar czf /var/tmp/etc-exim4.tar.gz /etc/exim4
[sudo] password for wooledg: 
tar: Removing leading `/' from member names
wooledg@wooledg:~$ sudo dpkg-reconfigure exim4-config
[[ now it goes into dialog ]]

First choice:
  mail sent by smarthost; received via SMTP or fetchmail

Second choice:
  System mail name:
  eeg.ccf.org

Third choice:
  IP-addresses to listen on...:
  127.0.0.1 ; ::1

Fourth choice:
  Other destinations for which mail is accepted:
  wooledg

Fifth choice:
  Machines to relay mail for:
  (blank)

Sixth choice:
  IP address or host name of the outgoing smarthost:
  gateway.eeg.ccf.org

Seventh choice:
  Hide local mail name in outgoing mail?
  No

Eighth choice:
  Keep number of DNS-queries minimal?
  No

Ninth choice:
  Delivery method for local mail:
  Maildir format in home directory

Tenth choice:
  Split configuration into small files?
  No

Voila.  No need for hostname -f to return a string with dots.  Exim
was perfectly content with what I've been doing for years.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-11 21:50 +0100
  Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-11 22:00 +0100
    Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-11 23:10 +0100
      Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-11 23:40 +0100
        Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 04:50 +0100
      Re: set domain name in Debian ` Joe <joe@jretrading.com> - 2016-11-11 23:50 +0100
        Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 01:40 +0100
  Re: set domain name in Debian ` Andy Smith <andy@strugglers.net> - 2016-11-12 06:00 +0100
    Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 07:40 +0100
      Re: set domain name in Debian ` Andy Smith <andy@strugglers.net> - 2016-11-12 07:50 +0100
        Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 10:20 +0100
          Re: set domain name in Debian ` Andy Smith <andy@strugglers.net> - 2016-11-12 11:30 +0100
            Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-12 13:40 +0100
            Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 17:10 +0100
              Re: set domain name in Debian ` sunrise@mailbug.com - 2016-11-12 19:40 +0100
                Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 20:30 +0100
              Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-14 14:30 +0100
                Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-14 23:00 +0100
                Re: set domain name in Debian ` David Wright <deblis@lionunicorn.co.uk> - 2016-11-14 23:40 +0100
                Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-15 14:10 +0100
                Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-15 15:20 +0100
                Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-15 16:00 +0100
                Re: set domain name in Debian ` Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-15 16:20 +0100
                Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-15 16:40 +0100
                Re: set domain name in Debian ` David Wright <deblis@lionunicorn.co.uk> - 2016-11-15 17:10 +0100
                Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-15 15:20 +0100
                Re: set domain name in Debian ` Joe <joe@jretrading.com> - 2016-11-15 16:10 +0100
                Re: set domain name in Debian ` Brian <ad44@cityscape.co.uk> - 2016-11-15 16:50 +0100
                Re: set domain name in Debian ` Joe <joe@jretrading.com> - 2016-11-15 17:30 +0100
  Re: set domain name in Debian ` Henrique de Moraes Holschuh <hmh@debian.org> - 2016-11-12 16:50 +0100
    Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 18:20 +0100
      Re: set domain name in Debian ` Henrique de Moraes Holschuh <hmh@debian.org> - 2016-11-12 19:40 +0100
        Re: set domain name in Debian ` Glenn English <ghe2001@gmail.com> - 2016-11-12 22:40 +0100

csiph-web