Привет всем.
У меня почта к локалним пользователям отправляется и они получают. Здесь все нармально.
А вот вне локалки она не работает.
Вот что происходит когда я отправляю скажем на yahoo.com
~# tail -f /var/log/mail.info
Oct 23 22:31:25 Fiber-Net postfix/smtpd[9240]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 23 22:31:25 Fiber-Net postfix/smtpd[9240]: connect from unknown[192.168.0.2]
Oct 23 22:31:25 Fiber-Net postfix/smtpd[9240]: 8E67949FDF: client=unknown[192.168.0.2]
Oct 23 22:31:26 Fiber-Net postfix/cleanup[9243]: 8E67949FDF: message-id=<4900B5C0.5040309@domain.com>
Oct 23 22:31:26 Fiber-Net postfix/qmgr[9159]: 8E67949FDF: from=<user@domain.com>, size=1979, nrcpt=1 (queue active)
Oct 23 22:31:26 Fiber-Net postfix/smtpd[9240]: disconnect from unknown[192.168.0.2]
Oct 23 22:31:56 Fiber-Net postfix/smtp[9163]: connect to f.mx.mail.yahoo.com[68.142.202.247]: Connection timed out (port 25)
Oct 23 22:32:26 Fiber-Net postfix/smtp[9163]: connect to c.mx.mail.yahoo.com[216.39.53.3]: Connection timed out (port 25)
Oct 23 22:32:56 Fiber-Net postfix/smtp[9163]: connect to e.mx.mail.yahoo.com[216.39.53.1]: Connection timed out (port 25)
Oct 23 22:33:26 Fiber-Net postfix/smtp[9163]: connect to b.mx.mail.yahoo.com[66.196.97.250]: Connection timed out (port 25)
Oct 23 22:33:56 Fiber-Net postfix/smtp[9163]: connect to a.mx.mail.yahoo.com[209.191.118.103]: Connection timed out (port 25)
Oct 23 22:33:56 Fiber-Net postfix/smtp[9163]: 8E67949FDF: to=<user@yahoo.com>, relay=none, delay=151, delays=0.87/0/150/0, dsn=4.4.1, status=deferred (connect to a.mx.mail.yahoo.com[209.191.118.103]: Connection timed out)
Привет всем.
У меня почта к локалним пользователям отправляется и они получают. Здесь все нармально.
А вот вне локалки она не работает.
Вот что происходит когда я отправляю скажем на yahoo.com
~# tail -f /var/log/mail.info
Oct 23 22:31:25 Fiber-Net postfix/smtpd[9240]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 23 22:31:25 Fiber-Net postfix/smtpd[9240]: connect from unknown[192.168.0.2]
Oct 23 22:31:25 Fiber-Net postfix/smtpd[9240]: 8E67949FDF: client=unknown[192.168.0.2]
Oct 23 22:31:26 Fiber-Net postfix/cleanup[9243]: 8E67949FDF: message-id=<4900B5C0.5040309@domain.com>
Oct 23 22:31:26 Fiber-Net postfix/qmgr[9159]: 8E67949FDF: from=<user@domain.com>, size=1979, nrcpt=1 (queue active)
Oct 23 22:31:26 Fiber-Net postfix/smtpd[9240]: disconnect from unknown[192.168.0.2]
Oct 23 22:31:56 Fiber-Net postfix/smtp[9163]: connect to f.mx.mail.yahoo.com[68.142.202.247]: Connection timed out (port 25)
Oct 23 22:32:26 Fiber-Net postfix/smtp[9163]: connect to c.mx.mail.yahoo.com[216.39.53.3]: Connection timed out (port 25)
Oct 23 22:32:56 Fiber-Net postfix/smtp[9163]: connect to e.mx.mail.yahoo.com[216.39.53.1]: Connection timed out (port 25)
Oct 23 22:33:26 Fiber-Net postfix/smtp[9163]: connect to b.mx.mail.yahoo.com[66.196.97.250]: Connection timed out (port 25)
Oct 23 22:33:56 Fiber-Net postfix/smtp[9163]: connect to a.mx.mail.yahoo.com[209.191.118.103]: Connection timed out (port 25)
Oct 23 22:33:56 Fiber-Net postfix/smtp[9163]: 8E67949FDF: to=<user@yahoo.com>, relay=none, delay=151, delays=0.87/0/150/0, dsn=4.4.1, status=deferred (connect to a.mx.mail.yahoo.com[209.191.118.103]: Connection timed out)
[quote]
У тебя нету relay-сервера." relay=none"
[quote]
Как я понимаю relay-сервер это тот сервер: кагда почта приходит на мой сервер он отправляет на relay-сервер и тот решает что делать с почтой.
Но мне не нужно relay-сервера, мне нужно чтобы мой почтовый сервер решал что делать с почтой и сам отправил, ну скажем на yahoo.com
Oct 23 22:31:56 Fiber-Net postfix/smtp[9163]: connect to f.mx.mail.yahoo.com[68.142.202.247]: Connection timed out (port 25)
Oct 23 22:32:26 Fiber-Net postfix/smtp[9163]: connect to c.mx.mail.yahoo.com[216.39.53.3]: Connection timed out (port 25)
Oct 23 22:32:56 Fiber-Net postfix/smtp[9163]: connect to e.mx.mail.yahoo.com[216.39.53.1]: Connection timed out (port 25)
...
В чем может быть проблема?
как буд-то нет связи.. а если с этого же сервера (где postfix) попробовать telnet 68.142.202.247 25, он соединится?
если нет надо искать проблема не в постфиксе, а в сети - кто блокирует 25/tcp (как минимум)
~# tail -f /var/log/mail.info
Oct 23 22:31:25 Fiber-Net postfix/smtpd[9240]: warning: dict_nis_init: NIS domain name not set - NIS lookups disabled
Oct 23 22:31:25 Fiber-Net postfix/smtpd[9240]: connect from unknown[192.168.0.2]
Как я понимаю relay-сервер это тот сервер: кагда почта приходит на мой сервер он отправляет на relay-сервер и тот решает что делать с почтой.
Но мне не нужно relay-сервера, мне нужно чтобы мой почтовый сервер решал что делать с почтой и сам отправил, ну скажем на yahoo.com
relay-сервер служит для отправки писем на внешние почтовые сервера.
Как правило в качестве relay-сервера используют сервер провайдера. У меня например relay.kirov.ru