dogana is a town and a civil parish (curazia), whose name means 'customs house'; it is found in the north-eastern corner of san marino in the serravalle municipality ('castello'). the town is the most populated settlement in the republic.