Wow, that's a unique overflow... For this to work, you'll have to angle the end of that horizontal piece down, not up. You'll also have to make sure there's a hole drilled in the top of the white Tee fitting (which I assume has a cap on it). That way your drain only sucks air through the hole in the cap and water through that long horizontal.
that white t-bit is not a t-bit its a 90D angle ! with goes in to a 45d angle pipe!