Answer the question
In order to leave comments, you need to log in
How to check if sending emails via docker - exim works?
Docker is installed on the server.
CMS bitrix.
When I try to send a letter in the event table, I see SUCCESS_EXEC=Y
So everything seems to be ok, but letters do not come to any mail.
launched the console: echo "Testing" | mail -s Test [email protected]
in response: -bash: mail: command not found
climbed to the server, everything is configured there via docker (I generally zeroed in it, I encountered it for the first time), I see that there is an exim folder in the docker folder
Here's how to test sending? how to check status of exim?
perhaps it needs to be run separately and it is disabled or not configured
in the run.sh file, the contents are as follows:
docker stop my-exim
docker rm my-exim
docker run --name my-exim \
--detach \
--restart always \
--net my-net \
-e TZ=Europe/Moscow \
--volume ~/docker/etc/exim/exim.conf:/etc/exim/exim.conf \
extteam/exim:fedora33
58cdd9136535 extteam/exim:fedora33 "exim -bd -v -q30m" 5 months ago Up 4 days 25/tcp my-exim
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question