Venting occurring during initial closing or opening of the container, by means of a passage for the escape of gas between the closure and the lip of the container mouth