Re: sendmail

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



--On Monday, October 02, 2017 6:21 PM -0400 Larry Martell <larry.martell@xxxxxxxxx> wrote:

I an running CentOS7 in a docker container. I need to send email from
that container so I installed sendmail and then I run:

m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf` and when I try and
send mail it fails with:

larry.martll@xxxxxxxxx... Connecting to [127.0.0.1] via relay...
larry.martll@xxxxxxxxx... Deferred: Connection refused by [127.0.0.1]

Anyone know how I can configure sendmail so that I can send mail?

I don't know about docker, but in regular CentOS, you type make in /etc/mail to rebuild all configuration binary files (including sendmail.cf) from configuration sources, and then you need to start the sendmail service with systemctl. Enable the service if you want it to start at boot time. _______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux