System and method for compensating distortions introduced by an optical channel and by at least one directly modulated transmitting laser that transmits a modulated optical signal that carries data to a receiving end over the optical channel. At the receiving end, the transmitted signal is received by a coherent receiver that processes the received signal by compensating the distortions introduced by the optical channel by applying, on the received signal, an operator being capable of essentially compensating for all fiber distortions in the optical channel; compensating the non-linear phase distortions and/or statistical phase distortions introduced by the directly modulated transmitting laser by applying, on the processed signal obtained after compensating the fiber distortion, a non-linear operator being the extraction of the absolute value of the compensated signal; and extracting the data carried by the processed signal, from the absolute value of the processed signal obtained after compensating the non-linear phase distortions and/or statistical phase distortions, thereby demodulating the processed signal.