Sendmail标题重写(收到的邮件,BCC /未公开的收件人到TO)(Centos)

时间:2014-02-04 07:41:28

标签: header centos rewrite sendmail bcc

我的服务器使用sendmail 8.13.8进行传入和传出。

我收到垃圾邮件的目的地是未披露的收件人 - (参见下面的示例)我想知道垃圾邮件发送者将此邮件发送到哪个地址,因为我的邮箱使用来自多个域的全部邮件...

我知道我可以去maillog但是那个文件可能非常大。有没有办法重写Sendmail标题名称以始终显示TO而不是总是获得未公开的收件人或垃圾邮件发送者输入的BCC地址?比如他自己?我花了几个月的时间搜索结果,所以我想我会问,谢谢你提前。

From: Micheal Manka [mailto:micheal.manka103@gmail.com] 
Sent: Monday, February 03, 2014 11:15 PM
To: undisclosed-recipients:
Subject: Order

Dear Sir/Madam
I would like to purchase Trap Doors r from your shop.What types of them you have 
in the size and what would be the prices? What types of payments do you accept? 
Looking forward to hear from you soon.

Regards,

Micheal Manka

1 个答案:

答案 0 :(得分:0)

Sendmail FAQ 3.29 : How can I add a header specifying the actual recipient when having multiple users in a virtual domain go to a single mailbox?

每个收件人一个副本的简单版本将用户名作为$ 1传递给~catchall / .procmailrc

的virtusertable:

@mydomain.com  catchall+%1

http://anfi.homeunix.org/sendmail/sharedmailbox.html

提供了FAQ条目末尾提到的更复杂的版本http://www.jmaimon.com/sendmail/anfi.homeunix.net/sendmail/sharedmailbox.html