1

Topic: Login fails with Invalid request! No data was saved.

==== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSql
- Linux/BSD distribution name and version: Centos 6.5
- Related log if you're reporting an issue:
====
Made a clean install on the CenOS 6.5 box default setup no changes made to setup config other than the necessary.Fail2ban is stopped and iptables rules are allowing permisiions.
In front of this exists another machine with nginx proxying to the backend apache from a DMZ.The iredmail panel login and other management utilities work without a problem.
However logging into the roundcubemail resullts in the given error:
Invalid request! No data was saved.

My nginx config proxyng to the backend is as follows;

upstream mailserv{
    server w.x.y.z:443;
}

server{
    listen 80;
    server_name _;

    location /{
    proxy_pass https://mailserv;
    proxy_redirect off;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_max_temp_file_size 0;
    client_max_body_size 10m;
    client_body_buffer_size 128k;
    proxy_connect_timeout 90;
    proxy_send_timeout 90;
    proxy_read_timeout 90;
    proxy_buffer_size 4k;
     proxy_buffers 4 32k;
    proxy_busy_buffers_size 64k;
    proxy_temp_file_write_size 64k;
    }

    location ~ /\. {
         access_log off;
         log_not_found off;
         deny all;
    }


}

where w.x.y.z is the server where iredmail is installed.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Login fails with Invalid request! No data was saved.

Please turn on debug in Roundcube config file /var/www/roundcubemail/config/config.inc.php (you can find default debug parameters in "defaults.inc.php"), then monitor its log file (same as Postfix log file by default) to find related error message.