johndoe@gmail.com and john.doe@gmail.com are obviously two different addresses. At least for me. I don't see why the first one should receive mails from the second one.
They are two different addresses, think of the second as an alias to the first.
Google creates an alias for every possible combination of dotted email address to your primary.
If you don't want to use the feature, you don't have to. Lots of people find it extremely useful.
It wasn't always that way on gmail. I have a long-lived account and someone else has in the past had a working address of the same words without the dot but always used the @googlemail.com address.
Note: my bit of research into this taught me that the googlemail.com domain is used by Gmail users in Germany, Russia, and Poland where the Gmail trademark was already taken 1. In each case, Google was forced to use “googlemail” and therefore googlemail.com instead. As of 2012, the situation with Germany was straightened out and new users to Gmail there get assigned a gmail.com domain.