1

Topic: Can't login to Roundcube externally

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Ubuntu 14.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP (Switched to AD)
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? no
- Related log if you're reporting an issue:
====

Recently setup a new iRedMail server with Roundcube for webmail using the tutorial at :

http://www.unixmen.com/how-to-install-i … -in-linux/

along with :

http://www.iredmail.org/docs/active.directory.html

to setup AD authentication.

It works great internally.  I can access the admin website and the roundcube webmail site.  I can authenticate using my AD users and send emails as said users.  I can see all AD users in the GAL.

However...

If I open up my firewall to allow access to the webmail site, I can access it.  However I cannot login if attempting from an external location.  Using the same login that works internally, generates the error, "Invalid request! No data was saved."

If I look at the Dovecot log I see the following:

Apr 04 13:46:18 imap-login: Info: Login: user=<xxxxx@xxxxxxxxx.info>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2398, secured, session=<2dRy+60vQAB/AAAB>
Apr 04 13:46:18 imap(xxxxx@xxxxxxxx.info): Info: Disconnected: Logged out in=273 out=1009
Apr 04 13:56:26 lmtp(965): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill)

Any idea how to make this work?

----

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

2

Re: Can't login to Roundcube externally

Figured out my own issue...  I apologize!

For reference my issue was for some reason it was redirecting back to the http site.  Fixed it so it redirected in nginx always to https and it is now working.