An overring of an integral domain is a domain lying between it and its quotient field. Is it possible to have an overring $S$ of an integral domain $R$ such that $S$ has two maximal ideals $\mathfrak{m}$ and $\mathfrak{n}$ with $R \cap \mathfrak{m} \subsetneq R \cap \mathfrak{n}$? I think this should be possible but I can't come up with an example. Such an overring $S$ of $R$ cannot be flat or integral over $R$.
I feel like it should be straightforward to come up with an example or prove that there can't be such an example, but thus far all of my attempts have failed. I posted the question first on Math StackExchange but didn't get any replies.