IredMail не принимает почту. В чем может быть причина?
Привет, установил пакет iredmail, почту отправляет нормально. но с ящиков gmail и т.д не принимает.
Лог mail
May 23 11:46:17 mail postfix/submission/smtpd[1530]: connect from mail.test.com.ua[127.0.0.1]
May 23 11:46:17 mail postfix/submission/smtpd[1530]: Anonymous TLS connection established from mail.jupiter9.com.ua[127.0.0.1]: TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)
May 23 11:46:17 mail postfix/submission/smtpd[1530]: 477D17021DDD: client=mail.jupiter9.com.ua[127.0.0.1], sasl_method=LOGIN, sasl_username=postmaster@test.com.ua
May 23 11:46:17 mail postfix/cleanup[1534]: 477D17021DDD: message-id=<81b8d73f02c079d9cc0cdecc73425e4a@jupiter9.com.ua>
May 23 11:46:17 mail postfix/qmgr[32007]: 477D17021DDD: from=, size=579, nrcpt=1 (queue active)
May 23 11:46:17 mail roundcube: User postmaster@test.com.ua [93.74.160.82]; Message for alextimoha@gmail.com; 250: 2.0.0 Ok: queued as 477D17021DDD
May 23 11:46:17 mail postfix/submission/smtpd[1530]: disconnect from mail.test.com.ua[127.0.0.1]
May 23 11:46:17 mail postfix/10025/smtpd[1544]: connect from mail.test.com.ua[127.0.0.1]
May 23 11:46:17 mail postfix/10025/smtpd[1544]: EAFE67021DE2: client=mail.test.com.ua[127.0.0.1]
May 23 11:46:17 mail postfix/cleanup[1534]: EAFE67021DE2: message-id=<81b8d73f02c079d9cc0cdecc73425e4a@jupiter9.com.ua>
May 23 11:46:17 mail postfix/qmgr[32007]: EAFE67021DE2: from=, size=1729, nrcpt=1 (queue active)
May 23 11:46:17 mail postfix/10025/smtpd[1544]: disconnect from mail.test.com.ua[127.0.0.1]
May 23 11:46:17 mail amavis[23631]: (23631-20) Passed CLEAN {RelayedInternal}, ORIGINATING/MYNETS LOCAL [127.0.0.1]:55272 -> , Queue-ID: 477D17021DDD, Message-ID: <81b8d73f02c079d9cc0cdecc73425e4a@test.com.ua>, mail_id: SY5VL0N4Y704, Hits: -1, size: 579, queued_as: EAFE67021DE2, dkim_new=dkim:jupiter9.com.ua, 618 ms, Tests: [ALL_TRUSTED=-1]
May 23 11:46:18 mail postfix/smtp-amavis/smtp[1539]: 477D17021DDD: to=, relay=127.0.0.1[127.0.0.1]:10026, delay=0.73, delays=0.09/0.01/0/0.63, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as EAFE67021DE2)
May 23 11:46:18 mail postfix/qmgr[32007]: 477D17021DDD: removed
May 23 11:46:19 mail postfix/smtp[1435]: connect to gmail-smtp-in.l.google.com[2a00:1450:4010:c08::1a]:25: Network is unreachable
May 23 11:46:19 mail postfix/smtp[1435]: Untrusted TLS connection established to gmail-smtp-in.l.google.com[173.194.73.26]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
May 23 11:46:20 mail postfix/smtp[1435]: EAFE67021DE2: to=, relay=gmail-smtp-in.l.google.com[173.194.73.26]:25, delay=2.2, delays=0.03/0/1.9/0.29, dsn=2.0.0, status=sent (250 2.0.0 OK 1495529180 u22si10761307ljd.280 - gsmtp)
May 23 11:46:20 mail postfix/qmgr[32007]: EAFE67021DE2: removed
May 23 11:46:37 mail postfix/postscreen[1564]: fatal: error reading /var/lib/postfix/postscreen_cache.db: Unknown error -30986
May 23 11:46:38 mail postfix/master[32005]: warning: process /usr/libexec/postfix/postscreen pid 1564 exit status 1
May 23 11:46:38 mail postfix/master[32005]: warning: /usr/libexec/postfix/postscreen: bad command startup -- throttling
# --------------------
# INSTALL-TIME CONFIGURATION INFORMATION
#
# location of the Postfix queue. Default is /var/spool/postfix.
queue_directory = /var/spool/postfix
# location of all postXXX commands. Default is /usr/sbin.
command_directory = /usr/sbin
# location of all Postfix daemon programs (i.e. programs listed in the
# master.cf file). This directory must be owned by root.
# Default is /usr/libexec/postfix
daemon_directory = /usr/libexec/postfix
# location of Postfix-writable data files (caches, random numbers).
# This directory must be owned by the mail_owner account (see below).
# Default is /var/lib/postfix.
data_directory = /var/lib/postfix
# owner of the Postfix queue and of most Postfix daemon processes.
# Specify the name of a user account THAT DOES NOT SHARE ITS USER OR GROUP ID
# WITH OTHER ACCOUNTS AND THAT OWNS NO OTHER FILES OR PROCESSES ON THE SYSTEM.
# In particular, don't specify nobody or daemon. PLEASE USE A DEDICATED USER.
# Default is postfix.
mail_owner = postfix
# The following parameters are used when installing a new Postfix version.
#
# sendmail_path: The full pathname of the Postfix sendmail command.
# This is the Sendmail-compatible mail posting interface.
#
sendmail_path = /usr/sbin/sendmail.postfix
# newaliases_path: The full pathname of the Postfix newaliases command.
# This is the Sendmail-compatible command to build alias databases.
#
newaliases_path = /usr/bin/newaliases.postfix
# full pathname of the Postfix mailq command. This is the Sendmail-compatible
# mail queue listing command.
mailq_path = /usr/bin/mailq.postfix
# group for mail submission and queue management commands.
# This must be a group name with a numerical group ID that is not shared with
# other accounts, not even with the Postfix account.
setgid_group = postdrop
# external command that is executed when a Postfix daemon program is run with
# the -D option.
#
# Use "command .. & sleep 5" so that the debugger can attach before
# the process marches on. If you use an X-based debugger, be sure to
# set up your XAUTHORITY environment variable before starting Postfix.
#
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
debug_peer_level = 2
# --------------------
# CUSTOM SETTINGS
#
# SMTP server response code when recipient or domain not found.
unknown_local_recipient_reject_code = 550
# Do not notify local user.
biff = no
# Disable the rewriting of "site!user" into "user@site".
swap_bangpath = no
# Disable the rewriting of the form "user%domain" to "user@domain".
allow_percent_hack = no
# Allow recipient address start with '-'.
allow_min_user = no
# Disable the SMTP VRFY command. This stops some techniques used to
# harvest email addresses.
disable_vrfy_command = yes
# Enable both IPv4 and/or IPv6: ipv4, ipv6, all.
inet_protocols = all
# Enable all network interfaces.
inet_interfaces = all
# Log only a summary message on TLS handshake completion — no logging of client
# certificate trust-chain verification errors if client certificate
# verification is not required. With Postfix 2.8 and earlier, log the summary
# message, peer certificate summary information and unconditionally log
# trust-chain verification errors.
smtp_tls_loglevel = 1
smtpd_tls_loglevel = 1
# Opportunistic TLS: announce STARTTLS support to remote SMTP clients, but do
# not require that clients use TLS encryption.
smtpd_tls_security_level = may
# Produce `Received:` message headers that include information about the
# protocol and cipher used, as well as the remote SMTP client CommonName and
# client certificate issuer CommonName.
# This is disabled by default, as the information may be modified in transit
# through other mail servers. Only information that was recorded by the final
# destination can be trusted.
#smtpd_tls_received_header = yes
# Use the same CA file as smtpd.
smtp_tls_CAfile = $smtpd_tls_CAfile
smtp_tls_note_starttls_offer = yes
# Enable long, non-repeating, queue IDs (queue file names).
# The benefit of non-repeating names is simpler logfile analysis and easier
# queue migration (there is no need to run "postsuper" to change queue file
# names that don't match their message file inode number).
#enable_long_queue_ids = yes
# Header and body checks with PCRE table
header_checks = pcre:/etc/postfix/header_checks
body_checks = pcre:/etc/postfix/body_checks.pcre
# A mechanism to transform commands from remote SMTP clients.
# This is a last-resort tool to work around client commands that break
# interoperability with the Postfix SMTP server. Other uses involve fault
# injection to test Postfix's handling of invalid commands.
# Requires Postfix-2.7+.
#smtpd_command_filter = pcre:/etc/postfix/command_filter.pcre
# Do not set virtual_alias_domains.
virtual_alias_domains =
#
# Enable SASL authentication on port 25 and force TLS-encrypted SASL authentication.
# WARNING: NOT RECOMMENDED to enable smtp auth on port 25, all end users should
# be forced to submit email through port 587 instead.
#
#smtpd_sasl_auth_enable = yes
#smtpd_sasl_security_options = noanonymous
#smtpd_tls_auth_only = yes
# trusted SMTP clients which are allowed to relay mail through Postfix.
#
# Note: additional IP addresses/networks listed in mynetworks should be listed
# in iRedAPD setting 'MYNETWORKS' (in `/opt/iredapd/settings.py`) too.
# for example:
#
# MYNETWORKS = ['xx.xx.xx.xx', 'xx.xx.xx.0/24', ...]
#
mynetworks = 127.0.0.1
# Accepted local emails
mydestination = $myhostname, localhost, localhost.localdomain
# The set of characters that can separate a user name from its extension
# (example: user+foo), or a .forward file name from its extension (example:
# .forward+foo).
# Postfix 2.11 and later supports multiple characters.
recipient_delimiter = +
# The time after which the sender receives a copy of the message headers of
# mail that is still queued. Default setting is disabled (0h) by Postfix.
#delay_warning_time = 1h
#
# Lookup virtual mail accounts
#
transport_maps =
proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf
proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cf
# Lookup table with the SASL login names that own the sender (MAIL FROM) addresses.
smtpd_sender_login_maps =
proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf
May 23 11:46:37 mail postfix/postscreen[1564]: fatal: error reading /var/lib/postfix/postscreen_cache.db: Unknown error -30986
May 23 11:46:38 mail postfix/master[32005]: warning: process /usr/libexec/postfix/postscreen pid 1564 exit status 1
May 23 11:46:38 mail postfix/master[32005]: warning: /usr/libexec/postfix/postscreen: bad command startup -- throttling
По всей видимости, что то не так с настройками postscreen.
Проблема в настройке ДНС зоны:
у меня такая же проблема была
адрес домена приема почты должен совпадать с названием и направлен должен быть на IP хоста.
Если название хоста одно а назввание домена созданого в админке другое он не хочет принимать
Подозреваю нужно ковырять ДНС