Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174747
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: set domain name in Debian ` |
| Date | 2016-11-15 15:20 +0100 |
| Message-ID | <sDMKC-621-9@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <sCDJo-JU-3@gated-at.bofh.it> <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> |
| Organization | linux.* mail to news gateway |
On Tue 15 Nov 2016 at 08:00:31 -0500, Greg Wooledge wrote: > On Mon, Nov 14, 2016 at 04:29:35PM -0600, David Wright wrote: > > As your own hostname -f produces not dots, what approach do you > > use to shut exim up, or do you just ignore (or suppress) the message? > > I have (control over) a bunch of computers, and they're not all configured > the same. The machine I believe you refer to is this one: > > wooledg@wooledg:~$ hostname > wooledg > wooledg@wooledg:~$ hostname -f > wooledg > > This is a dual-boot Windows/Debian workstation on my desk at work. > > Here's the /etc/hosts: > > wooledg@wooledg:~$ cat /etc/hosts > 127.0.0.1 localhost > 127.0.1.1 wooledg Exim wants to see a fqdn in the 127.0.1.1 line, written as specified in hosts(5): IP_address canonical_hostname [aliases...] The canonical_hostname is used for the HELO/EHLO. With most large ISPs it is not taken much notice of but there are servers which (rightly or wrongly) would do a reverse lookup on wooledg and, getting a negative response, reject the mail. Basically, you will get away with the line you have when you use an understanding smarthost. I think Postfix could behave in the same way. > # The following lines are desirable for IPv6 capable hosts > ::1 localhost ip6-localhost ip6-loopback > ff02::1 ip6-allnodes > ff02::2 ip6-allrouters > > The hostname is defined in DNS (originally I just let it have a dynamic > IP address and dealt with that, but later I arranged for it to have > a non-changing IP address, for reasons beyond the scope of this email; > but in all cases, DNS always had a working "A" record). > > It looks like this one is running exim: > > wooledg@wooledg:~$ ps -ef | grep exim > Debian-+ 949 1 0 Nov14 ? 00:00:00 /usr/sbin/exim4 -bd -q30m > wooledg 10865 2007 0 07:53 pts/4 00:00:00 grep exim > > I never saw any errors like the one you showed, perhaps because exim > used my default search domain (from /etc/resolv.conf) and found a sane > DNS configuration, or perhaps because this machine is in a very simple > "send to smarthost only" mode. I don't really know exim very well. 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. -- Brian.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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