我从二月份开始设置我的邮件服务器。自那以后,我一直无法让它工作。我也无法从 Google 获得针对具体问题的指导。
我现在的问题如下:
11 月 19 日 14:20:35 域 postfix/smtp[1134]: < xxx.xxx.xx[xxx.xxx.xx]:465: 554 5.4.0 错误:跳数过多
Postconf -n输出如下:
root@1ag:~# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases append_dot_mydomain = no biff = no broken_sasl_auth_clients = yes compatibility_level = 2 data_directory = /var/lib/postfix debug_peer_list = xxx.xxx.x.x inet_interfaces = all inet_protocols = all mail_owner = postfix mailbox_size_limit = 0 mydestination = localhost mydomain = domain myhostname = mail.domain.co.za mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 myorigin = $mydomain newaliases_path = /usr/bin/newaliasess notify_classes = delay, resource, software readme_directory = no recipient_delimiter = + relayhost = [mail.domain.co.za]:465 smtp_bind_address = xxx.xxx.x.x smtp_tls_security_level = encrypt smtp_tls_wrappermode = yes smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) smtpd_helo_restrictions = reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname smtpd_recipient_restrictions = permit_mynetworks permit_auth_destination permit_sasl_authenticated reject_unauth_destination smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_exceptions_networks = !192.0.2.171/32, 192.0.2.0/24 smtpd_sasl_local_domain = $myhostname smtpd_sasl_path = private/auth smtpd_sasl_security_options = noanonymous, noplaintext smtpd_sasl_tls_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_tls_auth_only = yes smtpd_tls_cert_file = /etc/ssl/certs/apache-selfsigned.crt smtpd_tls_key_file = /etc/ssl/private/apache-selfsigned.key smtpd_tls_mandatory_ciphers = high smtpd_tls_mandatory_exclude_ciphers = aNULL, MD5 smtpd_tls_mandatory_protocols = TLSv1 smtpd_tls_security_level = may smtpd_use_tls = yes transport_maps = hash:/etc/postfix/transport virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf virtual_transport = lmtp:unix:private/dovecot-lmtp
提前致谢。
因此,我通过设置 Amavis 和 Spamassassin 解决了“跳数过多”的问题。不确定它们之间有什么关系?
现在的问题如下:
域名 amavis[6983]: (!) 拒绝来自 IP *内部、政策银行 '' 的访问
和
域 postfix/smtp[11593]: 0E6A580207: to=,relay=127.0.0.1[127.0.0.1]:10024,delay=1047,delays=1046/0.1/0.04/0,dsn=4.7.5,status=deferred (无法启动 TLS:握手失败)
非常感谢!
答案1
最初的问题通过逐步重新配置 Postfix 得到解决。我有一个与 ehlo smtp 服务器验证有关的新问题。因此,我将提出一个新问题,并将此问题视为已解决。