On 2023-04-17 2:43 p.m., Neil Aggarwal wrote:
Does (privileged) "sendmail -bv root" return your admin address as expected?
That gives me: neil@propfinancing.com... deliverable: mailer esmtp, host propfinancing.com., user neil@propfinancing.com which seems right.
Maybe I am not testing it correctly. I tried doing this: mail root
Anything relevant in /var/log/maillog?
I think you found it: Apr 17 15:41:29 www sendmail[35875]: 33HKfTYI035875: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30111, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]
Do I need to configure sendmail to listen on the loopback interface? I thought it would be enabled by default.
Sounds like the sendmail daemon isn't started.
What does "systemctl status sendmail" show?
If it's disabled/inactive, you can run "systemctl enable sendmail --now"
and it should start up and process the queue, while also enabling
sendmail for auto-start.
Alternatively "systemctl start sendmail" will start without changing the
default behaviour on reboot.
Nels Lindquist
----