New York City officials announced measures yesterday intended to do away with the obligatory long and often expensive trips by friends and relatives of city jail inmates to deposit money into inmates ' spending accounts .