On Fri, 2023-07-28 at 14:10 +0200, Patrick Dupre wrote:
I have the same /etc/hosts on 2 machines
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
In one case
/etc/hostname
Teucidide
If your computers always have the same numerical IP addresses, then you
can put them into your /etc/hosts files. Put both computer's details
in both computer's hosts file, using the same scheme as the localhost
lines (numerical IP address, hostname, alternative host names).
e.g.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.0.1 Teucidide
192.168.0.2 homere
(Using YOUR actual IP address, not just copying the example above)
That'll help with various networking things between your two computers.
I don't believe that sendmail will do anything beyond send mail to
itself unless you customise its configuration, and open ports through
your firewalls. If you don't need to send mail between your computers,
then you don't need to do anything about that.
In a prior message you mentioned this:
Jul 28 12:07:57 homere sendmail[76758]: My unqualified host name
(homere) unknown; sleeping for retry
It used to be that sendmail required a fully qualified domain name,
that is a hostname and domain name combination with at least one dot
somewhere in the middle. I didn't think that's still the case. I'm
wondering if it's misusing the term "unqualified hostname" (hostname is
not the same thing as a full domain name), but if it's the case it
still needs a FQDN, then add such info to your hosts file.
e.g. Expand on my previous example something like this:
192.168.0.1 Teucidide Teucidide.localdomain
192.168.0.2 homere homere.localdomain
--
NB: All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the list.
The following system info data is generated fresh for each post:
uname -rsvp
Linux 6.2.15-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 11 16:51:53
UTC 2023 x86_64