Re: sendmail

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



On Mon, Oct 2, 2017 at 5:29 PM, Stephen John Smoogen <smooge@xxxxxxxxx> wrote:
> On 2 October 2017 at 17:21, 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?
>
> Does this help any?
>
> https://stackoverflow.com/questions/26215021/configure-sendmail-inside-a-docker-container

That post is a bit overwhelming. It has 20+ answers and all are different.

I have another container running debian buster and in there I do"

yes yes | sendmailconfig

and then I can send mail. But I don't see sendmailconfig in CentOS7.
Is there an equivalent?
_______________________________________________
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