A
A
anton222014-06-14 17:16:23
Yandex
anton22, 2014-06-14 17:16:23

Do not receive corporate mail using postfix and mail for the yandex.ru domain?

When sending mail from the site to your domain accounts of the [email protected] format, letters do not reach. But for any other - it's great.
Here is the error log:
Jun 14 13:40:10 host1 postfix/pickup[5828]: 4F0F8180B37: uid=501 from=
Jun 14 13:40:10 host1 postfix/cleanup[5838]: 4F0F8180B37: message-id=<20140614134010.4 [email protected]>
Jun 14 13:40:10 host1 postfix/qmgr[5829]: 4F0F8180B37: from=, size=1376, nrcpt=1 (queue active)
Jun 14 13:40:10 host1 postfix/pickup [5828]: 522CF180B36: uid=501 from=
Jun 14 13:40:10 host1 postfix/cleanup[5838]: 522CF180B36: message-id=<[email protected]>
Jun 14 13:40:10 host1 postfix/error[5831]: 4F0F8180B37: to=, relay=none, delay=0.07, delays=0.06/0/0/0.01, dsn=4.3.0, status=deferred (mail transport unavailable)
Jun 14 13:40:10 host1 postfix/qmgr[5829]: 522CF180B36: from=, size=1378, nrcpt=1 (queue active)
Jun 14 13:40:10 host1 postfix/smtp[5841]: connect to mx.yandex.ru[2a02:6b8::89]:25: Network is unreachable
Jun 14 13:40:11 host1 postfix/smtp[5841]: 522CF180B36: to=, relay=mx.yandex.ru[213.180.204.89 ]:25, delay=0.91, delays=0.02/0.02/0.19/0.68, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued on mxfront9j.mail.yandex.net as g1SX3F0RkH-eBsi3E5G)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
anton22, 2014-06-14
@anton22

Add the following lines to /etc/postfix/main.cf:
relayhost =
relay_domains = mydomain.ru
myhostname = host.mydomain.ru
Add to the transport file located in /etc/postfix/:
mydomain.ru smtp:mx.yandex.ru
Reload postfix)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question