A machine comprising a frame, such as a frame supporting a control unit and/or a machine's fluid circuit (4,40,41,42,43), and a capsule handling device (1") mounted in and/or on the frame, such as a device (1") having an outlet for dispensing an extract of a capsule (2a,2b) handled by the device and optionally a fluid inlet connected to a machine's fluid circuit (4,40,41,42,43) for circulating a fluid into such capsule (2a,2b), the capsule handling device (1") comprising: - a first part, such as a first part that has a support with an outlet for letting out an extract of said capsule (2a,2b) e.g. via or along an opening device such as via an opening plate, the first part being optionally fixed to the frame or movable thereto; - a second part that is movable relatively to the frame from a transfer position for inserting and/or removing said capsule (2a,2b) to an extraction position for extracting such capsule and vice versa, the second part comprising: - a capsule receptacle delimiting a cavity for receiving such capsule (2a,2b) and for forming in the extraction position an extraction chamber (21") with the first part; and - a first portion and a second portion that are relatively movable between a first relative position and a second relative position; and - optionally an inlet for letting a fluid into the chamber (21") to said capsule (2a, 2b) in the chamber (21") e.g. via or along an opening device such as via one or more piercing elements in cavity; and - an actuator (30,300), such as a motor or a handle, connected to the second part for driving the movable second part between the transfer position and the extraction position, for instance an actuator (30,300) that is fixed in or to the frame, the actuator (30,300) being further connected to the first and/or second portions (21a,21b) of the second part to relatively move the first and second portions (21a,21b) between their first and second relative positions, optionally the actuator (30,300) driving the second part between its transfer and extraction positions and driving the first and second portions (21a,21b) of the second part between their first and second positions: simultaneously; or sequentially; or partly simultaneously and partly sequentially, characterised in that the first portion and the second portion are relatively movable between the first relative position and the second relative position to change at least one dimension (21da,21db,21ha,21hb) of the cavity and of the extraction chamber (21"), optionally at least one of the first and second portions (21a,21b) comprising a base (211a,211b) and a dimensional adjuster (210a,210b) movably mounted to the base, such as an anti-backlash arrangement for urging the first and second parts (10,20) together and/or against said capsule (2a,2b) e.g. for sealing, for instance a dimensional adjuster (210a,210b) that is actuated hydraulically e.g. via a hydraulic circuit that comprises a fluid passage (213a,213b) and/or one or more sealing elements (212a,212b,212c) such as a hydraulic circuit that is connected to said machine's fluid circuit (4,40,41,42,43) e.g. to said fluid inlet of the device (1") - a first part, such as a first part that has a support with an outlet for letting out an extract of said capsule (2a,2b) e.g. via or along an opening device such as via an opening plate, the first part being optionally fixed to the frame or movable thereto; - a second part that is movable relatively to the frame from a transfer position for inserting and/or removing said capsule (2a,2b) to an extraction position for extracting such capsule and vice versa, the second part comprising: - a capsule receptacle delimiting a cavity for receiving such capsule (2a,2b) and for forming in the extraction position an extraction chamber (21") with the first part; and - a first portion and a second portion that are relatively movable between a first relative position and a second relative position; and - optionally an inlet for letting a fluid into the chamber (21") to said capsule (2a, 2b) in the chamber (21") e.g. via or along an opening device such as via one or more piercing elements in cavity; and - a capsule receptacle delimiting a cavity for receiving such capsule (2a,2b) and for forming in the extraction position an extraction chamber (21") with the first part; and - a first portion and a second portion that are relatively movable between a first relative position and a second relative position; and - optionally an inlet for letting a fluid into the chamber (21") to said capsule (2a, 2b) in the chamber (21") e.g. via or along an opening device such as via one or more piercing elements in cavity; - an actuator (30,300), such as a motor or a handle, connected to the second part for driving the movable second part between the transfer position and the extraction position, for instance an actuator (30,300) that is fixed in or to the frame,