Проблема с установкой postfix

Общие вопросы по установке и настройке сервера Postfix.
Писать в этот форум могут только зарегистрированные пользователи.

Модераторы: prefer, alexandrnew, ALex_hha, Roman, Axel

Ответить
alk
Новичок
Новичок
Сообщения: 1
Зарегистрирован: 02 фев 2009, 12:43

Проблема с установкой postfix

Сообщение alk » 02 фев 2009, 12:50

ос linux debian... делал ка к тут в статье написано http://www.x-drivers.ru/articles/manuals/16/2.html


дошел до места где надо telnet localhost 25 и все не коннектится

tail /var/log/mail.err

tail /var/log/mail.info

tail /var/log/mail.warn

tail /var/log/mail.log


дает


inet:/etc/postfix/sasl# tail /var/log/mail.info
Feb 2 14:05:57 localhost postfix/smtpd[5950]: connect from localhost[127.0.0.1]
Feb 2 14:10:57 localhost postfix/smtpd[5950]: timeout after CONNECT from localhost[127.0.0.1]
Feb 2 14:10:57 localhost postfix/smtpd[5950]: disconnect from localhost[127.0.0.1]
Feb 2 14:14:15 localhost cyrus/ctl_cyrusdb[6217]: checkpointing cyrus databases
Feb 2 14:14:15 localhost cyrus/ctl_cyrusdb[6217]: done checkpointing cyrus databases
Feb 2 14:16:32 localhost postfix/smtpd[6275]: connect from localhost[127.0.0.1]
Feb 2 14:23:08 localhost postfix/smtpd[6275]: timeout after CONNECT from localhost[127.0.0.1]
Feb 2 14:23:08 localhost postfix/smtpd[6275]: disconnect from localhost[127.0.0.1]
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: checkpointing cyrus databases
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: done checkpointing cyrus databases
inet:/etc/postfix/sasl#
inet:/etc/postfix/sasl# tail /var/log/mail.warn
Jan 30 04:01:00 localhost cyrus/cyr_expire[10173]: DBERROR db4: 4 lockers
Jan 31 04:01:00 localhost cyrus/tls_prune[16484]: DBERROR db4: 4 lockers
Feb 1 04:01:01 localhost cyrus/cyr_expire[19291]: DBERROR db4: 4 lockers
Feb 2 04:01:01 localhost cyrus/tls_prune[22053]: DBERROR db4: 4 lockers
inet:/etc/postfix/sasl#
inet:/etc/postfix/sasl# tail /var/log/mail.log
Feb 2 14:23:08 localhost postfix/smtpd[6275]: disconnect from localhost[127.0.0.1]
Feb 2 14:44:15 localhost cyrus/master[7052]: about to exec /usr/sbin/ctl_cyrusdb
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: checkpointing cyrus databases
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: archiving database file: /var/lib/cyrus/annotations.db
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: archiving log file: /var/lib/cyrus/db/log.0000000001
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: archiving log file: /var/lib/cyrus/db/log.0000000001
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: archiving database file: /var/lib/cyrus/mailboxes.db
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: archiving log file: /var/lib/cyrus/db/log.0000000001
Feb 2 14:44:15 localhost cyrus/ctl_cyrusdb[7052]: done checkpointing cyrus databases
Feb 2 14:44:15 localhost cyrus/master[11703]: process 7052 exited, status 0


я так понимаю что проблемs с базой данных.... ток не знаю че делать... подскажите кто че может

postfix -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = inet.surgut, localhost, localhost.localdomain, localhost
myhostname = localhost
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes

main.cf

# See /usr/share/postfix/main.cf.dist for a commented, more complete version


# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname

smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no

# appending .domain is the MUA's job.
append_dot_mydomain = no

# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h

# TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache


#smtpd_sasl_local_domain =
#smtpd_sasl_auth_enable = yes
#smtpd_sasl_security_options = noanonymous
#broken_sasl_auth_clients = yes
#smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
#smtpd_sasl_authenticated_header = yes
#smtpd_sasl_application_name = smtpd

# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.

myhostname = localhost
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = inet.surgut, localhost, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all

Constin
Внёс свой вклад...
Внёс свой вклад...
Сообщения: 21
Зарегистрирован: 14 мар 2008, 15:14

Сообщение Constin » 11 фев 2009, 15:21

Честно говоря, лениво разбираться в твоей простыне, да и сюда по твоим вопросам их у тебя еще будет куча. Просмотрел статью , так себе статья.

Покури вот это: http://www.constin.ru/postfix

Ответить