Let $(X,\mathcal{S}, \mu)$ be a measure space with $X$ a locally compact Hausdorff space, $\mathcal{S}$ the Borel subsets of $X$ and $\mu$ a complex measure. Suppose that $$ \int_X f \ d\mu \in \mathbb{R} $$ for all $f\in C( X,\mathbb{R} )$ i.e. the continous functions from $X$ to $\mathbb{R}$. I want to know if this implies that $\mu$ is a real measure? Of course with $f\equiv1$ we have that $\mu(X) \in \mathbb{R}$, but does this necessarily implies that $\mu(E)\in \mathbb{R}$ for all $E \in \mathcal{S}?$
I am incline to think that $\mu$ must be a regular measure for this to happen.