我的服务器上运行着 postfix,其 main.cf 如下:-
myorigin = $mydomain
inet_interfaces = 213.229.80.33, 127.0.0.1
mydestination = 213.229.80.33, corunna.com, localhost, corunnasystems.com
mynetworks = 213.229.80.33, 127.0.0.0/8
relay_domains =
home_mailbox = Maildir/
# HELO restrictions
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks,
reject_non_fqdn_helo_hostname,
reject_invalid_helo_hostname,
permit
# Sender restrictions
smtpd_sender_restrictions =
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit
# Recipient restrictions
smtpd_recipient_restrictions =
reject_unauth_pipelining,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
permit_mynetworks,
reject_unauth_destination,
reject_rbl_client zen.spamhaus.org,
reject_rbl_client bl.spamcop.net,
check_policy_service unix:postgrey/socket,
permit
mailbox_command = /usr/bin/procmail
我没有 /etc/procmailrc 文件,但有一个 .forward 文件
"|IFS=' ' && exec /usr/bin/procmail -f- || exit 75 #user"
在服务器上的 2 个登录中的每一个以及每个登录都有一个 .procmailrc 文件。
:0
* ? echo $FROM | egrep -i -f /home/dconran/.whitelist
/var/mail/dconran
:0fw: spamassassin.lock
* < 64000
| spamassassin
:0:
* Subject:.*\[SPAM\]
megaspam
:0:
* ^X-Spam-Status: Yes
megaspam
:0:
* ^X-Spam-Level: \*\*\*\*
bigspam
我的所有邮件都通过 SpamAssassin 传输(据我所知),但其中一些邮件随后被转储到 megaspam 和 bigspam 文件中,而其他具有完全相同 SpamAssassin 标头(即显示该邮件是垃圾邮件)的邮件则能够到达我的电脑。
为什么有些信息可以传递出去,而那些看上去完全相似的信息却无法传递呢?
我的 Postfix/.forward/.procmailrc 设置有问题吗?