Coder Social home page Coder Social logo

realityripple / squirrelmail Goto Github PK

View Code? Open in Web Editor NEW
51.0 9.0 15.0 22.92 MB

🌰️🐿️ SquirrelMail GitHub Repository (PHP 7-OK!)

License: GNU General Public License v2.0

PHP 80.26% Perl 7.19% Shell 0.18% Roff 0.03% CSS 2.19% Smarty 8.94% Makefile 0.01% C 0.12% JavaScript 1.08%
squirrelmail php php7 php71 php72 php73 webmail webmail-client webmail-inbox email-client

squirrelmail's Introduction

SqirrelMail 1.5.2

A version of SquirrelMail for PHP 7.0 and above with additional changes for compatibility or security reasons.

This version contains the following changes:

  • Legacy constructors replaced with __construct.
  • While/List/Each are now ForEach.
  • Instances of mt_rand are now cryptographically secure, using random_int.
  • Message IDs are generated differently.
    • The ID is now a Version 5 UUID based off 64 cryptographically secure random bytes.
    • The domain now matches the value of the username variable, if it contains an "@". Otherwise, it falls back to the SERVER_NAME variable like normal.
  • Instances of SizeOf are now StrLen because PHP is not C.
  • Instances of create_function are now inline functions.
  • The X-Frame-Options: SAMEORIGIN header has been replaced with CSP's frame-ancestors header. This is set based on the provider_uri preference, and accepts any http or https domains or subdomains that match.
    • A new variable in the config will be added at a later point.
  • SCRAM support for SMTP and IMAP logins, supporting any hash algorithm PHP supports (with checks against HMAC list on 7.2+).
  • Optional parameters corrected for PHP 8.0.

Additionally, some minor fixes that would cause warnings or strange failures have also been resolved. Changes to the official source code are tracked in the trunk branch and merged with master as soon as possible. I'm looking into a way to automate this process.

squirrelmail's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

squirrelmail's Issues

instalations issues, redirect does not work

i sued to made some steps as for older squirremail and after that login and redirect doe snot work...

i just said "you must be login to work"

ther's some aditional or different step in the installation process?

why the documentation are not updated? this it's php7 only project?

i can help with those task but i need first help!

X-Frame-Options

Note: The Content-Security-Policy HTTP header has a frame-ancestors directive which obsoletes this header for supporting browsers.

Schermata da 2021-02-11 20-59-04

Qualcuno di voi si e` trovato un errore come il mio ?

wrong brace in imap_messages.php

In Master branch from 2023-09-18 ther is an error.

In line 121 of /functions/imap_messages.php there is a brace set wrong:

is
&& !isset($parseFetchResults)['UID']) {

should be:
&& !isset($parseFetchResults['UID'])) {

RFC6331: Moving DIGEST-MD5 to Historic

20 November 2008: CRAM-MD5 to Historic:

29 June 2017: CRAM-MD5 to Historic:

July 2011: RFC6331: Moving DIGEST-MD5 to Historic:

There are now:

Linked to:

SCRAM-SHA-1(-PLUS) + SCRAM-SHA-256(-PLUS) supports

"When using the SASL SCRAM mechanism, the SCRAM-SHA-256-PLUS variant SHOULD be preferred over the SCRAM-SHA-256 variant, and SHA-256 variants [RFC7677] SHOULD be preferred over SHA-1 variants [RFC5802]".

SCRAM-SHA-1(-PLUS):

SCRAM-SHA-256(-PLUS):

SCRAM-SHA-512(-PLUS):

SCRAM-SHA3-512(-PLUS):

SCRAM BIS: Salted Challenge Response Authentication Mechanism (SCRAM) SASL and GSS-API Mechanisms:

-PLUS variants:

IMAP:

LDAP:

  • RFC5803: Lightweight Directory Access Protocol (LDAP) Schema for Storing Salted: Challenge Response Authentication Mechanism (SCRAM) Secrets: https://tools.ietf.org/html/rfc5803

HTTP:

JMAP:

2FA:

IANA:

Linked to:

Can’t Open This Page Frames

just checkout the latest squirrelmail and after login, the page with the 2 frames cannot be shown:

Firefox Developer Edition Can’t Open This Page

To protect your security, atraxrobustus.com will not allow Firefox Developer Edition to display the page if another site has embedded it. To see this page, you need to open it in a new window.

What's your relationship to the upstream project?

I need to host an arbitrary old instance of SquirrelMail originally not set up by me at all. Though, I needed to update that host from UB 16.04 to 20.04 because I needed a newer PHP and ran into some problems with SquirrelMail, e.g. the INBOX simply doesn't show any mails for anyone anymore. OTOH, sending mails still seems to work. This is most likely because my version of Squirrel doesn't support the newer PHP properly, e.g. I get the following error:

Kategorie: | PHP
-- | --
Nachricht: | Illegal string offset 'A001'
FILE: | /[...]/squirrelmail/functions/imap_general.php
LINE: | 456

During investigation of how to deal with problems like these I had a look for newer releases, forks etc. of SquirrelMail and came across your repo. While there hasn't been any release for years, it seems their is at least some maintenance UPSTREAM and in your repo of course. What I don't understand yet is how your repo and UPSTREAM are connected, if at all and which code base I'm should be using in future. So would be great if you could explain a bit about your background, motivation and stuff and answer questions like the following:

Am I correct that your repo is NOT an official GitHub-mirror, fork of the project or alike, but you are simply an interested person like myself trying to keep things running? If so, are you providing your fixes relevant to other users UPSTREAM? Are you merging ALL changes made UPSTREAM or only some of interest to you? Are you releasing in some sort or simply providing your code as-is to people who might find it helpful?

Thanks!

locales repo for translations

Hi,
Thank you very much for keeping SquirrelMail somewhat alive.

Is it possible to also make an import of the locales repository from SVN? That way translations can be updated and maybe added. I am using Dutch myself and it is quite up to date, but I can imagine other languages might need more work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.