The BBC reported on July 17 that millions of US military emails have been mistakenly sent to Mali, a Russian ally, because of a minor typing error.

Emails reportedly intended for the US military's ".mil" domain have, for years, been sent to the west African country which ends with the ".ml" suffix.

According to the BBC, some of the emails contained sensitive information such as passwords, medical records and the itineraries of top officers.

The Pentagon said it had taken steps to address the issue.

According to the Financial Times, which first reported the story, Dutch internet entrepreneur Johannes Zuurbier identified the problem more than 10 years ago.

Since 2013, he has had a contract to manage Mali's country domain and, in recent months, has reportedly collected tens of thousands of misdirected emails.

None were marked as classified, but, according to the newspaper, they included medical data, maps of US military facilities, financial records and the planning documents for official trips as well as some diplomatic messages.

Mr. Zuurbier reportedly wrote a letter to US officials this month to raise the alarm. He said that his contract with the Mali government was due to finish soon, meaning "the risk is real and could be exploited by adversaries of the US".

Mali's military government was due to take control of the domain on Monday.