Just to followup, my last problem was with modsecurity. A few clients with old sites on this box, have to have it. Did some exceptions for /webmail/

South Computers wrote:
Thanks for the replay Gilbert. Figured that one out, but put it in my squirrelmail.conf instead, worked fine. Still getting errors though. I see in my imap log, it shows it logging out almost immediately after logging it.

Gilbert T. Gutierrez, Jr. wrote:
in /etc/httpd/conf/httpd.conf add the following in the bottom


RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Gilbert T. Gutierrez, Jr.
Operations Manager
Phoenix Internet
(602)385-0720


On 1/6/2013 9:06 PM, South Computers wrote:
First, Happy New Year all!

Just put a new toaster online, replacing one I've had up for about 7 years. Went mostly smoothly, except for the http side of stuff.

Pardon me for rehashing anything that's be brought up recently, haven't had the time to keep up lately.

Anyway, getting the ever popular "You must be logged in to access this page" in squirrelmail intermittently, so in doing some digging, I fidn it is most likely a a sessions problem. Apparently sqmail wants to use "Encrypted connections only" cookies out of the box, so I try logging in with https, and sure enough, all works well every time (so far anyway).

Which leads me to search for an easy way to force my /webmail httpd alias to force everything to use https. I find the secure_login plugin on the sqmail site, and go looking for the plugins dir. Appears to be missing in the current build. No worries. I copy it from another box, put it on the new box, and enable the secure_login plugin. It still has issues apparently, so I disabled it again.

So.... just an fyi that sqmail plugins directory appears to be missing in the current packages.

And, back to the main issue. Anyone have an easy way to force a redirect to https for the /webmail alias without having to do each domain individually, or a bunch of rewrites/htaccess work?

Thanks!
Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com




---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com





---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com





---------------------------------------------------------------------
To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com
For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com

Reply via email to