后配置-n

后配置-n

我正在管理专用邮箱。最近几天我的服务器 IP 被 hotmail 服务封锁了。我的客户无法向 hotmail/live/outlook 系统发送任何消息。

postfix ver: 2.6.6
CentOS 6.4 64 Bit
I just Installed MailScanner and Clamd latest version

以下是我的开放中继报告:

Connecting to xx.xx.xx.xx

220 mail.domain.com ESMTP Postfix [1451 ms]
EHLO please-read-policy.mxtoolbox.com
250-mail.domain.net
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN [780 ms]
MAIL FROM: <[email protected]>
250 2.1.0 Ok [889 ms]
RCPT TO: <[email protected]>
454 4.7.1 <[email protected]>: Relay access denied [780 ms]
QUIT

SendSMTPCommand: You hung up on us after we connected. Please whitelist us. (connection lost)

MXTB-PWS3v2 5351ms

后配置-n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
delay_warning_time = 4
disable_vrfy_command = yes
header_checks = regexp:/etc/postfix/header_checks
html_directory = no
inet_protocols = all
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost $mydomain, localhost, $mydomain
mydomain = mydomain.net
myhostname = mail.mydomain.net
mynetworks = all
newaliases_path = /usr/bin/newaliases.postfix
readme_directory = /usr/share/doc/postfix-2.2.2/README_FILES
recipient_delimiter = +
relay_domains = proxy:mysql:/etc/zpanel/configs/postfix/mysql-relay_domains_maps.cf
sample_directory = /usr/share/doc/postfix-2.2.2/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
smtp_use_tls = yes
smtpd_client_restrictions =
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_helo_required = yes
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_sasl_authenticated permit_mynetworks reject_unauth_destination reject_non_fqdn_sender reject_non_fqdn_recipient reject_unknown_recipient_domain
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_sender_restrictions =
smtpd_tls_cert_file = /etc/pki/tls/certs/mail.crt
smtpd_tls_key_file = /etc/pki/tls/private/mail.key
soft_bounce = yes
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_alias_maps.cf,                     regexp:/etc/zpanel/configs/postfix/virtual_regexp
virtual_gid_maps = static:12
virtual_mailbox_base = /var/zpanel/vmail
virtual_mailbox_domains = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_domains_maps.cf
virtual_mailbox_maps = proxy:mysql:/etc/zpanel/configs/postfix/mysql-virtual_mailbox_maps.cf
virtual_minimum_uid = 101
virtual_transport = dovecot
virtual_uid_maps = static:101

答案1

从今年起不再受支持意味着不存在风险。我认为 CentOS 维护人员会反向移植安全修复程序。

您的邮件问题通常是由服务器配置不当造成的。请进行开放中继测试,并将您的服务器配置为不发送垃圾邮件。如果情况没有改善,则您的服务器已受到威胁。

答案2

无需升级 postfix-2.6.6。它是 MTA 的稳定(旧版本)版本。您只需要分析邮件日志文件并在 main.cf 中配置更严格的规则。我建议安装和配置一些策略服务,例如政策后发. 您可以获取更多信息这里

postconf -n如果你把输出添加到问题中就好了

相关内容