Re: puzzling message/suggestion during weekly patches.

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

 



On 8/11/22 20:42, home user wrote:
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.

It's just a warning. If everything you use is working, then don't worry about it.
_______________________________________________
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



[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