The Problem is, all actions in roundcube get an json back from server, and if i send a redirect with an new location from an other site, it doesnt matter. Only a popup with an error message appears. The answer should be an json and a new site will ignored. How can i send, with a new location, an json answer to logout the user? I hope someone understand my problem. :-)