Answer the question
In order to leave comments, you need to log in
How to disable sending letters in exim4 as root?
Good afternoon. I connected mail to the yandex site, installed exim. The bottom line is, I want letters to be sent from [email protected], but for some reason they are sent only from [email protected] I need it from root, so in the error log:
2020-05-12 12:30:28 1jYU3I-0006Ni-8g <= [email protected] U=root P=local S=401
2020-05-12 12:30:28 1jYU3I-0006Ni-8g ** [email protected] R=smarthost T=remote_smtp_smarthost X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 DN="CN=smtp.yandex.ru,O=Yandex LLC,OU=ITO,L=Moscow,ST=Russian Federation,C=RU": SMTP error from remote mail server after MAIL FROM:<[email protected]> SIZE=1435 [email protected]: host smtp.yandex.ru [2a02:6b8::19d]: 553 5.7.1 Sender address rejected: not owned by auth user.
2020-05-12 12:30:28 1jYU3I-0006Nn-ER <= <> R=1jYU3I-0006Ni-8g U=Debian-exim P=local S=1439
2020-05-12 12:30:28 1jYU3I-0006Ni-8g Completed
2020-05-12 12:30:28 1jYU3I-0006Nn-ER ** [email protected] R=smarthost T=remote_smtp_smarthost X=TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128 DN="CN=smtp.yandex.ru,O=Yandex LLC,OU=ITO,L=Moscow,ST=Russian Federation,C=RU": SMTP error from remote mail server after MAIL FROM:<> SIZE=2497: host smtp.yandex.ru [2a02:6b8::19d]: 553 5.7.1 Sender address rejected: not owned by auth user.
2020-05-12 12:30:28 1jYU3I-0006Nn-ER Frozen (delivery error message)
Answer the question
In order to leave comments, you need to log in
I solved the problem myself.
sudo nano /etc/email-addresses we
register the user - root: your mail.
Please close the topic.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question