Mail archive


From: Yordan Ivanov <>
Date: Wed, 22 Mar 2017 08:49:16 +0200

Hi guys,

I am sure my question has been asked many times before, but I did not
found any information about it.
So I am trying to send emails from dokerized Alpine 3.4. The host is
Ubuntu 16.04 and base image is php:7.1-fpm-alpine

What I found is sendmail is preinstalled so I tried to execute:

echo "TEST" | sendmail -v

and I got

sendmail: can't connect to remote host ( Connection refused

At best I should be able to send mails using remote SMTP server (with
dynamic configuration passed prom php), but any advice would be very

Kind regards,
Yordan Ivanov

Received on Wed Mar 22 2017 - 08:49:16 UTC