R
R
Ramil Aleshkin2018-04-07 16:43:51
PHP
Ramil Aleshkin, 2018-04-07 16:43:51

Why are emails not sent via php mail() (I use msmtp)?

Hello!
There is a server on Ubuntu 16.04 with nginx and php 7.0 on it. on board.
I set up sending letters via Yandex SMTP, using msmtp MTA, logs are written, letters go away, but only from my PC.
There is a user without sudo rights, he cannot send letters, there is an error in the logs.
Moreover, if you connect via the sudo user and then change the user via su username, the letters again leave normally.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question