Recall that a Jacobson ring $A$ is a ring such that all prime ideals are an intersection of maximal ideals. Is the following true? If $f:A\to R$ is a ring map with $A$ Jacobson, and $\mathfrak m$ is a maximal ideal of $R$, then $f^{-1}\mathfrak m$ is maximal?
Proof attempt: Let $\mathfrak p = f^{-1}(\mathfrak m)$. We know $\mathfrak p$ is prime, hence $\mathfrak p = \bigcap_{\mathfrak M\supset\mathfrak p}\mathfrak M$. So $A/\mathfrak p\to R/\mathfrak m$ is injective, the target is a field. By the Chinese remainder theorem, $A/\bigcap{\mathfrak M} = \prod A/\mathfrak M$ which is a subring of a field, and in particular a domain. But a product of fields is a domain if and only if the product consists of a single field, so $\mathfrak p$ is maximal.
I think this is wrong though, because this seems to imply that the inverse of any prime ideal is maximal. The proof didn't really use maximality of $\mathfrak m$ in an essential way. Is there an obvious mistake/easy fix or is the argument or statement completely wrong?