Postfix 垃圾郵件從我的網路氾濫

Postfix 垃圾郵件從我的網路氾濫

我的 postfix 伺服器有一些問題。最近它開始發送垃圾郵件,但僅限於我的本地網絡,因為開放中繼已關閉,僅允許發送到我的網路。我已經嘗試了很多解決方案和無數的後綴設置,但它們仍然出現。

disable_vrfy_command = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_recipient_restrictions =
    permit_mynetworks
    permit_sasl_authenticated
    reject_unauth_destination
    warn_if_reject reject_non_fqdn_helo_hostname
    warn_if_reject reject_unknown_helo_hostname
    warn_if_reject reject_unknown_client
    reject_non_fqdn_sender
    reject_non_fqdn_recipient
    reject_unknown_sender_domain
    reject_unknown_recipient_domain
    reject_rbl_client zen.spamhaus.org
    reject_rbl_client bl.spamcop.net
    reject_rbl_client dnsbl.sorbs.net=127.0.0.2
    reject_rbl_client dnsbl.sorbs.net=127.0.0.3
    reject_rbl_client dnsbl.sorbs.net=127.0.0.4
    reject_rbl_client dnsbl.sorbs.net=127.0.0.5
    reject_rbl_client dnsbl.sorbs.net=127.0.0.7
    reject_rbl_client dnsbl.sorbs.net=127.0.0.9
    reject_rbl_client dnsbl.sorbs.net=127.0.0.11
    reject_rbl_client dnsbl.sorbs.net=127.0.0.12
    warn_if_reject reject_rhsbl_sender dsn.rfc-ignorant.org
    warn_if_reject reject_rhsbl_sender abuse.rfc-ignorant.org
    warn_if_reject reject_rhsbl_sender whois.rfc-ignorant.org
    warn_if_reject reject_rhsbl_sender bogusmx.rfc-ignorant.org
    warn_if_reject reject_rhsbl_sender postmaster.rfc-ignorant.org
    reject_unauth_pipelining

誰能給我一個提示嗎?謝謝,阿林

答案1

檢查郵件日誌 (/var/log/maillog) 和後綴佇列postfix -q/postcat -q [ID]的寄件者地址,以了解垃圾郵件的來源。

答案2

看看Postfix Policyd v2 Cluebringer對你有什麼用處。它是一個非常強大的 Postfix 插件,用於在每個使用者/全域的基礎上限制 SMTP 的速率。

相關內容