Gentoo Archives: gentoo-user

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Sendmail confused by network change
Date: Wed, 20 Sep 2017 17:03:02
Message-Id: 1539257.zQVCcqk6D4@eve
In Reply to: Re: [gentoo-user] Sendmail confused by network change by Bas Zoutendijk
1 On Wednesday, September 20, 2017 6:50:54 PM CEST Bas Zoutendijk wrote:
2 > Dear John,
3 >
4 > On Wed 20 Sep 2017 at 07:05:11 -0400, John Covici wrote:
5 > > Restarting sendmail seems fine with me, if you want to have something
6 > > that works everywhere, why not get a domain name from ddns or
7 > > somewhere and use a full fqdn all the time -- you can put your home
8 > > machine on another host in that domain and you will be good to go.
9 >
10 > Thank you for this suggestion. I added ‘.localdomain’ to my host name
11 > and now Sendmail uses this domain name on all networks. Cron mail
12 > arrives again at home.
13
14 Glad it works now.
15
16 > I did not want to try a ‘real’ domain name, as this could make the
17 > system accessible from outside the local network, if I understand
18 > correctly.
19
20 To say it bluntly, you don't :)
21
22 > Right now it is hidden behind the router and only has a
23 > local IP address. I would like to keep it that way, because then I do
24 > not have to worry about network security settings. Nevertheless you led
25 > me to a solution.
26
27 This is how it works.
28
29 To clarify:
30 The IP-address determines how it is accessible. If the IP is not accessible
31 from the rest of the world, then you don't have to worry too much about
32 securing your mailserver.
33
34 The domain name is only an address-book entry. Unless it is fully entered into
35 the public one, noone will see the IP you are using. And as mentioned above,
36 even if they can, the IP is sitting behind a router and is most likely in a
37 private range.
38
39 --
40 Joost

Replies

Subject Author
Re: [gentoo-user] Sendmail confused by network change Bas Zoutendijk <slzoutendijk@×××××.com>