jpg in diffuse for the backplate is fine, you can adjust cororintensity by gamma/exposure/saturation/opacity.. whatever works for you :) and for the distance to the camera, usually i use a cylinder object section high enough to cover whats seen through the window and you should put it far enough away that the sun/skylight can actually get in, so further is better, just make the backplate big enough and your finde :)
abou the portal light, usually i put those inside the opening, exactly fitting, so for example your window is 160/100 cm, make the plane 160/100cm too and fit exactly inside the opening - there should be no objects cutting the portal, at least for me i get better results that way... basically in front of the window on the inside..
if you still have problems getting the light as you want, try placing area lights (low settings) behind the camera