如何从电子邮件中获取SpamScore

时间:2016-06-06 12:46:12

标签: php imap spamassassin

简单的问题。如何从电子邮件中获取有关垃圾邮件分数的信息?垃圾邮件刺客会收到每封电子邮件的评分。

Content-Type: multipart/alternative; boundary=001a1147c0c49c760505349aecf2
X-Spam-Status: No, score=-2.5
X-Spam-Score: -24
X-Spam-Bar: --
X-Ham-Report: Spam detection software, running on the system "xxx.xx.xx",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 root\@localhost for details.

我猜,我可以访问此信息获取标题imap_fetchheader,但我得到的只是

[date]
[subject] 
[message_id]
[toaddress] 
[to]
[fromaddress]
[from]
[reply_toaddress] 
[reply_to]
[senderaddress] 
[sender]

所以我仍然缺少垃圾邮件分数信息。我需要能够将一些电子邮件发送到垃圾邮箱,一些邮件发送到收件箱。

0 个答案:

没有答案