> I do have to question having your client verify DKIM again, though. > These activities should be dealt with inside of your MTA and not a > mail destination script hanging off of the MTA. What exactly are you > trying to protect against? A user forging an email to your MTA as > twitter? Yes - that's exactly what I'm afraid of.
> That's defensible by fixing your MTA's configuration (to validate DKIM > and SPF coming from twitter.com hosts) and not doing it in your script. You're right. After doing a quick reading yesterday, I realized that I can configure Postfix to do this validations for me. The only reason I'm still considering doing the DomainKeys validation in my code is because I heard more than once that DomainKeys is still not stable enough and can cause problems. Having it in my code instead of Postfix configuration makes it more maintainable, isn't it? Arik
