In literature there exists the following definition:
$Y$ is a realcompactification of $X$ if $X$ is dense in $Y$ and $Y$ is realcompact.
What I actually want to define instead is this:
$Y$ is a realcompactification* of $X$ if $X$ is $G_\delta$-dense in $Y$ and $Y$ is realcompact.
Here $G_\delta$-dense means that for every non-empty $G_\delta$ subset $U\subseteq Y$ we have $U\cap X\neq \emptyset$.
For example, if $\nu X$ is the Hewitt realcompactification of $X$, then $X$ is $G_\delta$-dense in $\nu X$. More generally, if $\rho(\mathcal{Z})$ is the Wallman-Frink realcompactification of $X$ with respect to a strong delta normal base $\mathcal{Z}$ on $X$, then $\rho(\mathcal{Z})$ is $G_\delta$-dense in $X$.
Suppose that $Y$ is a realcompactification* of a realcompact space $X$. Is it always the case that $Y = X$? If $X$ is $z$-embedded in $Y$, then $Y = X$. This will hold for example if $X$ is Lindelof, or $Y$ is $T_6$, see Extensions of Zero-sets and of Real-valued Functions by Blair.