Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #192904
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: domain names, was: hostname |
| Date | 2018-02-22 19:00 +0100 |
| Message-ID | <vm3jX-89a-7@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <vjsRz-3Xd-1@gated-at.bofh.it> <vjuJI-58K-9@gated-at.bofh.it> <vkSJX-2V1-5@gated-at.bofh.it> <vkWue-5kM-3@gated-at.bofh.it> <vkYw2-6Dg-29@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
In case it's not clear,
hostname: foo (in /etc/hostname),
domain: example.com (name of a registered domain),
domain name: I'll try to avoid,
domainname: foo.example.com (also variously called FQDN, canonical hostname).
On Mon 19 Feb 2018 at 18:39:02 (+0000), Brian wrote:
> On Mon 19 Feb 2018 at 10:23:56 -0600, David Wright wrote:
>
> > On Mon 19 Feb 2018 at 12:28:03 (+0000), Jeremy Nicoll wrote:
> > > On Thu, 15 Feb 2018, at 16:21, Dan Purgert wrote:
> > >
> > > > > Later, once you understand how a local network works, you can come
> > > > > up with a theme. Or some convention that lets you identify the
> > > > > computer by its name. The name that you have chosen.
> > >
> > > Machine-naming makes sense to me - having done that with a variety
> > > of (blush) Windows machines in my LAN. I've toyed with versions of
> > > Linux, and used a few live-CD ones over the years, and I'm fairly sure
> > > that as well as being asked to supply a hostname I've also been asked
> > > to supply a domain value.
> > >
> > > What, on a home LAN, is that used for?
> >
> > Nothing,
I ought to elaborate: giving an empty answer to the name of the domain
results in the domainname being the same as the hostname. So in places
where one might expect to see a domainname, just the hostname is seen.
It's difficult to use the domain's name for anything because it is empty.
> > with the possible exceptions of:
> >
> > . avoiding this message at boot up:
> > Mon Feb 19 04:58:38 2018: [....] Starting MTA:hostname --fqdn did not return a fully qualified name,
> > Mon Feb 19 04:58:38 2018: dc_minimaldns will not work. Please fix your /etc/hosts setup.
I've never worked out exactly what it is that "will not work".
Having any string as a domain will make exim4 very happy because
there will be a dot in the canonical hostname in /etc/hosts.
> > . satisfying a broken smarthost¹,
² later …
> > . causing some discussion here.
It certainly did that.
> > However, even though bug #504427 has never been answered, I don't
> > think I'm seeing this message any more except on wheezy (as above).
> > So here I have:
> >
> > $ cat /etc/mailname
> > alum
>
> Debian's exim4 README says that mailname should be a FQDN. I find that
> useful for sending mail to "anotheruser".
Sorry, but I haven't been able to work out what you mean.
Is "anotheruser" a username on the same system, somebody or
some machine on the LAN, or something different?
This is a genuine query. If I'm missing out on some useful aspect
of writing in a domain, I'd like to know what it is so I can try
using it. (I have a spare domain registration handy as it happens.)
> But mailname has nothing to
> do with domain as enquired about by Jeremy Nicoll.
The contents of /etc/mailname is the answer to this question:
"It should be the single, fully qualified domainname (FQDN)."
so, because the domain is empty, the FQDN will be the same as
the hostname. I was merely showing that to be the case here.
As pointed out elsewhere, mailname can be used to generate
Message-IDs (mutt does) which might not be globally unique,
not something to concern most home users, and it can be
mitigated. It's also used as the envelope-from, it appears,
between the mail client and exim which can rewrite it.
I guess that if you submit mail directly from, say, mutt to
a remote smarthost, it would be a good idea to place an
email address into /etc/mailname.
> > $ head /etc/hosts
> > # /root/hosts-1-local-template
> > # List of local hosts.
> > # Adjust the two lines for this host when installing.
> > # Check the IPv6 lines occasionally because they change them.
> >
> > 127.0.0.1 localhost
> > 127.0.1.1 alum
>
> alum is the canonical_hostname. It is used by exim to HELO with. Many
> mail servers will not accept mail directly from you because it is not a
> FQDN.
This is why I wrote "broken" at ². The OP wrote "on a home LAN",
in which case it's unlikely that they relay mail to mail servers
on port 25. More likely is that they use a smarthost with a mail
submission system on port 587 or possibly 465 (though 25 is
allowed for broken senders³).
As submission involves obligatory authentication, there's no reason
to reject a submission just because the HELO has no dot in it. And
even if a sender screws up the envelope-from, it's likely that the
mail submission knows a valid email address associated with the
authenticator's registration details.
> > 192.168.1.1 router
> > 192.168.1.2 roku2w
> > $
> >
> > I've sometimes wondered what other people dream up as their
> > domainnames; that is, people who don't have a legitimate reason
> > to put something like example.com.
>
> Whatever is dreamt up as a domain name is put into /etc/hosts by the
> installer as
>
> 127.0.1.1 alum.dreamtup alum
And what is the benefit for the mail submission system in being woken
up with HELO alum.dreamtup rather than HELO alum ?
Extra brownie points for imagination perhaps.
³ like many routers that can only email the logs on port 25 of their WAN,
which will be immediately rejected by an increasing number of ISPs.
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
hostname bolakim53@mail2tor.com - 2018-02-15 15:30 +0100
Re: hostname Greg Wooledge <wooledg@eeg.ccf.org> - 2018-02-15 15:40 +0100
Re: hostname Dan Purgert <dan@djph.net> - 2018-02-15 17:40 +0100
Re: domain names, was: hostname Jeremy Nicoll <jn.ml.dbn.25@letterboxes.org> - 2018-02-19 13:30 +0100
Re: domain names, was: hostname Dan Purgert <dan@djph.net> - 2018-02-19 14:50 +0100
Re: domain names, was: hostname Jeremy Nicoll <jn.ml.dbn.25@letterboxes.org> - 2018-02-20 20:40 +0100
Re: domain names, was: hostname Greg Wooledge <wooledg@eeg.ccf.org> - 2018-02-20 20:50 +0100
Re: domain names, was: hostname Jeremy Nicoll <jn.ml.dbn.25@letterboxes.org> - 2018-02-20 21:00 +0100
Re: domain names, was: hostname Dan Purgert <dan@djph.net> - 2018-02-21 01:20 +0100
Re: domain names, was: hostname mick crane <mick.crane@gmail.com> - 2018-02-21 01:30 +0100
Re: domain names, was: hostname Dan Purgert <dan@djph.net> - 2018-02-21 01:50 +0100
Re: domain names, was: hostname Glenn English <ghe2001@gmail.com> - 2018-02-21 02:10 +0100
Re: domain names, was: hostname mick crane <mick.crane@gmail.com> - 2018-02-21 02:10 +0100
Re: domain names, was: hostname Reco <recoverym4n@gmail.com> - 2018-02-21 07:10 +0100
Re: domain names, was: hostname Darac Marjal <mailinglist@darac.org.uk> - 2018-02-21 11:30 +0100
Re: domain names, was: hostname Dan Purgert <dan@djph.net> - 2018-02-21 13:50 +0100
Re: domain names, was: hostname Reco <recoverym4n@gmail.com> - 2018-02-21 13:50 +0100
Re: domain names, was: hostname Gene Heskett <gheskett@shentel.net> - 2018-02-21 13:00 +0100
Re: domain names, was: hostname Reco <recoverym4n@gmail.com> - 2018-02-21 13:50 +0100
Re: domain names, was: hostname Curt <curty@free.fr> - 2018-02-21 16:40 +0100
Re: domain names, was: hostname Frank <zuiderduin@gmx.com> - 2018-02-23 21:00 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-02-19 17:30 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-02-19 19:40 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-02-22 19:00 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-02-23 14:00 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-02-24 04:50 +0100
Re: domain names, was: hostname Curt <curty@free.fr> - 2018-02-26 11:50 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-02-26 19:00 +0100
Re: domain names, was: hostname Dan Purgert <dan@djph.net> - 2018-02-23 14:10 +0100
Re: domain names, was: hostname Joe <joe@jretrading.com> - 2018-02-23 18:10 +0100
Re: domain names, was: hostname mick crane <mick.crane@gmail.com> - 2018-03-21 17:20 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-02-23 17:20 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-20 23:10 +0100
Federated, decentralised communication on the internet (was: domain names, was: hostname) Ben Finney <bignose@debian.org> - 2018-03-21 00:00 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) Forest Dean Feighner <forest.feighner@gmail.com> - 2018-03-21 00:20 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) deloptes <deloptes@gmail.com> - 2018-03-21 22:10 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) Forest Dean Feighner <forest.feighner@gmail.com> - 2018-03-21 22:10 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) deloptes <deloptes@gmail.com> - 2018-03-21 22:30 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) Forest <forest.feighner@gmail.com> - 2018-03-22 01:40 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) deloptes <deloptes@gmail.com> - 2018-03-22 21:40 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) <tomas@tuxteam.de> - 2018-03-21 09:10 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) terryc <terryc@woa.com.au> - 2018-03-21 10:40 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) "Michelle Konzack" <linux4michelle@tamay-dogan.net> - 2018-03-22 07:30 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) Celejar <celejar@gmail.com> - 2018-03-23 19:00 +0100
Re: Federated, decentralised communication on the internet Charlie Gibbs <cgibbs@surfnaked.ca> - 2018-03-21 16:50 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-21 17:10 +0100
Re: Federated, decentralised communication on the internet Richard Owlett <rowlett@cloud85.net> - 2018-03-21 17:40 +0100
Re: Federated, decentralised communication on the internet Gene Heskett <gheskett@shentel.net> - 2018-03-21 18:00 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-21 21:40 +0100
Re: Federated, decentralised communication on the internet Richard Owlett <rowlett@cloud85.net> - 2018-03-21 22:30 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-21 23:00 +0100
Re: Federated, decentralised communication on the internet Richard Owlett <rowlett@cloud85.net> - 2018-03-21 23:30 +0100
Re: Federated, decentralised communication on the internet Dan Purgert <dan@djph.net> - 2018-03-22 01:10 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-22 01:10 +0100
Re: Federated, decentralised communication on the internet Brian <ad44@cityscape.co.uk> - 2018-03-21 21:50 +0100
Re: Federated, decentralised communication on the internet Richard Owlett <rowlett@cloud85.net> - 2018-03-21 22:50 +0100
Re: Federated, decentralised communication on the internet Brian <ad44@cityscape.co.uk> - 2018-03-21 23:50 +0100
Re: Federated, decentralised communication on the internet Darac Marjal <mailinglist@darac.org.uk> - 2018-03-22 09:40 +0100
Re: Re: Federated, decentralised communication on the internet dekks herton <dekkzz78@gmail.com> - 2018-03-23 00:10 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-23 01:50 +0100
Re: Federated, decentralised communication on the internet deloptes <deloptes@gmail.com> - 2018-03-21 22:30 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) deloptes <deloptes@gmail.com> - 2018-03-21 22:20 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-22 00:40 +0100
Re: Federated, decentralised communication on the internet deloptes <deloptes@gmail.com> - 2018-03-22 09:00 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-22 15:00 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) David Wright <deblis@lionunicorn.co.uk> - 2018-03-21 21:00 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-21 21:30 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) Joe <joe@jretrading.com> - 2018-03-21 22:00 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) deloptes <deloptes@gmail.com> - 2018-03-21 22:40 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) deloptes <deloptes@gmail.com> - 2018-03-21 22:40 +0100
Re: Federated, decentralised communication on the internet Richard Hector <richard@walnut.gen.nz> - 2018-03-21 23:10 +0100
Re: Federated, decentralised communication on the internet Dan Purgert <dan@djph.net> - 2018-03-22 01:20 +0100
Re: Federated, decentralised communication on the internet Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-22 13:20 +0100
Re: Federated, decentralised communication on the internet Richard Hector <richard@walnut.gen.nz> - 2018-03-22 23:10 +0100
Re: Federated, decentralised communication on the internet Dan Purgert <dan@djph.net> - 2018-03-22 23:50 +0100
Re: Federated, decentralised communication on the internet Richard Hector <richard@walnut.gen.nz> - 2018-03-23 00:20 +0100
Re: Federated, decentralised communication on the internet Dan Purgert <dan@djph.net> - 2018-03-23 02:10 +0100
Re: Federated, decentralised communication on the internet Richard Hector <richard@walnut.gen.nz> - 2018-03-23 04:00 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-23 02:50 +0100
Re: Federated, decentralised communication on the internet Richard Hector <richard@walnut.gen.nz> - 2018-03-23 04:10 +0100
Re: Federated, decentralised communication on the internet Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-23 13:30 +0100
Re: Federated, decentralised communication on the internet Phil Dobbin <bukowskiscat@gmail.com> - 2018-03-23 15:10 +0100
Re: Federated, decentralised communication on the internet Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-23 17:50 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) David Wright <deblis@lionunicorn.co.uk> - 2018-03-22 01:00 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) deloptes <deloptes@gmail.com> - 2018-03-22 09:20 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) Joe <joe@jretrading.com> - 2018-03-22 09:50 +0100
Re: Federated, decentralised communication on the internet (was: domain names, was: hostname) Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-22 14:00 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-22 18:50 +0100
Re: domain names, was: hostname Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-22 19:10 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-03-22 21:30 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-23 03:10 +0100
Re: domain names, was: hostname Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-23 17:00 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-23 18:10 +0100
Re: domain names, was: hostname Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-23 18:10 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-24 01:50 +0100
Re: domain names, was: hostname Miles Fidelman <mfidelman@meetinghouse.net> - 2018-03-24 14:00 +0100
Re: domain names, was: hostname "Michelle Konzack" <linux4michelle@tamay-dogan.net> - 2018-03-24 14:10 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-03-23 20:20 +0100
Re: domain names, was: hostname rhkramer@gmail.com - 2018-03-23 21:10 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-03-23 21:30 +0100
Re: domain names, was: hostname Michael Stone <mstone@debian.org> - 2018-03-24 02:30 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-24 02:10 +0100
Re: domain names, was: hostname Joe <joe@jretrading.com> - 2018-03-23 23:30 +0100
Re: domain names, was: hostname Forest <forest.feighner@gmail.com> - 2018-03-23 23:50 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-03-24 00:00 +0100
Re: domain names, was: hostname rhkramer@gmail.com - 2018-03-24 01:20 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-24 02:20 +0100
Re: domain names, was: hostname rhkramer@gmail.com - 2018-03-24 02:40 +0100
Re: domain names, was: hostname Dan Purgert <dan@djph.net> - 2018-03-22 23:30 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-23 03:50 +0100
Re: domain names, was: hostname Dan Purgert <dan@djph.net> - 2018-03-23 11:50 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-23 16:50 +0100
Re: domain names, was: hostname Greg Wooledge <wooledg@eeg.ccf.org> - 2018-03-23 17:00 +0100
Re: domain names, was: hostname Dan Purgert <dan@djph.net> - 2018-03-23 18:50 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-23 20:00 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-03-23 21:10 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-03-21 00:10 +0100
Re: domain names, was: hostname Richard Hector <richard@walnut.gen.nz> - 2018-03-21 04:40 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-03-21 18:30 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-03-21 21:10 +0100
Re: domain names, was: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-03-22 02:10 +0100
Re: domain names, was: hostname Brad Rogers <brad@fineby.me.uk> - 2018-02-19 18:30 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-02-19 20:00 +0100
Re: domain names, was: hostname Brad Rogers <brad@fineby.me.uk> - 2018-02-19 20:20 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-02-19 20:30 +0100
Re: domain names, was: hostname Joe <joe@jretrading.com> - 2018-02-19 21:40 +0100
Re: domain names, was: hostname Brian <ad44@cityscape.co.uk> - 2018-02-19 21:50 +0100
Re: domain names, was: hostname Roberto C. Sánchez <roberto@debian.org> - 2018-02-19 22:00 +0100
Re: domain names, was: hostname rhkramer@gmail.com - 2018-02-19 22:20 +0100
Re: domain names, was: hostname Reco <recoverym4n@gmail.com> - 2018-02-19 22:00 +0100
Re: hostname deloptes <deloptes@gmail.com> - 2018-02-15 19:10 +0100
Re: hostname Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-02-15 20:50 +0100
Re: hostname Gene Heskett <gheskett@shentel.net> - 2018-02-15 21:40 +0100
Re: hostname Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-02-15 23:30 +0100
Re: hostname Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-02-15 23:50 +0100
Re: hostname Gene Heskett <gheskett@shentel.net> - 2018-02-16 01:30 +0100
Re: hostname deloptes <deloptes@gmail.com> - 2018-02-16 07:50 +0100
Re: hostname Dan Purgert <dan@djph.net> - 2018-02-16 00:50 +0100
Re: hostname deloptes <deloptes@gmail.com> - 2018-02-15 22:20 +0100
Re: hostname Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-02-15 20:50 +0100
Re: hostname David Wright <deblis@lionunicorn.co.uk> - 2018-02-16 00:20 +0100
Re: hostname Dan Purgert <dan@djph.net> - 2018-02-16 01:00 +0100
hostname Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.COM> - 2018-02-18 09:10 +0100
Re: hostname Reco <recoverym4n@gmail.com> - 2018-02-18 09:50 +0100
csiph-web