postfix access config
Hi, lately I have been getting lots of spams ( who doesn't these days? ), and I noticed that these spams are easy to detect, since from the following header information, you can see the sender's address is a fake one:
Message-ID: <000901c6c1b3$38dafc30$67b20c48@ryjcud.znx>
From: "Joshua Buchanan" <inb@statusproperty.co.uk>
So I am thinking to REJECT such spams from postfix. The rule would be simple:
extract sender's actual sending domain and claimed domain from Message-ID field and From field, and compare them. Normally these two should be same ( is it true? ). Otherwise, reject.
However, I am not an expert in postfix. Anyone could help how to configure postfix to do this task efficiently?
Thanks.
|