Answer the question
In order to leave comments, you need to log in
Why isn't the result of cron being sent to EXIM?
The problem of mail support was solved using pdd.yandex.ru.
But to send mail from the server, I had to install exim4 and configure it in smarthost mode
dc_eximconfig_configtype='smarthost'
dc_other_hostnames='domain.ru'
dc_local_interfaces='127.0.0.1 ; 192.168.122.10'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp.yandex.ru::587'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
echo "foo" | mail -s test1 report
2014-08-25 19:15:41 1XLvzh-0000Pz-UE <= [email protected] U=user P=local S=474
2014-08-25 19:15:43 1XLvzh-0000Pz-UE => [email protected] R=smarthost T=remote_smtp_smarthost H=smtp.yandex.ru [213.180.204.38] X=TLS1.0:RSA_AES_256_CBC_SHA1:32 DN="C=RU,O=Yandex LLC,OU=ITO,L=Moscow,ST=Russian Federation,CN=smtp.yandex.ru,[email protected]"
2014-08-25 19:15:43 1XLvzh-0000Pz-UE Completed
2014-08-25 19:14:03 1XLvy6-0000Pd-DZ <= [email protected] U=user P=local S=816
2014-08-25 19:14:03 1XLvy6-0000Pd-DZ ** [email protected] R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after end of data: host smtp.yandex.ru [213.180.193.38]: 550 5.1.7 Bad sender address syntax vyFn6lDRZu-E2mGVNEa
2014-08-25 19:14:03 1XLvy7-0000Pg-5u <= <> R=1XLvy6-0000Pd-DZ U=Debian-exim P=local S=1553
2014-08-25 19:14:03 1XLvy6-0000Pd-DZ Completed
2014-08-25 19:14:03 1XLvy7-0000Pg-5u ** [email protected] R=smarthost T=remote_smtp_smarthost: SMTP error from remote mail server after MAIL FROM:<> SIZE=2615: host smtp.yandex.ru [93.158.134.38]: 553 5.7.1 Sender address rejected: not owned by auth user.
2014-08-25 19:14:03 1XLvy7-0000Pg-5u Frozen (delivery error message)
Answer the question
In order to leave comments, you need to log in
Now I can sleep peacefully, the problem is solved
dc_eximconfig_configtype='internet'
dc_readhost='domain.ru'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question