Всем привет!
Стоит задача отсылать почту сендмайлом с сервера #1 через smtp-сервер #2. Адрес сервера #1 - локальный. Т.е. он не резолвится из интернета.
Внутри сети почта ходит, но при попытке отправить наружу выходит ошибка.
При попытке отправить почту не сендмайлом (любым почтовым клиентом) она нормально отправляется.
========= письмо от MAILER-DAEMON================
Hi. This is the qmail-send program at relay.proton-sss.ru.
I tried to deliver a bounce message to this address, but the bounce bounced!
<root@dserver.proton-sss.ru>:
Connected to 192.168.147.204 but sender was rejected.
Remote host said: 550 5.0.0 Access denied
--- Below this line is the original bounce.
Return-Path: <>
Received: (qmail 21369 invoked for bounce); 19 Dec 2003 11:20:19 -0000
Date: 19 Dec 2003 11:20:19 -0000
From: MAILER-DAEMON@relay.proton-sss.ru
To: root@dserver.proton-sss.ru
Subject: failure notice
Hi. This is the qmail-send program at relay.proton-sss.ru.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
<a_bochkov@mail.ru>:
194.67.23.20 does not like recipient.
Remote host said: 550-Verification failed for <root@dserver.proton-sss.ru> Unrouteable address
550 non-local sender verification failed
Giving up on 194.67.23.20.
--- Below this line is a copy of the message.
Return-Path: <root@dserver.proton-sss.ru>
Received: (qmail 21346 invoked by uid 1004); 19 Dec 2003 11:20:18 -0000
Received: from root@dserver.proton-sss.ru by server with qmail-scanner-1.00 (. Clean. Processed in 0.051488 secs); 19 Dec 2003 11:20:18 -0000
Received: from dserver.proton-sss.ru (0@192.168.147.204)
by ftp.proton-sss.ru with SMTP; 19 Dec 2003 11:20:18 -0000
Received: from dserver.proton-sss.ru (localhost.localdomain [127.0.0.1])
by dserver.proton-sss.ru (8.12.10/8.12.10) with ESMTP id hBJEGoxF004476
for <a_bochkov@mail.ru>; Fri, 19 Dec 2003 14:16:50 GMT
Received: (from root@localhost)
by dserver.proton-sss.ru (8.12.10/8.12.10/Submit) id hBJEGouT004475
for a_bochkov@mail.ru; Fri, 19 Dec 2003 14:16:50 GMT
From: root@dserver.proton-sss.ru
Date: Fri, 19 Dec 2003 14:16:50 +0000
To: a_bochkov@mail.ru
Subject: asd
Message-ID: <3FE30852.mail3GA14QAS4@dserver.proton-sss.ru>
User-Agent: nail 10.5 4/27/03
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
asd
asd
============================================
где dserver.proton-sss.ru - внутренний сервер #1
relay.proton-sss.ru - внешний роутер, отправляющий почту.
Помогите настроить sendmail.