我的邮件服务器遇到了一些问题。
每 5 分钟,我会看到大约一百行如下的列表(取自 /var/log/maillog):
Mar 31 15:03:59 hostname postfix/qmgr[19856]: 75588C1CEE: from=<[email protected]>, size=6859, nrcpt=9 (queue active)
Mar 31 15:03:59 hostname postfix/qmgr[19856]: 7E16FC203A: from=<[email protected]>, size=8345, nrcpt=8 (queue active)
Mar 31 15:03:59 hostname postfix/qmgr[19856]: 732D9C11EC: from=<[email protected]>, size=5250, nrcpt=11 (queue active)
在哪里[电子邮件保护]是我的一个用户的电子邮件地址。
这是我的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 = hostname.mydomain
mydomain = mydomain
myorigin = $mydomain
inet_interfaces = localhost
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.0/8, [::1]/128
alias_maps = 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
bounce_queue_lifetime = 6h
mailbox_size_limit = 51200000
message_size_limit = 10240000
luser_relay =
recipient_delimiter = +
message_strip_characters = \0
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain = $mydomain
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/cert.pem
smtpd_tls_key_file = /etc/postfix/key.pem
smtpd_tls_loglevel = 1
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
mailbox_transport = mailpostfilter
content_filter = mailprefilter
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = $alias_maps, $virtual_maps, ldap:/etc/postfix/zarafa-aliases.cf, ldap:/etc/postfix/zarafa-groups.cf
local_recipient_maps = $alias_maps $virtual_alias_maps
zarafa_destination_recipient_limit = 1
relayhost =
我能做些什么来阻止大量电子邮件出现在日志中?
答案1
答案2
(我假设你不是一个开放中继)
如果您托管任何类型的 PHP 页面,请仔细查看它们。
这可能是由于网页被利用而导致的。网页利用漏洞通常用于发送垃圾邮件。