From personal experience:
A new unit from a sealed "genuine spare parts" box will not leak until the cartridge is replaced.
How soon the leakage occurs depends on the new cartridge seal, the guy who did the job and external factors like air temperature and road conditions. There are new seals with the wrong shape and/or thickness, mechanics using a vise instead of the proper tool, people who do not lubricate the thread and the ones using just their elbow joint to determine what is 30 nm torque.
The worst I encountered was an Italian Fiat "specialist" who took the badly leaking unit to his workshop and came back saying he tightened it so it would never leak again. Shortly thereafter, going downhill on a steep mountain road, the filter housing burst open where he had put it in a vise and within 2 miles we lost almost all fuel.