IT_Architect
Verified User
- Joined
- Feb 27, 2006
- Messages
- 1,029
How can I force secure login on SquirrelMail?
Thanks!
Thanks!
Thanks Jim. I did find references to a plugin earlier, but not where or how. I'm not sure if this is the same reference or not, but I will check it out as soon as their site is back up.It contains a couple of suggestions as well as a reference to a plugin.
Then I might be better with the plugin to prevent getting hosed with updates. I will investigateI think that is how the Secure Login plugin works.
IT_Architect said:I have secure login working and can force an https login on SquirrelMail. This is a report of how I did it as well as a request for comment. The environment is DirectAdmin, FreeBSD 6.0, and SquirrelMail(actually NutsMail, which is a skinned version of SquirrelMail).
1. SSH to /var/www/html/webmail
2. Copy off index.php to index.php.ori (original)
3. Edit index.php
4. Comment out the line that reads:
header('Location: src/login.php');
5. Enter a new one below it that reads:
header('Location: https://<server's main IP address>/webmail/src/login.php');
It's actually NutsMail!, which is skinned SquirrelMail. In fact the files themselves say SquirrelMail Project inside.Are you talking about squirrelmail or the other?
It works fine, and has since March 2006. If you want, I'll PM you a link to the server and you can try it yourself.Even if it was. This solution does not work if you click on WEBMAIL from the control panel
IT_Architect said:It's actually NutsMail!, which is skinned SquirrelMail. In fact the files themselves say SquirrelMail Project inside.
I just checked the paths. They are exactly as stated. After you go there, look at the bottom of the index.php file and you will see the redirect. Notice how I commented the original out, and replaced it.
//header('Location: src/login.php');
header('Location: https://<IP or domain name>/webmail/src/login.php');
It works fine, and has since March 2006. If you want, I'll PM you a link to the server and you can try it yourself.
Like I said in my post, this is for FreeBSD 6.0. What are you using?
I've upgraded to 6.1 also since I posted this.pucky said:Im running Freebsd 6.1 but i dont see a problem between the two version.
It works fine in all browsers.Let me ask you. you said its working? Have you tried IE? You must be using Firefox or Opera.
IT_Architect said:This has been a long time since this was set up, but when you click on your webmail link, or type http://MyDomain.com/webmail in a browser, what happens?
How can I force secure login on SquirrelMail?
Thanks!