I know that for a compact manifold $M$ any maximal ideal in the algebra $C^\infty(M)$ of smooth functions on $M$ is of the form $\mathfrak{m}_p=\{f\in C^\infty(M)|f(p)=0\}$. For example, the proof is in the answer to this question.
Is that true for non-compact manifolds? For example, for $M=\mathbb{R}$? I don't think so, but I can't figure out a counterexample. Do you know any example of a maximal ideal in $C^\infty(\mathbb{R})$ which is not of the form $\mathfrak{m}_p$?
Thank you very much!
Edit: Thank you very much for pointing out the maximal ideal, containing the ideal of compactly-supported functions. Does anyone know how to describe it?