This paper deals with local rings R possessing an m-canonical ideal omega, R subset of omega. In particular those rings such that the length I-R(omega/R) is as short as possible are studied. The same notion for one-dimensional local Cohen-Macaulay rings was introduced and studied with the name of Almost Gorenstein. Some necessary conditions, that become also sufficient under additional hypotheses, are given and examples are provided also in the non-Noetherian case. The case when the maximal ideal of R is stable is also studied. (C) 2008 Elsevier B.V. All rights reserved.