Re: alpine

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allegedly, on or about 20 August 2016, Patrick Dupre sent:
> On a fresh installation fc24, alpine complains with:
> [Incomplete maildomain "myserveur"]
> I found:
> http://phr3ak.z80.hu/2013/08/08/error-incomplete-maildomain-pine-alpine/
> recommending to add myserveur in the /etc/hosts file.
> 
> I did so and restarted sendmail, but I still get the same error.
> 
> I am surprise because, on a machine updated to fc24, I do not have
> this error with or without altering the file /etc/hosts.

Did you do what it actually said on that link?  (Put a fully-qualified
domain name into the hosts file - that means one with at least one dot
in it.)  If you just put a hostname, that is probably what the problem
is (I haven't had that kind of issue for years, but I have had it).

The hosts file is constructed with a lines of data starting with a
numerical IP address, followed by domain names or hostnames.
Traditionally, it's the fully-qualified domain name, followed by a list
of any short hostnames that you also want to use (that must all be on
the same line).

e.g. Like this:

127.0.0.1     localhost.localdomain  localhost
192.168.1.1   mail.example.com   mail  smtp  pop3  imap

Anything that wants to to find the IP for any of those names will find
it.  But going in the reverse direction, anything that wants to find the
name for an IP address will be told the *first* one.

Some mail programs require that both look-ups have the same answer.
Hence why the fully-qualified domain name (FQDN) goes first.  If you
have more than one FQDN, then put the one it needs first.

It may have worked on your other computer, without playing with the
hosts file, because name resolution was done in some other way (DNS,
ZeroConf, etc.).

For what it's worth, avoid putting hostnames on the localhost line.
While that's fine for things running on the same machine, it's not for
communicating between computers.  Put individual machine addresses on
the line with an IP that connects to your LAN (as per my example).

If your LAN uses DHCP and doles out different IPs each time (or
potentially can do so), you need to change that behaviour so that the
machine always has the same address.  Either configure your DHCP server
to dole out fixed IPs, or manually set the addresses in each computer,
and pick addresses that won't conflict with the DHCP server (or disable
the DHCP server if you're not actually making use of it).

In my LAN, I've set the DHCP server to dole out only a limited range of
IPs within a 192.168.1.0 subnet (e.g. it can give out anything with the
range of 192.168.1.100 to 192.168.1.200) to any device that happens to
connect to my LAN.  The rest it won't touch, and I can use for manually
assigning addresses.

-- 
[tim@localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64

Boilerplate:  All mail to my mailbox is automatically deleted, there is
no point trying to privately email me, I only get to see the messages
posted to the mailing list.

Damn, I didn't mean to press *that* button!


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux