[SM-USERS] FW: Centos 7 & Squirrelmail issues

2019-07-24 Thread Squirrel Mail
Paul,

So, many many months have passed since I had been working on this without 
success, other things were far more important so it was shelved.

So now having time to focus on this issue, and the unfortunate luxury of brand 
new Centos build I dove in. All the systems here while not identical in 
hardware, server very similar purposes and are configured nearly identically to 
each other. Imagine my surprise when Squirrelmail 1.4.23 [SVN] was installed on 
the new Centos build and instantly just worked, completely properly as it had 
been for several years on several Centos 6 here.

Through a rather lengthy PD process I finally found the root cause using 
Firefox's inspect element function:

Load denied by X-Frame-Options: https://webmail.yycmaker.ca/src/left_main.php 
does not permit framing.(unknown)
Load denied by X-Frame-Options: https://webmail.yycmaker.ca/src/right_main.php 
does not permit framing.(unknown)

Which lead me to the direct cause of the blank screen after login which was:

Header always set X-Frame-Options DENY

Which was hiding in the file:

etc/httpd/conf.d/ssl.conf

I greatly appreciate all the time and effort that yourself and the team put 
into Squirrelmail. In my humble opinion, more so now than ever before it is 
nice to have a reasonable and useful alternative to the big data platforms.

-Original Message-
From: Paul Lesniewski [mailto:p...@squirrelmail.org] 
Sent: January 25, 2019 14:59
To: SquirrelMail
Subject: Re: Centos 7 & Squirrelmail issues

Hint: you also need to look in your PHP logs to find out what the error is.  
See:

https://www.squirrelmail.org/docs/admin/admin-11.html#ss11.1

--
Paul Lesniewski
SquirrelMail Team
Please support Open Source Software by donating to SquirrelMail!
http://squirrelmail.org/donate_paul_lesniewski.php



On Fri, January 25, 2019 8:25 am, SquirrelMail wrote:
> Hi,
>
>
>
> I have been using Squirrelmail successfully on a Centos 6 machine for
> quite
> some time but have never been able to get it to work under Centos 7. The 2
> attached screen caps are what is displayed in the browser  after a
> successful login, and the 2nd is what the source code for the page is, a
> clickjacking attempt from webmail.php (I suppose). Below is the result of
> the configtest, although I notice a 22519 error, which I hadn't noticed
> before but I am not certain if it is new.
>
>
>
> Any help is greatly appreciated.
>
>
>
> Cheers, Rob.
>
>
>
>
>
> SquirrelMail configtest
>
> This script will try to check some aspects of your SquirrelMail
> configuration and point you to errors whereever it can find them. You need
> to go run conf.pl in the config/ directory first before you run this
> script.
>
>
> SquirrelMail version:
>
> 1.4.23 [SVN]
>
>
> Config file version:
>
> 1.4.0
>
>
> Config file last modified:
>
> 25 January 2019 00:47:45
>
> Checking PHP configuration...
> PHP version 5.4.16 OK.
> Running as apache(48) / apache(48)
> display_errors: 1
> error_reporting: 22519
> variables_order OK: GPCS.
> PHP extensions OK. Dynamic loading is disabled.
> Checking paths...
> Data dir OK.
> Attachment dir OK.
> Plugins OK.
> Themes OK.
> Default language OK.
> Base URL detected as: https://webmail.yycmaker.ca/src (location base
> autodetected)
> Checking outgoing mail service
> SMTP server OK (220 legolas.rdstekpro.ca ESMTP Postfix)
> Checking IMAP service
> IMAP server ready (* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR
> LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot
> ready.)
> Capabilities: * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS
> ID
> ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN
> Checking internationalization (i18n) settings...
>  gettext - Gettext functions are available. On some systems you must
> have appropriate system locales compiled.
>  mbstring - Mbstring functions are available.
>  recode - Recode functions are unavailable.
>  iconv - Iconv functions are available.
>  timezone - Webmail users can change their time zone settings.
> Checking database functions...
> not using database functionality.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>



-- 
This message has been scanned for viruses and
dangerous content by the MailScanning System, 
and appears to be clean.



-
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): 
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] Individualized timezones.

2004-10-06 Thread roger-squirrel-mail
I'm playing with 1.4.3a. I have searched for information on
setting the timezone, and everything points to the Options and then
Personal Information pages. However, that page shows absolutely nothing
about timezones.

I checked all files in the tarball (grep -i timezone) and there
seem to be some references in the language files, but something's
definitely missing.

Was this removed for some reason? My server runs UTC, and most
users would prefer the local timezone (and some users are in different
timezones).

Pointers would be appreciated. Thanks.

-- 
Roger Walker
"HIS Pain - OUR Gain"



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


RE: [SM-USERS] Individualized timezones.

2004-10-06 Thread roger-squirrel-mail
On Wed, 6 Oct 2004, Christopher Wagner wrote:

> For my part, I'm running Squirrelmail 1.4.3a on Debian and am showing
> quite clearly "Timezone Options" under "Options" then "Personal
> Information".

I checked the frame, again, plus the view-source for the frame,
and it isn't there.

Grepping around a bit I find this:

./include/validate.php:$tzChangeAllowed = (!ini_get('safe_mode'))

I suspect this is the problem, but I can't find the ini_get
function (PHP?) and I don't know what it's returning.

-- 
Roger Walker
"HIS Pain - OUR Gain"



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


RE: [SM-USERS] Individualized timezones.

2004-10-07 Thread roger-squirrel-mail
On Thu, 7 Oct 2004, Tomas Kuliavas wrote:

> > Set the "safe_mode" off, restart apache, and the Timezone option
> > magically appears.
>
> It is enough to add TZ variable to safe_mode_allowed_env_vars

Thanks, I'll keep that in mind.

> If you have safe mode turned on, there must be some reason for that.

Because I changed it from the default install to see what would
happen. I've since changed a few other things, like restricting the
open_basedir to the squirrelmail directory hierarchy.

-- 
Roger Walker
"HIS Pain - OUR Gain"



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[SM-USERS] SquirrelMail for large installations?

2004-10-07 Thread roger-squirrel-mail
I am wondering if SW will work well for large installations. The
last ISP I did some work for (about 1 million mailboxes) switched from a
defunct commercial product to Horde. But Horde suffered from a lot of
overhead, doing a pop/imap login for every page update and transferring
all the data each time. (I don't know if the "fixes" were ever contributed
back to the project.)

One of the reasons I waited so long to try SquirrelMail was
because (to my knowledge) it doesn't access Maildir format directly. I
haven't worked with any very large sites using Maildir - I suspect using
imap may be the only practical way to set up multiple webmail front ends,
anyway. I'd just like to reduce the overhead on my (admittedly
underworked) system.

-- 
Roger Walker
"HIS Pain - OUR Gain"



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


Re: [SM-USERS] SquirrelMail for large installations?

2004-10-07 Thread roger-squirrel-mail
On Thu, 7 Oct 2004, Jay Lee wrote:

> Take a look at the imapproxy project http://www.imapproxy.org.  This
> prevents the login/logout problems by caching a connection to the imap
> server.

Thanks for the pointer.

> No it doesn't.  Squirrelmail and most other webmail servers want to offer
> compatability with the most mail servers possible.  For that reason they
> interface with known standards like IMAP or POP3 rather than directly with
> a particulare mail server's storage format such as Maildir, mbox or a
> database.

And that has likely accounted for its popularity, and all those
plugins.

> One webmail solution that does interface directly with Maildirs
> is Courier SQWebmail (http://www.courier-mta.org/sqwebmail).  But's it's
> somewhat ugly, not very user friendly and much harder to customize.

I first tried oMail - written in Perl so I could easily hack the
authentication and stuff that I needed, and even looked fairly nice. But
it has absolutely no features, and the folders didn't look compatible with
courier's Maildirs. Next tried sqwebmail, but I haven't done C/C++ in
about a decade, and trying to hack the authentication for my needs looked
like too much work. Plus, not a lot of features, and I thought it looked
ugly, too.

> Load balancing would be the way to go for a large installation.

Yes, we did a lot of that, also.

-- 
Roger Walker
"HIS Pain - OUR Gain"



---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
--
squirrelmail-users mailing list
Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [EMAIL PROTECTED]
List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users