Let $(R,\mathfrak m)$ be a commutative Noetherian local ring and $M$ be an $R$-module such that $M \neq \mathfrak m M$ and $\mathrm{Hom}_R(M,R)\neq 0$. Then, is it true that $\mathrm{Hom}_R(M,R)\neq \mathfrak m \mathrm{Hom}_R(M,R)$ ?
If $M$ is finitely generated, this is of course just Nakayama's lemma, but what if $M$ is not finitely generated?