Comments on: How to Install Sendmail on Fedora 32/31/30 https://tecadmin.net/install-sendmail-on-fedora/ How to guide for System Administrator's and Developers Fri, 07 Aug 2020 16:04:39 +0000 hourly 1 https://wordpress.org/?v=6.1.1 By: Aaron Sloman https://tecadmin.net/install-sendmail-on-fedora/#comment-53072 Fri, 07 Aug 2020 16:04:39 +0000 https://tecadmin.net/?p=18006#comment-53072 Thank you very much for this tutorial. In the past I’ve struggled to get sendmail working on new machines, and sometimes after an OS upgrade. This tutorial could have saved me a lot of wasted time. However there is a small item that could be added. My first attempt to use sendmail after following your instructions produced what seemed to be a ‘hung’ sendmail process, with this message:

‘sendmail.service: Can’t open PID file /run/sendmail.pid (yet?) after start: Operation not permitted’

After a little research I found the solution here: https://linuxconfig.org/sendmail-unqualified-hostname-unknown-sleeping-for-retry-unqualified-hostname

i.e.
sendmail is searching for a FQDN ( fully qualified domain name ). In our case the host name is “debian” and that is not a FQDN. To resolve this problem change /etc/hosts: FROM:

127.0.0.1 localhost
127.0.1.1 debian

TO:

127.0.0.1 localhost.localdomain localhost debian
127.0.1.1 debian

I suggest that your tutorial would be even more valuable to more people if you included that tip (replacing ‘debian’ with the hostname of the machine being used).

Thanks
Aaron Sloman

]]>