postfix нучил принимать письма а отпрвлять не получается.
Добавлено: 2009-12-16 1:03:15
Доброго времени стуок! Настраиваю первый в своей жизни почтовый сервер. Поставили
MySQL-server
Cyrus-sasl
Courier-authlib
Courier-imap
Postfix
Apache
Php
Postfixadmin
настраивал по статье http://www.inattack.ru/article/447.html
в итоге вижу в логах:
моск не соображает, сроки жмут, начальство негодует. Подскажите плиз что не так?
MySQL-server
Cyrus-sasl
Courier-authlib
Courier-imap
Postfix
Apache
Php
Postfixadmin
настраивал по статье http://www.inattack.ru/article/447.html
в итоге вижу в логах:
Код: Выделить всё
Dec 16 00:56:53 mail postfix/smtpd[1243]: connect from localhost.triss.ru[127.0.0.1]
Dec 16 00:56:53 mail postfix/trivial-rewrite[1237]: warning: do not list domain triss.ru in BOTH mydestination and virtual_mailbox_domains
Dec 16 00:56:53 mail postfix/smtpd[1243]: NOQUEUE: reject: RCPT from localhost.triss.ru[127.0.0.1]: 450 4.7.1 <83.69.207.210>: Helo command rejected: Host not found; from=<ivlev@triss.ru> to=<dmitr_150@mail.ru> proto=ESMTP helo=<83.69.207.210>
Dec 16 00:56:53 mail postfix/smtpd[1243]: warning: non-SMTP command from localhost.triss.ru[127.0.0.1]: To: dmitr_150@mail.ru
Dec 16 00:56:53 mail postfix/smtpd[1243]: disconnect from localhost.triss.ru[127.0.0.1]
Dec 16 00:57:13 mail postfix/smtpd[1234]: timeout after END-OF-MESSAGE from mx0.web-soft.ru[81.176.77.165]
Dec 16 00:57:13 mail postfix/smtpd[1234]: disconnect from mx0.web-soft.ru[81.176.77.165]
^C
mail# Код: Выделить всё
mail# postfix -n
postfix: illegal option -- n
postfix: fatal: usage: postfix [-c config_dir] [-Dv] command
mail# postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_list =
default_privs = nobody
disable_vrfy_command = yes
inet_interfaces = all
mail_owner = postfix
message_size_limit = 10485760
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
mydomain = triss.ru
myhostname = mail.triss.ru
mynetworks = 192.168.0.0/24, 127.0.0.0/8
myorigin = $mydomain
queue_directory = /var/spool/postfix
smtp_always_send_ehlo = yes
smtp_helo_timeout = 15s
smtp_mail_timeout = 15s
smtp_rcpt_timeout = 15s
smtpd_banner = $myhostname mail server
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_etrn_restrictions = reject
smtpd_hard_error_limit = 8
smtpd_helo_required = yes
smtpd_helo_restrictions = reject_unknown_hostname
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_timeout = 30s
transport_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/transport.conf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/alias.conf
virtual_gid_maps = static:125
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysqlLookupMaps/domain.conf
virtual_mailbox_limit_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/quota.conf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/mailbox.conf
virtual_maildir_extended = yes
virtual_maildir_limit_message = "Sorry, the user's maildir has overdrawn his diskspace quota, please try again later"
virtual_minimum_uid = 1000
virtual_overquota_bounce = yes
virtual_uid_maps = static:125
mail#