Добрый день!
Есть Elastix ( который крутится на базе CentOS) и на нем установлен Postfix с Cyrus.
После переезда перестала приходить почта. Помогите заставить её корректно работать!
При отправке письма, например, с гугл почты - возвращается ошибка:This is the mail system at host mail.example.com.
I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the attached returned message.
The mail system
<test@example.com>: mail for example.com loops back to myself
Final-Recipient: rfc822; test@example.com
Action: failed
Status: 5.4.6
Diagnostic-Code: X-Postfix; mail for example.com loops back to myself
---------- Пересылаемое сообщение ----------
From: <**********@gmail.com>
To: test@example.com
Cc:
Date: Sun, 12 Jan 2014 03:01:07 +0200
Subject: Test
test
Конфиг /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname = mail.example.com
mydomain = example.com
myorigin = $mydomain
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost, mail.$mydomain
$mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
unknown_local_recipient_reject_code = 450
mynetworks = 127.0.0.0/8
relay_domains =
relay_transport = hash:/etc/mail/transport
relayhost = mail.$mydomain
alias_maps = hash:/etc/aliases
virtual_alias_maps = hash:/etc/postfix/virtual
alias_database = hash:/etc/aliases
header_checks = regexp:/etc/postfix/header_checks
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.5.6/samples
readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
virtual_transport = lmtp:unix:/var/lib/imap/socket/lmtp
virtual_mailbox_domains = kuda-ugodno.com.ua
disable_dns_lookups = no
smtp_helo_name = $myhostname
smtpd_sasl_path = smtpd
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = example.com
broken_sasl_auth_clients = yes
Конфиг /etc/imapd.conf
configdirectory: /var/lib/imap
partition-default: /var/spool/imap
admins: cyrus
autocreatequota: 10000
createonpost: no
allowplaintext: yes
sievedir: /var/lib/imap/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_auxprop_plugin: sasldb
sasl_mech_list: PLAIN LOGIN
tls_cert_file: /var/imap/server.pem
tls_key_file: /var/imap/server.pem
tls_ca_file: /var/imap/server.pem
unixhierarchysep: yes
autocreateinboxfolders: spam
autosubscribeinboxfolders: spam
anysievefolder: yes
altnamespace: 1
defaultdomain: example.com
servername: example.com
virtdomains: yes
Конфиг /usr/lib/sasl2/smtpd.conf
pwcheck_method: auxprop
#auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
Некоторые ошибки в лог-файле /var/log/maillog
Jan 12 06:46:09 localhost postfix/smtpd[13730]: fatal: bad numerical configuration: unknown_local_recipient_reject_code = 450 mynetworks = 127.0.0.0/8
Jan 12 06:46:10 localhost postfix/master[10616]: warning: process /usr/libexec/postfix/smtpd pid 13730 exit status 1
Jan 12 06:46:10 localhost postfix/master[10616]: warning: /usr/libexec/postfix/smtpd: bad
command something like business, but for poor people -- throttling
Jan 12 06:49:13 localhost postfix/master[10616]: warning: process /usr/libexec/postfix/smtpd pid 13742 exit status 1
Jan 12 06:49:13 localhost postfix/master[10616]: warning: /usr/libexec/postfix/smtpd: bad command something like business, but for poor people -- throttling
Jan 12 06:49:19 localhost imap[13729]: STARTTLS negotiation failed: example2.cc.colocall.com [62.149.12.132]
Jan 12 06:49:19 localhost imap[13728]: accepted connection
Jan 12 06:49:19 localhost imap[13733]: STARTTLS negotiation failed: example2.cc.colocall.com [62.149.12.132]
Jan 12 06:49:19 localhost imap[13745]: accepted connection
Jan 12 06:49:19 localhost imap[13728]: STARTTLS negotiation failed: example2.cc.colocall.com [62.149.12.132]
Jan 12 06:49:20 localhost imap[13745]: STARTTLS negotiation failed: example2.cc.colocall.com [62.149.12.132]