The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Тематический каталог: Корпоративный почтовый сервер на базе Postfix (postfix mail imap sasl crypt tls auth clamav spam v..."
Версия для распечатки Пред. тема | След. тема
Форум Разговоры, обсуждение новостей
Исходное сообщение [ Отслеживать ]
Заметили полезную информацию ? Пожалуйста добавьте в FAQ на WIKI.
. "Тематический каталог: Корпоративный почтовый сервер на базе ..." +/
Сообщение от Maritannaemail (ok), 26-Сен-07, 12:31 
Поднимаю сервер впервые.  Все делала по статье. Столкнулась с такой ошибкой, точнее даже рядом ошибок:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.nes.odessa.ua ESMTP
helo localhost
250 mail.nes.odessa.ua
mail from: 111@nes.odessa.ua
250 2.1.0 Ok
RCPT TO: natali@sct.odessa.ua
451 4.3.0 <natali@sct.odessa.ua>: Temporary lookup failure

В логах целый букет:

Sep 26 11:27:39 gwsrv postfix/smtpd[3003]: connect from unknown[127.0.0.1]
Sep 26 11:28:01 gwsrv postfix/trivial-rewrite[3004]: warning: connect to pgsql server localhost: could not connect to server: Connection refused??Is the server running on host "localhost" and accepting??TCP/IP connections on port 5432??
Sep 26 11:28:01 gwsrv postfix/trivial-rewrite[3004]: warning: transport_maps lookup failure
Sep 26 11:28:17 gwsrv postfix/trivial-rewrite[3004]: warning: transport_maps lookup failure
Sep 26 11:28:17 gwsrv postfix/smtpd[3003]: NOQUEUE: reject: RCPT from unknown[127.0.0.1]: 451 4.3.0 <natali@sct.odessa.ua>: Temporary lookup failure; from=<111@nes.odessa.ua> to=<natali@sct.odessa.ua> proto=SMTP helo=<localhost>
Sep 26 11:28:48 gwsrv postfix/smtpd[3003]: lost connection after RCPT from unknown[127.0.0.1]
Sep 26 11:28:48 gwsrv postfix/cleanup[3005]: CADF11710E: message-id=<20070926082848.CADF11710E@mail.nes.odessa.ua>
Sep 26 11:28:48 gwsrv postfix/smtpd[3003]: disconnect from unknown[127.0.0.1]
Sep 26 11:28:48 gwsrv postfix/qmgr[1391]: CADF11710E: from=<double-bounce@mail.nes.odessa.ua>, size=705, nrcpt=1 (queue active)
Sep 26 11:28:48 gwsrv postfix/qmgr[1391]: CADF11710E: to=<postmaster@mail.nes.odessa.ua>, orig_to=<postmaster>, relay=none, delay=0.07, delays=0.04/0.03/0/0, dsn=4.3.0, status=deferred (address resolver failure)

все запущено:
gwsrv# ps ax | grep post
1066  ??  Is     0:00.04 /usr/local/bin/postmaster -D /usr/local/pgsql/data (postgres)
1067  ??  I      0:00.00 postmaster: stats buffer process    (postgres)
1068  ??  I      0:00.01 postmaster: stats collector process    (postgres)
1119  ??  Is     0:00.12 /usr/local/libexec/postfix/master

gwsrv# postconf -n
alias_database = hash:/etc/mail/aliases
alias_maps = pgsql:/usr/local/etc/postfix/alias.cf
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
default_privs = nobody
disable_vrfy_command = yes
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
local_recipient_maps =
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = nes.odessa.ua
myhostname = mail.nes.odessa.ua
mynetworks = 127.0.0.0/8, 192.168.1.0/24
myorigin = $myhostname
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname ESMTP
smtpd_helo_required = yes
transport_maps = pgsql:/usr/local/etc/postfix/transport.cf   - файл существует там где и положено, сделн так же как в ствтье.
unknown_local_recipient_reject_code = 550


postgres тоже в наличии и работает прекрасно:
gwsrv# sudo -u postfix /usr/local/bin/psql mailbase
Welcome to psql 7.4.13, the PostgreSQL interactive terminal.

mailbase=> \z
               Access privileges for database "mailbase"
Schema |     Table     |              Access privileges
--------+---------------+----------------------------------------------
public | transport     | {pgsql=a*r*w*d*R*x*t*/pgsql,postfix=r/pgsql}
public | user_accounts | {pgsql=a*r*w*d*R*x*t*/pgsql,postfix=r/pgsql}
public | user_aliases  | {pgsql=a*r*w*d*R*x*t*/pgsql,postfix=r/pgsql}
(3 rows)

Помогите разобраться... где искать ошибки в первую очередь?

Ответить | Правка | Наверх | Cообщить модератору

Оглавление
Тематический каталог: Корпоративный почтовый сервер на базе Postfix (postfix mail imap sasl crypt tls auth clamav spam v..., auto_topic, 09-Мрт-06, 23:44  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру