Правильная настройка DNS
Доброе время суток.
Имеется всего 1 статический ip. За шлюзом в локалке находятся почтовик Exchange и т.п. Как правильно настроить dns (ptr, spf)? Пока есть 1 внешний dns сервер ns1.freedns.ws.
Провайдер у себя прописал ptr запись для моего единственного ip равным mail.mydomain.ru (или всё-таки нужно mydomain.ru?)
Не отправляется почта на gmail.com и в некоторые организации. На mail.ru и yandex.ru доставляются.
При попытке отправить на gmail.com приходит:
mx.google.com выдал это сообщение об ошибке:
В логах exchange:
Цитата:
,*,,attempting to connect
,+,,
,<,220 mx.google.com ESMTP f43si5216874wed.69,
,>,EHLO mail.mydomain.ru,
,<,"250-mx.google.com at your service, [x.x.x.x]",
,<,250-SIZE 35882577,
,<,250-8BITMIME,
,<,250-STARTTLS,
,<,250 ENHANCEDSTATUSCODES,
,>,STARTTLS,
,<,220 2.0.0 Ready to start TLS,
,*,,Sending certificate
,*,"CN=mail.mydomain.ru, OU=no, O=MyFirm, L=City, S=City, C=RU",Certificate subject
,*,"CN=mydomain-DC-CA, DC=mydomain, DC=local",Certificate issuer name
,*,1C07C7DF000000000003,Certificate serial number
,*,E2411F566932229804856042A52DF3BBE863D81C,Certificate thumbprint
,*,mail.mydomain.ru;mail.mydomain.local;autodiscover.mydomain.local;autodiscover.mydomain.ru,Certifi cate alternate names
,*,,Received certificate
,*,3E7C63095116093101EC72FAE7AB99C48E77FA5B,Certificate thumbprint
,>,EHLO mail.mydomain.ru,
,<,"250-mx.google.com at your service, [x.x.x.x]",
,<,250-SIZE 35882577,
,<,250-8BITMIME,
,<,250 ENHANCEDSTATUSCODES,
,*,16,sending message
,>,MAIL FROM:<mymail@mydomain.ru> SIZE=4267,
,<,250 2.1.0 OK f43si5216874wed.69,
,>,RCPT TO:<mymail@gmail.com>,
,<,250 2.1.5 OK f43si5216874wed.69,
,>,DATA,
,<,354 Go ahead f43si5216874wed.69,
,<,550-5.7.1 [80.249.81.40] The IP you're using to send mail is not authorized to,
,<,550-5.7.1 send email directly to our servers. Please use the SMTP relay at your,
,<,550-5.7.1 service provider instead. Learn more at ,
,<,550 5.7.1 http://mail.google.com/support/bin/a...y?answer=10336 f43si5216874wed.69,
,>,QUIT,
,-,,Remote
|
Т.е.: IP-адрес отправителя не совпадает с его доменом.
Как я понял, у меня в dns где то ошибка. Подскажите, пожалуйста, где?
|