How is the docker image configured to send email by default?

How is the docker image configured to send email by default? As in, when the admin does not configure any of the smtp or other email related Nextcloud settings.

I did not find anything to answer my question when searching the github repo, or these forums.

When exec’d into a running container, php -i looks like php is not configured to do anything for email. sendmail does not exist. Neither does postfix.

I’m guessing that the image simply does not send email at all by default. But I’d like official confirmation if possible.

Thanks!

Hi,

The NextCloudPi docker container comes with postfix installed. I tested the PHP email method, but IIRC you have to publish port 25 on the container.

Ah, well, I was referring to https://github.com/nextcloud/docker :slight_smile:

Is the NextCloudPi docker containter able to send emails from within Nextcloud?
When I go to settings->Basic settings-> Email server and use the sendmail option and try to send a test email it says Email sent however there is no email received at the specified address of the administrator.
Are there more configurations needed to be able to send mail with sendmail ?