A Sanford man was sentenced today in U.S. District Court in Portland for possessing fentanyl with intent to distribute.