I'm wondering if Postfix can do the following easily. It's a real dog to get this setup in Exim.

Here is the scenario.

John Doe receives email at john...@abc.com.

He is ONLY to receive email that is fully DKIM and/or SPF compliant from anyone at the xyz.com company.

Sometimes people send John Doe spoofed emails with the spoofed domains and spoofed senders such as s...@xyz.com (note the sender has faked the acceptable domain for John). This email MUST go into another folder because it will most likely with fail DKIM and SPF.

However, sometimes John Doe receives properly compliant DKIM and/or SPF authenticated emails from otherpeo...@otherdomains.com and these, too, must go into a separate folder other than his inbox because they are properly authenticated AND NOT from xyz.com company.

Now, the above scenario will play out not just for John Doe, but also jane...@def.com - she should only receive emails from, for example, 789.com and anything else follows the same rules as above for John Doe.

In other words, a database or text list of emails with corresponding acceptable senders needs to be maintained and referenced for each user, I believe, unless a guru here can tell me how to get the flow properly.

Thanks.


Reply via email to