Порт 587 открыт с сервера наружу. Проверил с сервера через telnet В файл настроек почты /home/bitrix/.msmtprc добавил строку tls_starttls on Ребутнул сервер даже. Не помогло ((
Добрый день! У меня такая же проблема, получилось ли у кого-нибудь решить проблему с 550 Message was not accepted -- it contains invalid headers. More specially, ?From:? header must match user you are sending mail from
ошибка вида smtpstatus=550 smtpmsg='550 Message was not accepted -- it contains invalid headers. More specially, ?From:? header must match user you are sending mail from. See http://help.mail.ru/mail-help/mailer/popsmtp for details.' errormsg='the server did not accept the mail' exitcode=EX_UNAVAILABLE
вылечилось добавлением параметра -f в настройках главного модуля