Propagation of a quantized optical field through a thick sample of two-level atoms, considering the complete Zeeman sublevel structure, is theoretically investigated. Squeezing and entanglement between orthogonal polarization components is predicted for the transmitted field.