addon Опубликовано 28 сентября, 2015 Жалоба Поделиться Опубликовано 28 сентября, 2015 (изменено) Имеется CentOS 6.6В качестве почтового сервера iRedMail 0.8.7Сборка Postfix+MySQL+SpamAssassin+ClamAV+AmaViS+Dovecot+RoundCubeПочта не ходит в обе стороны.Вот что пишет Postfix в логе : Sep 27 20:57:26 example postfix/postfix-script[13315]: stopping the Postfix mail systemSep 27 20:57:26 example postfix/master[12221]: terminating on signal 15Sep 27 20:57:26 example postfix/postfix-script[13408]: starting the Postfix mail systemSep 27 20:57:26 example postfix/master[13410]: daemon started -- version 2.11.0, configuration /etc/postfixSep 27 20:59:43 example postfix/smtpd[13423]: connect from mail-wi0-f180.google.com[209.85.212.180]Sep 27 20:59:44 example postfix/smtpd[13423]: 426BB2801A7: client=mail-wi0-f180.google.com[209.85.212.180]Sep 27 20:59:44 example postfix/cleanup[13430]: 426BB2801A7: message-id=<CA+vxW5w84momMOzZT+Zorj_OhOvj-cCE02X_ZzE6S_-0TaLg0Q@mail.gmail.com>Sep 27 20:59:44 example postfix/qmgr[13412]: 426BB2801A7: from=<user@gmail.com>, size=1709, nrcpt=1 (queue active)Sep 27 20:59:44 example postfix/smtp[13435]: fatal: open lock file pid/unix.smtp-amavis: file has 2 hard linksSep 27 20:59:44 example postfix/smtpd[13423]: disconnect from mail-wi0-f180.google.com[209.85.212.180]Sep 27 20:59:45 example postfix/master[13410]: warning: process /usr/libexec/postfix/smtp pid 13435 exit status 1Sep 27 20:59:45 example postfix/master[13410]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttlingSep 27 21:00:45 example postfix/smtp[13445]: fatal: open lock file pid/unix.smtp-amavis: file has 2 hard linksSep 27 21:00:46 example postfix/master[13410]: warning: process /usr/libexec/postfix/smtp pid 13445 exit status 1Sep 27 21:00:46 example postfix/master[13410]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttlingSep 27 21:01:46 example postfix/smtp[13501]: fatal: open lock file pid/unix.smtp-amavis: file has 2 hard linksSep 27 21:01:47 example postfix/master[13410]: warning: process /usr/libexec/postfix/smtp pid 13501 exit status 1Sep 27 21:01:47 example postfix/master[13410]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling Мои конфиги. main.cf : queue_directory = /var/spool/postfixcommand_directory = /usr/sbindaemon_directory = /usr/libexec/postfixdata_directory = /var/lib/postfixmail_owner = postfixunknown_local_recipient_reject_code = 550debugger_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.postfixnewaliases_path = /usr/bin/newaliases.postfixmailq_path = /usr/bin/mailq.postfixsetgid_group = postdrophtml_directory = nomanpage_directory = /usr/share/mansample_directory = /usr/share/doc/postfix-2.11.0/samplesreadme_directory = /usr/share/doc/postfix-2.11.0/README_FILES#inet_protocols = ipv4inet_protocols = ipv4virtual_alias_domains =myhostname = example.commyorigin = example.comallow_percent_hack = noswap_bangpath = nomydomain = example.commydestination = localhostbiff = noinet_interfaces = allmynetworks = 127.0.0.0/8mynetworks_style = hostsmtpd_data_restrictions = reject_unauth_pipeliningsmtpd_reject_unlisted_recipient = yessmtpd_reject_unlisted_sender = yessmtp_tls_security_level = maysmtp_tls_CAfile = $smtpd_tls_CAfilesmtp_tls_loglevel = 0smtp_tls_note_starttls_offer = yessmtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticateddelay_warning_time = 0hmaximal_queue_lifetime = 4hbounce_queue_lifetime = 4hrecipient_delimiter = +proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictionssmtp_data_init_timeout = 240ssmtp_data_xfer_timeout = 600ssmtpd_helo_required = yessmtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcrequeue_run_delay = 300sminimal_backoff_time = 300smaximal_backoff_time = 4000senable_original_recipient = nodisable_vrfy_command = yeshome_mailbox = Maildir/allow_min_user = noalias_maps = hash:/etc/postfix/aliasesalias_database = hash:/etc/postfix/aliasesmessage_size_limit = 15728640virtual_minimum_uid = 2000virtual_uid_maps = static:2000virtual_gid_maps = static:2000virtual_mailbox_base = /var/vmailtransport_maps = proxy:mysql:/etc/postfix/mysql/transport_maps_user.cf, proxy:mysql:/etc/postfix/mysql/transport_maps_domain.cfvirtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cfvirtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cfvirtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/catchall_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cfsender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cfrecipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cfrelay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cfsmtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cfsmtpd_sasl_auth_enable = yessmtpd_sasl_local_domain =broken_sasl_auth_clients = yessmtpd_sasl_security_options = noanonymoussmtpd_tls_auth_only = yessmtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination#smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service#smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031smtpd_tls_security_level = maysmtpd_tls_loglevel = 0smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.keysmtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pemsmtpd_tls_CAfile = /etc/pki/tls/certs/iRedMail_CA.pemtls_random_source = dev:/dev/urandommailbox_command = /usr/libexec/dovecot/delivervirtual_transport = dovecotdovecot_destination_recipient_limit = 1smtpd_sasl_type = dovecotsmtpd_sasl_path = private/dovecot-authcontent_filter = smtp-amavis:[127.0.0.1]:10024smtp-amavis_destination_recipient_limit = 1 master.cf : smtp inet n - - - - smtpd#smtp inet n - n - 1 postscreen#smtpd pass - - n - - smtpd#dnsblog unix - - n - 0 dnsblog#tlsproxy unix - - n - 0 tlsproxy#submission inet n - n - - smtpd #628 inet n - n - - qmqpdpickup unix n - n 60 1 pickupcleanup unix n - n - 0 cleanupqmgr unix n - n 300 1 qmgr#qmgr unix n - n 300 1 oqmgrtlsmgr unix - - n 1000? 1 tlsmgrrewrite unix - - n - - trivial-rewritebounce unix - - n - 0 bouncedefer unix - - n - 0 bouncetrace unix - - n - 0 bounceverify unix - - n - 1 verifyflush unix n - n 1000? 0 flushproxymap unix - - n - - proxymapproxywrite unix - - n - 1 proxymapsmtp unix - - n - - smtprelay unix - - n - - smtp showq unix n - n - - showqerror unix - - n - - errorretry unix - - n - - errordiscard unix - - n - - discardlocal unix - n n - - localvirtual unix - n n - - virtuallmtp unix - - n - - lmtpanvil unix - - n - 1 anvilscache unix - - n - 1 scache submission inet n - n - - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${domain} -m ${extension} smtp-amavis unix - - - - 10 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes -o max_use=20 127.0.0.1:10025 inet n - - - - smtpd -o content_filter= -o mynetworks_style=host -o mynetworks=127.0.0.0/8 -o local_recipient_maps= -o relay_recipient_maps= -o strict_rfc821_envelopes=yes -o smtp_tls_security_level=none -o smtpd_tls_security_level=none -o smtpd_restriction_classes= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_end_of_data_restrictions= -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings Третий день воюю. Помогите. Изменено 28 сентября, 2015 пользователем addon Цитата Ссылка на комментарий Поделиться на другие сайты Поделиться
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.