ssmtp + hotmail
Добавлено: 2022-04-03 8:01:47
Всем доброе время.
FreeBSD 12-1
ssmtp настроен на hotmail ящик:
ssmtp.conf
Если писать через комманду mail, то почта доходит.
revaliases
Если же почта идет на рута, получаю такую ошибку.
Apr 3 03:19:55 sSMTP[35871]: Creating SSL connection to host
Apr 3 03:19:55 sSMTP[35871]: SSL connection using ECDHE-RSA-AES256-GCM-SHA384
Apr 3 03:19:56 sSMTP[35871]: 554 5.2.0 STOREDRV.Submission.Exception:InvalidRecipientsException; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Recipient 'root' is not resolved. All recipients must be resolved before a message can be submitted. InvalidRecipientsException: Recipient 'root' is not resolved. All recipients must be resolved before a message can be submitted.[EndDiagnosticData] [Hostname=AM9PR10MB4516.EURPRD10.PROD.OUTLOOK.COM]
Т.е. если я правильно понимаю, в поле To: или типа того, стоит root, а hotmail это не нравится. Реально ли это вылечить? Есть какие-то мысли?
FreeBSD 12-1
ssmtp настроен на hotmail ящик:
ssmtp.conf
Код: Выделить всё
root=test.mailbox@hotmail.com
mailhub=smtp.office365.com:587
rewriteDomain=hotmail.com
hostname=hotmail.com
# Set this to never rewrite the "From:" line (unless not given) and to
# use that address in the "from line" of the envelope.
FromLineOverride=YES
UseSTARTTLS=YES
AuthUser=root=test.mailbox@hotmail.com
AuthPass=password2022
#
revaliases
Код: Выделить всё
root:test.mailbox:smtp.office365.com:587
Apr 3 03:19:55 sSMTP[35871]: Creating SSL connection to host
Apr 3 03:19:55 sSMTP[35871]: SSL connection using ECDHE-RSA-AES256-GCM-SHA384
Apr 3 03:19:56 sSMTP[35871]: 554 5.2.0 STOREDRV.Submission.Exception:InvalidRecipientsException; Failed to process message due to a permanent exception with message [BeginDiagnosticData]Recipient 'root' is not resolved. All recipients must be resolved before a message can be submitted. InvalidRecipientsException: Recipient 'root' is not resolved. All recipients must be resolved before a message can be submitted.[EndDiagnosticData] [Hostname=AM9PR10MB4516.EURPRD10.PROD.OUTLOOK.COM]
Т.е. если я правильно понимаю, в поле To: или типа того, стоит root, а hotmail это не нравится. Реально ли это вылечить? Есть какие-то мысли?