[CentOS] [Off topic] sending mail from Comcast was: Sendmail not working

Sun Apr 19 18:35:57 UTC 2020
Jonathan Billings <billings at negate.org>

On Apr 19, 2020, at 14:25, S.Bob <sbob at quadratum-braccas.com> wrote:
> 
> I followed this guide:
> 
> 
> https://pepipost.com/tutorials/install-sendmail-server-centos-7/
> 
> 
> now I get this:
> 
> 
> # echo "Subject: sendmail test4" | sendmail kevink at psalm19pix.com
> [root at kdb-bugs auth]# echo "Subject: sendmail test4" | sendmail -v kevink at psalm19pix.com
> kevink at psalm19pix.com... Connecting to [127.0.0.1] via relay...
> kevink at psalm19pix.com... Deferred: Connection reset by [127.0.0.1]
> Closing connection to [127.0.0.1]

Looks like the sendmail service isn’t running. Maybe it not starting because of a syntax errors?

> Thoughts?

I’d probably not use send mail in the first place. Postfix is the default, recommended MTA in CentOS 7, and its less likely to have mysterious syntax errors and easier to understand configuration syntax.  (Sendmail’s config language is so complex that most people just use M4 and “compile” it into the sendmail.cf)



--
Jonathan Billings <billings at negate.org>