Привет товарищи!
Не могу побороть проблемку.. Стоит freebsd 7.2 i386, postfix+dovecot+mysql. Когда я с этого сервера отсылаю почту то она приходит получателю нормально, но когда посылают мне то не доходит с такими ошибками в логе:
--------------------------
Nov 4 14:14:06 serv postfix/postsuper[37858]: 3EB3459D833: removed
Nov 4 14:14:06 serv postfix/postsuper[37858]: Deleted: 1 message
Nov 4 14:14:33 serv postfix/smtpd[37921]: connect from forward9.yandex.ru[77.88.61.48]
Nov 4 14:14:34 serv postfix/cleanup[37925]: 14ADD59D835: message-id=<20091104091434.14ADD59D835@serv.myserver.ru>
Nov 4 14:14:34 serv postfix/qmgr[37179]: 14ADD59D835: from=<check@myserver.ru>, size=258, nrcpt=1 (queue active)
Nov 4 14:14:34 serv postfix/smtp[37926]: 14ADD59D835: to=<test-soft@yandex.ru>, relay=mx1.yandex.ru[77.88.21.89]:25, delay=0.23, delays=0.01/0.01/0.15/0.06, dsn=2.1.5, status=deliverable (250 2.1.5 Ok)
Nov 4 14:14:34 serv postfix/qmgr[37179]: 14ADD59D835: removed
Nov 4 14:14:37 serv postfix/cleanup[37925]: 1359C59D861: message-id=<20091104091437.1359C59D861@serv.myserver.ru>
Nov 4 14:14:37 serv postfix/qmgr[37179]: 1359C59D861: from=<check@myserver.ru>, size=258, nrcpt=1 (queue active)
Nov 4 14:14:37 serv postfix/pipe[37931]: 1359C59D861: to=<test@myserver.ru>, relay=dovecot, delay=0.01, delays=0/0.01/0/0, dsn=2.0.0, status=deliverable (delivers to command: /usr/local/libexec/dovecot/deliver)
Nov 4 14:14:37 serv postfix/qmgr[37179]: 1359C59D861: removed
Nov 4 14:14:40 serv postfix/smtpd[37921]: 13CA759D833: client=forward9.yandex.ru[77.88.61.48]
Nov 4 14:14:40 serv postfix/cleanup[37925]: 13CA759D833: message-id=<31181257326097@webmail43.yandex.ru>
Nov 4 14:14:40 serv postfix/qmgr[37179]: 13CA759D833: from=<test-soft@yandex.ru>, size=1217, nrcpt=1 (queue active)
Nov 4 14:14:40 serv postfix/smtpd[37921]: disconnect from forward9.yandex.ru[77.88.61.48]
Nov 4 14:14:40 serv postfix/pipe[37931]: 13CA759D833: to=<test@myserver.ru>, relay=dovecot, delay=6.1, delays=6.1/0/0/0.02, dsn=4.3.0, status=deferred (temporary failure)
-----------------------------------
postconf -naddress_verify_sender = check@myserver.ru
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 20
default_privs = nobody
disable_vrfy_command = yes
fast_flush_domains = $relay_domains
home_mailbox = Mailbox
html_directory = /usr/local/share/doc/postfix
in_flow_delay = 1s
inet_interfaces = all
local_destination_concurrency_limit = 2
local_recipient_maps = unix:passwd.byname $alias_maps
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 20242880
mydestination = localhost.$mydomain, localhost
mydomain = myserver.ru
myhostname = serv.myserver.ru
mynetworks = 172.16.254.0/24, 127.0.0.0/8
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
proxy_interfaces =
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
relayhost =
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
show_user_unknown_table_name = no
smtp_always_send_ehlo = yes
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access hash:$base/client_access, reject_unknown_client_hostname
smtpd_etrn_restrictions = reject
smtpd_hard_error_limit = 8
smtpd_helo_required = yes
smtpd_helo_restrictions = check_helo_access hash:$base/hello_access, permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:$base/recipient_access, reject_unlisted_recipient, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unverified_recipient
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/dovecot-auth-client
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = mysql:$base/mysqlLookupMaps/sender.conf
smtpd_sender_restrictions = permit_mynetworks, check_sender_access hash:$base/sender_access, reject_authenticated_sender_login_mismatch, reject_unknown_sender_domain, reject_unlisted_sender, reject_unverified_sender
strict_rfc821_envelopes = yes
unknown_local_recipient_reject_code = 550
unverified_sender_reject_code = 550
virtual_alias_maps = mysql:$base/mysqlLookupMaps/alias.conf
virtual_gid_maps = static:1981
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = mysql:$base/mysqlLookupMaps/domain.conf
virtual_mailbox_limit_maps = mysql:$base/mysqlLookupMaps/quota.conf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:$base/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_transport = dovecot
virtual_uid_maps = static:1981Не пойму в чём косяк.. хотя подозреваю что в руках :)
>посылают мне то не доходит с такими ошибками в логе:Смотрите лог dovecot'а и особенно dovecot-local-deliver.log
>>посылают мне то не доходит с такими ошибками в логе:
>
>Смотрите лог dovecot'а и особенно dovecot-local-deliver.logСпасибо за наводку! Проблема была в том, что dovecot пытался использовать плагин cmusieve который я в конфиге не убрал, а плагина этого не было. Всё работает теперь :)