We show here a weak Hölder regularity up to the boundary of the solution to the Dirichlet problem for the complex Monge-Ampère equation with data in the Lp space and Ω satisfying an f-property. The f-property is a potential-theoretical condition that holds for all pseudoconvex domains of finite type and many examples of infinite-type ones