The chemical reactions and pathways involving pyrimidine deoxynucleoside monophosphate, a compound consisting of a pyrimidine base linked to a deoxyribose sugar esterified with phosphate on the sugar.