Displaying 3 results from an estimated 3 matches for "host_ip_here".
2017 Oct 02
3
sendmail
On Mon, Oct 2, 2017 at 5:29 PM, Stephen John Smoogen <smooge at gmail.com> wrote:
> On 2 October 2017 at 17:21, Larry Martell <larry.martell at gmail.com> 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
2017 Oct 02
0
sendmail
...sty
here. The item that caught my attention was the following:
------
I figured out a way myself, although not the most elegant solution. I
configured the sendmail inside my docker so as to Relay the request
via host's ip. Add the following line to the file "/etc/mail/access
Connect:<host_ip_here> RELAY
Also, in the host as well as docker, comment out the following line in
the file "/etc/mail/sendmail.mc" by prefixing it with "dnl #" and
suffixing with "dnl".
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
I passed the host ip as an enviro...
2017 Oct 02
1
sendmail
...y attention was the following:
>
> ------
> I figured out a way myself, although not the most elegant solution. I
> configured the sendmail inside my docker so as to Relay the request
> via host's ip. Add the following line to the file "/etc/mail/access
>
> Connect:<host_ip_here> RELAY
> Also, in the host as well as docker, comment out the following line in
> the file "/etc/mail/sendmail.mc" by prefixing it with "dnl #" and
> suffixing with "dnl".
>
> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
> I pa...