A man has been sentenced to life in prison for ordering narcotics via mail and storing a cache of assorted drugs weighing 8.45kg at his home .