On 8/11/22 2:09 PM, Jerry James wrote:
On Thu, Aug 11, 2022 at 12:41 PM home user <mattisonw@xxxxxxxxxxx> wrote:
WARNING: local host name ([private]) is not qualified; see cf/README:
WHO AM I?
/etc/aliases: 77 aliases, longest 10 bytes, 778 bytes total
That message is from sendmail, not setup. On Fedora, if you install
the sendmail-doc package, then cf/README is installed as
/usr/share/doc/sendmail/README.cf; see line 372 of
https://src.fedoraproject.org/rpms/sendmail/blob/rawhide/f/sendmail.spec.
Thank-you, Jerry.
I installed sendmail-doc and read the "WHO AM I" section of README.cf.
It says gethostname is called to get the host name, then the result of
that is sent to "gethostbyname" to get the fully qualified domain name.
My C/C++ skills are very rusty and out-of-date, but I succeeded in
writing a C++ program to see what's going on. It took a while! The
hostname returned by gethostname is correct. But the h_name returned by
gethostbyname is the same as what was returned by gethostname. It was
not a fully qualified domain name.
I'm no sys.admin. I do not understand what the "WHO AM I" section of
README.cf is saying to do in this situation. HELP!
By the way, I was able to use mailx to send a test message from me (a
regular user) to root, and root received the message properly. Also, I
only use mailx for messages from rkhunter and gsmartcontrol.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue