PDA

Показать полную графическую версию : Правильная настройка DNS


Patjomkin
23-12-2011, 01:32
Доброе время суток.

Имеется всего 1 статический ip. За шлюзом в локалке находятся почтовик Exchange и т.п. Как правильно настроить dns (ptr, spf)? Пока есть 1 внешний dns сервер ns1.freedns.ws.


http://i31.fastpic.ru/big/2011/1222/8a/571d4eb5fc78992c102ae0914e803f8a.jpg

Провайдер у себя прописал ptr запись для моего единственного ip равным mail.mydomain.ru (или всё-таки нужно mydomain.ru?)
Не отправляется почта на gmail.com и в некоторые организации. На mail.ru и yandex.ru доставляются.
При попытке отправить на gmail.com приходит:
mx.google.com выдал это сообщение об ошибке:
[80.249.80.40] The IP you're using to send mail is not authorized to send email directly to our servers. Please use the SMTP relay at your service provider instead. Learn more at http://mail.google.com/support/bin/answer.py?answer=10336 r60si4340326weq.91
mymail@gmail.com
mx.google.com #550-5.7.1 [80.249.80.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/answer.py?answer=10336 r60si4340326weq.91 ##

В логах 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/answer.py?answer=10336 f43si5216874wed.69,
,>,QUIT,
,-,,Remote


Т.е.: IP-адрес отправителя не совпадает с его доменом.

Как я понял, у меня в dns где то ошибка. Подскажите, пожалуйста, где?

exo
23-12-2011, 03:56
ошибки нет.
https://groups.google.com/a/googleproductforums.com/forum/#!category-topic/gmail-ru/????????-?-????????/8Q9fdmm9BKM




© OSzone.net 2001-2012