Commit graph

40 commits

Author SHA1 Message Date
taca
3e70c7041a Update squirrelmail to new snapshot, 1.4.23pre14523.
Should be fix PR pkg/50197.

Here is changes from previous pkgsrc's snapshot.

Version 1.4.23 - SVN
--------------------
  ...
  - Added Solarized Light and Solarized Dark themes, by Pavneet Arora.
  - Added associative edit list option widget, with optional folder
    list selector for values
  - Added option to use blank spacer instead of security image ("This
    image has been removed for security reasons.") for replacing
    unsafe images.
  - Full date and time is used as "title" (mouseover) text for dates
    shown on the message list screen
  - Custom Stylesheets are now sorted on the Display Preferences page
  - $xtra in the displayHtmlHeader function is now available in the
    global scope so that plugins can modify it during the generic_header
    hook
  - Added some generic client-side (JavaScript) libraries (including
    an asynchronous server request mechansim). See the new /scripts
    directory (plugin authors can refer to the plugin documentation
    for how to use them)
  - Added optional JavaScript folder list refresh ("check mail")
    mechanisms that try to avoid refreshing if server is not responding -
    see the $check_mail_mechanism setting in config/config.php or the
    "4. General Options ==> "21. Auto check mail mechanism" setting in
    the configuration tool.  (If you do not update your configuration,
    you will get messages in your logs:  "PHP Notice:  Undefined variable:
    check_mail_mechanism in /path/to/squirrelmail/src/left_main.php on
    line 322...")
  - Added advanced control over the SSL context used when connecting
    to the SMTP and IMAP servers over SSL/TLS (thanks to Emmanuel
    Dreyfus).  You can take a look at $imap_stream_options and
    $smtp_stream_options in config_local.example.php in SquirrelMail
    version 1.5.2 for more information.  These configuration settings
    should work the same under 1.4.23:
    http://sourceforge.net/p/squirrelmail/code/HEAD/tree/trunk/squirrelmail/config/config_local.example.php
  - Added ability to show login error from the IMAP server instead of
    traditional "Unknown user or password incorrect" (thanks to Alain
    Williams).  See $display_imap_login_error in the configuration
    file or "4.  General Options ==> 22. Display login error from IMAP"
    in the configuration tool.
  - Configuration tool now shows the SquirrelMail version
  - Added new attachments_top hook to src/read_body.php
  - When resuming a draft, correct (from) identity is now pre-selected
  - Removed overly-restrictive character limitations on address book
    nicknames
  - Prevent session lock-up caused by filters plugin trying to move
    messages in an account that is over quota
  - Added MD5 alternative to directory hash calculation
  - Added ability for administrator to control whether or not users
    can edit their reply-to address ($edit_reply_to in config.php)
  - Added new "login_before_page_header" (boolean) hook; allows
    plugins to have more explicit control over login page header
2015-09-06 12:04:12 +00:00
taca
fff65a0a96 Update squirrelmail to 1.4.23pre14345, snap shot from squirrelmail's
repository.  Approved by wiz@.

* Now work well with PHP 5.4 and later.

Version 1.4.23 - SVN
--------------------
  - Added capability to issue SEARCH commands in literal format (so that
    non-ASCII search terms are handled RFC-correctly).
  - Fixed hook name clash: new "smtp_auth" hook added in version 1.4.22
    has been renamed to "smtp_authenticate"
  - Added SASL PLAIN mechanism for IMAP logins; backported from version
    1.5.2.
  - Prevent syslog warning in call_user_func_array() call when no
    arguments given.  Patch from Jean-Philippe Guerard (#3309935).
  - Changed the read_body_menu_top hook from concat_hook_function to
    do_hook_function (plugin authors please note)
  - Always ensure that the Reply-To header is a full email address in
    outgoing messages
  - Fixed issue with Noselect mailboxes being clickable in folder list
  - Made performance improvements in mailbox listing
  - Attachment filename extensions changed from ".msg" to ".eml"
  - Unified address book searches somewhat: file-backed address books now
    search in each field individually; database-backed address books now
    search in fields other than first/last name (nickname, email); LDAP-
    backed address books now search in common name fields as well as by
    email address (cn, sn, givenname, mail)
  - You may now enable LDAP-backed address books to be listed (using
    the "List all" button on the address search screen accessed via
    the "Addresses" button on the compose screen) by adding
    "$ldap_abook_allow_listing = TRUE;" (without quotes) to
    config/config_local.php (previously, this required editing of a
    file).
  - Added ability to control browser rendering mode (quirks versus
    standards) - see the $browser_rendering_mode setting in
    config/config.php or the "4. General Options ==> 19. Browser
    rendering mode" setting in the configuration tool (#3240356).
  - Added "search_index_before" hook (analog of the "mailbox_index_before"
    hook)
  - Made performance improvements in security token handling
  - Improvements for compatibility with PHP 5.4.
  - Added option that allows users to have replies to their own
    messages sent to the recipient of the previous message (#3520988).
2012-12-28 04:03:34 +00:00
taca
ea52274a85 Update squirrelmail package to 1.4.22.
Version 1.4.22 - 12 July 2011
-----------------------------
  - Backported default timezone fix from version 1.5.2; helps mitigate
    timezone errors in environments where a default has not been set
    by the administrator.
  - Fixed system lock-ups caused by a combination of certain rare,
    malformed message headers and buggy versions of PHP mbstring
    (#3053349).
  - Now allow multiple plugins to handle (add links for) a single
    attachment MIME type.
  - Now allow administrators to disable all plugins or enable just
    a select few plugins (overriding the active plugins in the normal
    configuration) by setting $temporary_plugins as an empty array
    (all disabled) or an array with one or more plugin directory names
    in config_local.php.
  - Backport fix for call_user_func_array not supporting NULL as empty
    array in PHP 5.3.3
  - Fixed sqauth_read_password() for plugins on the login_verified hook.
  - Added SMTP SASL PLAIN authentication option to configuration tool
    (core support for such is not new).
  - Gmail doens't support standard search commands; removed sort buttons.
  - Forced addition of a file suffix to attachments that lack a filename
    (helps forwarded messages avoid spam filters) (thanks to Petr
    Kletecka) (#3139004).
  - Fixed missing security token in listcommands plugin.
  - Added smtp_auth hook (thanks to Emmanuel Dreyfus).
  - Made speed enhancements to threaded message display (thanks to Siim
    Poder) (#3288123).
  - Allow administrators to configure subfolders of user INBOXes to be
    treated as special folders by adding $subfolders_of_inbox_are_special
    to config_local.php.
  - Fixed incorrect display of INBOX subfolders under some configurations.
    IMPORTANT: You may need to update your configuration so that
    $default_sub_of_inbox is TRUE if it was FALSE (e.g., Courier IMAP users)
    and after updating to this version, your special folders are no longer
    listed at the top of your folder list.  Also, if this change prevents
    users from logging in with an error such as "ERROR: Could not complete
    request.  Query: CREATE "Trash" Reason Given: Invalid mailbox name.",
    you will need to correct the user preference values for the problem
    folders.  You can do so with commands such as the following for file-
    based preferences (adjust the data directory location as needed):
        find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Trash/trash_folder=INBOX.Trash/g' {} \;
        find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Drafts/trash_folder=INBOX.Drafts/g' {} \;
        find /var/lib/squirrelmail/data/ -name *.pref -exec sed --in-place 's/trash_folder=Sent/trash_folder=INBOX.Sent/g' {} \;
    Or, for database-based preferences:
        UPDATE userprefs SET prefval = 'INBOX.Trash' WHERE prefkey = 'trash_folder' AND prefval = 'Trash';
        UPDATE userprefs SET prefval = 'INBOX.Drafts' WHERE prefkey = 'draft_folder' AND prefval = 'Drafts';
        UPDATE userprefs SET prefval = 'INBOX.Sent' WHERE prefkey = 'sent_folder' AND prefval = 'Sent';
    MAKE SURE to back up your user preferences first!
  - Optimized message highlighting rules; faster message list display
    and faster highlight rules management (thanks to C. Bensend for
    extensive effort helping diagnose)
  - New Mail plugin no longer removes normal organization title when
    putting the number of new messages in the browser title
  - Added clickjacking protection (thanks to Asbjorn Thorsen and Geir
    Hansen for bringing this to our attention). [CVE-2010-4554]
  - Fixed XSS holes in generic options inputs, XSS hole in the SquirrelSpell
    plugin, XSS hole in the Index Order page, and added anti-CSRF protection
    to the empty trash feature and the Index Order page (thanks to Nicholas
    Carlini for finding all these issues). [CVE-2010-4555]
  - Fixed XSS problem with unsanitized style tags in messages. [CVE-2011-2023]
2011-07-13 12:22:43 +00:00
tron
dce4a8e2d1 Update "squirremail" package to version 1.4.21. Changes since 1.4.20:
- Now allow more than one plugin to control the compose form submit action.
- When sorting by received date, the received date is now shown on the
  message list.
- Explicitly disable browser caching for left_main and right_main pages
  (#2983134).
- Fix error with SpamCop reporting plugin not being able to send report as
  emails (#1795310).
- Fix typo in SpamCop plugin.
- Reduced default time security tokens stay valid from 30 days to 2 days
  (reduces chances of session data growing too large)
- Several speed enhancements for recent fixes regarding the display of
  encoded subjects, including a fix for messages with invalid subject
  encoding (includes #2987016 amongst several other issues reported via
  mailing list, etc.) (Many thanks to Zdenek Pytela for the untiring help
  diagnosing and testing.)
- Fixed minor vulnerability in Mail Fetch plugin.
  [CVE-2010-1637/TEHTRI-SA-2010-009]
- Now properly quote personal part of encoded addresses when replying.
- Now fill in default subject when forwarding as attachment (#2936541).
- Implement header folding that doesn't add extraneous spaces so unfolding
  is less ambiguous (#1951776).
- Fixed issues caused by use of PostgreSQL keyword "user" in SquirrelMail's
  default preferences database schema (#2943483).
- Fixed attachment filename decoding problems (#2994865).
- Now default search criteria to the TO header when searching the sent folder.
- Fixed literal processing of 8-bit usernames/passwords during login.
  [CVE-2010-2813]
2010-07-24 12:20:33 +00:00
taca
290f38be47 Update squirrelmail pacakge to 1.4.20.
Version 1.4.20 - 06 Mar 2010
---------------------------
  - Fixed issue with search not using literals correctly (#2846511).
  - Fixed issue with returning to search results due to new security token
    code.
  - Fixed issue with multi-part related messages not showing all attachments
    (#2830140).
  - Fixed for security token missing in newmail plugin (#2919418).
  - Fixed sort in Sent folder to sort by "To" field instead of "From" field
    (#2907412).
  - Fixed mailto: urls containing + characters.  Thanks to Michael Puls II
    for the patch.
  - Made base URL autodetection more robust; fixes some lighttpd issues
    (probably #1741469).
  - Encoded From headers are now properly quoted (#2830141).
  - Multibyte strings (notably subjects) are now handled correctly (#2824813,
    #2925731).
  - X-DNS-Prefetch-Control: off header is now sent to browsers to prevent
    information leakage when Firefox does DNS prefetching for URLs contained
    in emails.
  - Added unread links in message view.
  - Added the ability to configure Google Mail (Gmail) as the mail server
    behind SquirrelMail.
  - Added option in display preferences that allows the signature to be
    stripped from the original message when replying (#2952876).  Thanks to
    Sven Strickroth.
2010-03-07 03:41:49 +00:00
taca
994de3ebfa Fix wrong CONF_FILES handling.
Bump PKGREVISION.
2010-03-05 03:05:40 +00:00
taca
14f293a74b Obsolete squirrelmail-japanese and squirrelmail-lite package options.
* Currently, squirrelmail package is brokwn when enable squirrelmail-japanese
  option and are/squirrelmail/functions/decode/iso_2022_jp.php was conflicted
  between squirrelmail and squirrelmail-decode package.
* squirrelmail-japanese isn't available for squirrelmail-1.4.20-RC2.

Bump PKGREVISION.
2009-09-29 13:30:54 +00:00
tron
45ca7b83f8 Update "squirremail" package to version 1.4.20rc2. Changes since 1.4.19:
- Protect message deletion with security token system.
  (Secunia Advisory SA346)
- Removed the shut down DSBL blocklists (#2796734).
- Fixed broken RFC1918 reference in contrib/.htaccess and doc/.htaccess
  (#2798839).
- Updated INSTALL doc to remove possible bad system admin typos (#2827153).
- PHP 5.3 deprecates ereg functions (#2820952).
- Filters plugin uses badly formatted literals request (#2805201).
- Provide option for complete removal of usernames and user IP addresses
  from message headers, and remove personal data from Message ID seed.
  (#880029/847107)
- Implemented page referal verification mechanism.
  (Secunia Advisory SA34627)
- Implemented security token system. (Secunia Advisory SA34627)

Approved by Martti Kuparinen.
2009-08-26 12:47:17 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
martti
38438a7c4c Fixed PLIST issues. 2009-05-22 08:23:02 +00:00
martti
c3db028855 Updated squirrelmail to 1.4.19
The security fix to map_yp_alias in 1.4.18 turned out to be incomplete. We
also expierenced some regressions in the updated filter plugin. Both are
addressed in this new release 1.4.19 which contains a few other small fixes
aswell.

If you do not use map_yp_alias or the filters plugin there's no urgent need to
upgrade now if you already installed 1.4.18. If you are still on an older
release than 1.4.18 (or use the mentioned functionality) we do urge you to
upgrade as soon as possible as 1.4.18 and 1.4.19 combined fix some important
security issues. Those using the development branch (1.5.x) should install a
recent SVN snapshot.
2009-05-22 07:04:12 +00:00
martti
d1e9aca942 Updated mail/squirrelmail to 1.4.18
The SquirrelMail Team is pleased to announce the release of
SquirrelMail version 1.4.18.  The most notable changes for this
version are several security fixes, including a couple XSS exploits, a
session fixation issue, and an obscure but dangerous server-side code
execution hole.  However, this version also includes three new
languages and more than a few enhancements to things such as the
filters plugin, the address book system and other things under the
hood.  For more complete details, see the ReleaseNotes and ChangeLog
files included in this release (they have moved to the doc/
directory).  We advise all users of SquirrelMail software to upgrade.
2009-05-14 06:54:38 +00:00
martti
7990e48376 Updated mail/squirrelmail to 1.4.17
The SquirrelMail team is happy to announce the release of version 1.4.17.  The
most notable change is a security fix that prevents certain specially-crafted
hyperlinks within messages from executing cross-site scripting attacks.  For
other details, see the ReleaseNotes file included in this release.  We advise
all users of SquirrelMail software to upgrade.
2008-12-04 07:18:46 +00:00
martti
c1bef6d66f Updated mail/squirrelmail to 1.4.16
The SquirrelMail team is happy to announce the release 1.4.16. The most
notable change is that cookies are now sent with the secure attribute set for
HTTPS-connections, meaning that they cannot leak to an HTTP-connection on the
same SquirrelMail installation. For details see the included ReleaseNotes. We
advise users that offer their SquirrelMail both over HTTP and HTTPS to
upgrade.
2008-09-28 17:32:26 +00:00
martti
bfdda0071a Version 1.4.15 - 23 May 2008
----------------------------
  - Fix saving of Read Receipts to Sent folder.
  - Converted Romanian (ro_RO) to UTF-8.
  - Converted Slovak (sk_SK) to UTF-8.
  - Converted Swedish (sv_SE) to UTF-8.
  - Added support for Macedonian.
  - Don't allow invalid plugin names in conf.pl --install-plugin.
  - Fix warning in Printer Friendly due to missing include (#1849101).
  - Let configtest.php use optional PEAR dynamic extension loading,
    patch by Walter Huijbers (#1833123).
  - Fix for IMAP servers that were having problems saving sent messages.
  - Fix broken <style> tag parsing for some HTML messages, thanks
    Roalt Zijlstra.
  - Re-added support for Vietnamese.
  - Fixed broken MDN functionality (send read confirmation).
  - Converted Norwegian Bokm�l (nb_NO) to UTF-8.
  - Converted traditional Chinese (zh_TW) to UTF-8.
  - Avoid deprecation notices on get_magic_quotes_* functions.
  - Improved Message-ID generation code.
  - Added edit list, checkbox, radio group, multiple-select folder
    list and multiple-select string list option widget types,
    as well as support for the "trailing_text" widget attribute.
  - Boolean option widgets are henceforth presented as checkboxes.
  - Tidied up fortune plugin to be inline with specifications for plugins.
  - Enhanced address book page: added 'Compose to' button, put labels
    around address entries tied to checkboxes, improved column spacing,
    added hook for plugins that can filter address book listings.
    Complements RisuMail team (risumail.jp).
2008-05-27 12:40:37 +00:00
martti
de9beccdb8 Updated mail/squirrelmail to 1.4.13
(pkgsrc notice: we were using the original, known-to-be-good 1.4.12
distfile so all your servers should be fine)

Due to the package compromise of 1.4.11, and 1.4.12, we are forced to
release 1.4.13 to ensure no confusions. While initial review didn't
uncover a need for concern, several proof of concepts show that the
package alterations introduce a high risk security issue, allowing
remote inclusion of files. These changes would allow a remote user the
ability to execute exploit code on a victim machine, without any user
interaction on the victim's server. This could grant the attacker the
ability to deploy further code on the victim's server.

We *STRONGLY* advise all users of 1.4.11, and 1.4.12 upgrade
immediately.
2007-12-14 20:44:35 +00:00
martti
ef3b964512 Updated mail/squirrelmail to 1.4.12
NOTE: includes a critical bug fix in the attachment handling

  - Enabled user selection of address format when adding from address
    book during message composition.
  - Fixed issue with adding attachments in PHP 4.x environments (#1805471).
  - Backport size setting on "newmail" popup window.
  - Added a "short_open_tag" configuration test.
  - Undefined notice in error message box when no default folder prefix is set.
  - Undefined index error when downloading.  Possibly caused by using tabs and
    opening multiple mailboxes.
  - PAGE_NAME might not be defined in all plugins, which might cause a
    "not defined" error on session timeouts.
  - Fixed outgoing messages to allow addresses such as "0@..." or "000@...",
    etc. (#1818398).
  - Fixed issue with in-reply-to and reference headers not being retained on
    reply (#1810659).
  - Revived logout_error hook (#1800015).
  - Allow custom session handlers to work correctly (and be defined at the
    application level with SquirrelMail).
  - Fix off-by-one in bodystructure parsing triggered by servers sending
    a body location part (e.g. Sun Java System Messaging Server). Thanks
    John Callahan (#1808382).
  - Invalid initialization of To: header (#1772893).
  - Includes cleanup in include/validate.php.
  - Cleanup in multiple files to remove unneeded includes.
  - Added sort by size (#812233 and #159997, plus multiple list requests).
    Patch provided by Christopher E. Brown.
  - Fix bug in sitewide SMTP settings still using authenticated user, rather
    than configured settings (#1835942).
  - Fixed mailto: functionality.
  - Added mailto: link handling when viewing messages.
  - Handle PHP's insistence on setting the value to 'deleted' for destroyed
    sessions
2007-12-05 07:11:28 +00:00
martti
69188fb94b Updated mail/squirrelmail to 1.4.11
Version 1.4.11 - 29 September 2007
----------------------------------
  - Minimum PHP requirement raised from 4.0.6 to 4.1.0.
    SquirrelMail has been broken for a while with 4.0.x without anyone
    noticing, this move merely reflects reality.
  - Fix broken set_url_var function in functions/html.php (#1729814).
  - Fix config.pl not detecting auth support correctly (#1727033).
  - Fix display of X-Priority in message view.
  - Work around mailers sending broken Date headers with no space after the
    first comma.
  - Let POP3 class properly cope with lines starting with a '.'.
  - Some HTML validation cleanups.
  - Invalid year in sent_subfolders plugin (#1607380).
  - Always treat Content-Type case-insensitively (#1732092).
  - Fix typo: html/plain should be text/html.
  - Fix en/decode header swith in MDN (#1694687).
  - Fix compatibility with Windows path in administrator plugin (#1740469).
  - Fix disabling password encryption in mail_fetch (#1738001).
  - Fix busy loop and notice when two literals in IMAP fetch (#1739433).
  - Backported code for site wide SMTP authentication (#1531889).
  - Fixed issue with compose session not being cleaned after message is
    saved or sent.
  - Added ability to detect HTTP_X_FORWARDED_PROTO in get_location(),
    thanks to Daniel Watts
  - Fix test for signout.php in the logged in check in is_logged_in() so it
    cannot be circumvented by manipulating the URL. External plugins might
    rely on this function guaranteeing that the user is logged in.
  - Use attachment_dir only at the point where we're actually
    reading from / writing to the files, do not carry it around
    in the object. This makes us safer in the event the object
    is somehow exposed to the outside world.
  - Better support mailboxes named 'None' (#1598890).
  - Sort readdir() output in conf.pl (#1755886).
  - Fix message cache in printer friendly, thanks Tomas Kuliavas.
  - Made the webmail_top hook work again for plugins that want to change
    the URI of the "right" frame; plugins have to change the value of the
    global variable $right_frame_url
  - Fix issue in darkness theme with extra closing bracket.
  - No longer store all message composition sessions in the PHP session,
    since it was not made use of and in rare cases, made sessions too big.
  - Composition restoration functionality now correctly restores attachments.
  - Added smtp_auth hook.
  - Change default Selection List Style to Indented.
  - Added "preselected" query argument to mailbox list.
  - Added mailbox_display_buttons hook.
  - Removed "Include CCs when Forwarding Messages", which had no functionality
    whatsoever.
  - Make the Message Details plugin actually show the correct entity when
    viewing details of attached messages.
2007-10-02 05:28:19 +00:00
martti
87815fe5d5 Updated mail/squirrelmail to 1.4.10a
Shortly after the release of SquirrelMail 1.4.10, a regression in the compose
form was discovered. Unfortunately the limited disclosure of security patches
does not allow for public testing, so this regression went unnoticed. We're
sorry for the inconvenience.
2007-05-10 09:24:44 +00:00
martti
c92b80a946 Updated mail/squirrelmail to 1.4.10
This version, 1.4.10 is a maintenance release, addressing
the following problems since 1.4.9a:
- Some security fixes (see below)
- Small enhancements
- A collection of bugfixes and stability enhancements
(see ChangeLog for a full list)

Security issues
===============

This release addresses security issues found since the release of 1.4.9a:

There's an ongoing battle to further secure the HTML filter against malicious
HTML mail and the browsers that accept almost any malformed piece of HTML.

This release contains fixes for the following:
- HTML attachments containing "data:" URLs;
- Internet Explorer in various versions accepts many permutations of HTML
  and JavaScript in many charsets. We now properly canonicalize the incoming
  HTML to us-ascii before applying further filters. IE only.
- Request forgery through images. It was possible to include "images" in
  HTML mails which were in fact GET requests for the compose.php page sending
  mail. These images are now properly detected, and the compose form will only
  send mail through a POST request.

Thanks to Mikhail Markin, Tomas Kuliavas and Michael Jordon for reporting
(parts of) these issues and working with us to get them resolved.

These are known as CVE-2007-1262. Further details on SquirrelMail
vulnerabilities can be found at the following address:

  http://www.squirrelmail.org/security/
2007-05-10 06:48:28 +00:00
obache
c356f22de8 Update squirrelmail to 1.4.9a.
ChangLog:
Version 1.4.9a - 3 December 2006
--------------------------------
  - Security: Multiple IE cross site scripting issues related to the
    widely acceptation of the word expression and url by IE.
  - Security: Removing @import when sanitizing html mail.

Version 1.4.9 - 2 December 2006
-------------------------------
  - Drop obsolete script plugins/make_archive.pl.
  - Fixed Google translate form in translate plugin. Added new language
    pairs.
  - Added XMAGICTRASH extension tests in configtest utility. Removed code
    that handled 'inbox.trash' as special folder in courier (#1354393).
  - Allowed moving folders to trash in courier.
  - Fix misspelled constant PREG_SPLIT_NI_EMPTY in sqimap_get_message
    (#1543573).
  - Provide View Unsafe Images link on viewing a text/html attachment.
  - Fix variable typo in folders_create.php (#1545316).
  - Added Courier IMAP OUTBOX check to configtest utility.
  - If mailbox name starts with slash or contains ../, error message is
    generated. Safety check for insecure default UW IMAP setup (#1557078).
  - Ignore message copy errors when messages are deleted. Allows to delete
    messages when quota is exceeded (#614887, #646386, #1446026).
  - Fixed unintended literal fetching (#1562271).
  - Added global file based address book listing controls. Added line
    length configuration option for local_file address book backend
    (#1181561). Added address book data integrity checks in local_file
    address book backend. Fixed eregi and object notices in local_file
    and database address book backends. Added additional address book
    field support.
  - Fixed variable corruption in configtest utility.
  - Checked if configuration file is readable in configuration utility
    (#1568355).
  - Special mailboxes marked in special_mailbox hook are no longer listed
    in folder delete, rename and subscription options.
  - Translate plugin: prevent PHP notice when viewing empty message.
  - Add CEST and MEST (non-standard) timezone codes for +0200.
  - Add <label> to From field in message list.
  - Add support for parsing SpamAssassin's X-Spam-Status header (#1589520).
  - Fix in bodystructure parser code related to strings ending with an
    escape character.
  - Added "attachment */*" hook
  - Added third parameter $logout_link to logout_error hook that allows
    plugin control over login page URI displayed on login error page.
  - Security: close cross site scripting vulnerability in draft, compose
    and mailto functionality [CVE-2006-6142].
  - Security: work around an issue in Internet Explorer that would guess
    the mime type of a file based on contents, not Content-Type header.
2006-12-04 13:06:01 +00:00
tron
110188a54c Update "squirrelmail" and "squirrelmail-locales" package to version 1.4.8.
Changes since version 1.4.7:
- A security fix for CVE-2006-4019
- A collection of bugfixes
2006-08-14 15:57:40 +00:00
martti
746955f539 Updated squirrelmail to 1.4.7
- Fixed URL for Read Receipts being incorrect in some cases (#1177518).
  - Fixed endless loop when trying to parse "From: )(" (#1517867).
  - Using is_file() instead of file_exists() in fortune plugin (#1499134).
  - Add manual page for conf.pl under contrib.
  - Don't allow selecting INBOX as Sent, Draft or Trash folder (#1242346).
2006-07-13 07:59:34 +00:00
martti
d5ce13fc07 Updated squirrelmail to 1.4.6
This release is very important, and we strongly advise everybody to
update to the latest release.

Security Update
===============
This version contains a number of security updates that were brought
to our attention via a number of sources.

- In webmail.php, the right_frame parameter was not properly sanitized
  to deal with very lenient browsers, which allowed for cross site
  scripting or frame replacing. [CVE-2006-0188]

- In the MagicHTML function, some very obscure constructs were
  discovered to be exploitable: 'u\rl' was interpreted as 'url' (privacy
  concern), and comments could be inside keywords (allows for cross site
  scripting). Both only affect Internet Explorer users. Found by Martijn
  Brinkers and Scott Hughes. [CVE-2006-0195]

- The function sqimap_mailbox_select did not strip newlines from the
  mailbox parameter, and thereby allowed for IMAP command injection.
  Found by Vicente Aguilera. [CVE-2006-0377]
2006-02-27 07:12:13 +00:00
martti
9237642903 Updated mail/squirrelmail to 1.4.5
* lots of bug fixes
* translation updates
2005-07-18 07:04:27 +00:00
martti
dcccf7c12f Updated squirrelmail to 1.4.4
We are pleased to announce the release of SquirrelMail 1.4.4.  This
release is a strongly recommended upgrade due to a number of security
issues that have been resolved since 1.4.3a.

About This Release
------------------
This release contains a number of bug fixes, and security updates.  The
list is very long, as this version has been hiding in the trees for a
while.  For a full list of the changes, you can see the changelog here:

  http://www.squirrelmail.org/changelog.php

A general summary of updates includes a few cross site scripting issues,
and two possible file inclusion issue (one remote, one local).  Better
IMAP handling introduced for certain IMAP servers that advertise
LOGINDISABLED, folder handling, and a number of locales issues.

Locales
-------
Shortly after the release of 1.4.3, the locales were broken out of the
main branch into their own branch.  This makes the SquirrelMail package
itself a lot smaller, along with allowing administrators to download just
the packages they need.  Details on this change can be found in the
ReleaseNotes and the INSTALL files.
2005-01-23 07:02:03 +00:00
bouyer
86cab58f53 Update to 1.4.3, patches from Martti Kuparinen.
Main Changes:
lots of bug fixes, including some critical XSS (cross site scripting) issues.
Some new translations.
Added new preference that determines cursor focus when replying.
Display total number of new messages in newmail-plugin popup window.
Ported charset decoding support functions from SM head. Increases
    number of readable charsets.
Fix SquirrelMail to work with PHP5.
Disabled Quick-email-reporting feature in spamcop plugin. (#809452). Admin
    can enable it by setting variable in plugins/spamcop/setup.php.
Replaced obsolete 2mbit.com RBL with ahbl.org RBL (#829887).
Added new reply citation to include date and author.
2004-05-31 20:14:39 +00:00
martti
399b337959 Updated squirrelmail to 1.4.2
* bug fixes
* translation updates
* new minimal bw theme
2003-10-08 05:12:08 +00:00
martti
0a236b468c Updated squirrelmail to 1.4.1 (pkg/22652 by Adrian Portelli, so fixes by me)
- lots of bug fixes

I couldn't make this work without the latest PHP (4.3.3)...
2003-09-01 11:51:26 +00:00
martti
21836323cd Updated squirrelmail to 1.4.0
* A complete rewrite of the way we send mail (Deliver-class),
  and of the way we parse mail (MIME-bodystructure parsing).
  This makes SquirrelMail more reliable and more efficient
  at the same time!
* Support for IMAP UID which makes SquirrelMail more reliable.
* Optimizations to code and the number of IMAP calls; SquirrelMail
  is now a very scalable webmail solution.
* Support for a wider range of authentication mechanisms.
* Lots of bugfixes, some new features and a couple of UI-tweaks.
2003-04-15 09:25:07 +00:00
martti
3e44cdea8d Updated squirrelmail to 1.2.11
This release incorporates some security fixes in relation to XSS
(cross site scripting) code which could allow malicious extraction of
information from the client browser. There is also a fix for the
SquirrelMail 1.2.10 "Double login" problem. This was related to a
session issue, and has been fixed.
2003-02-12 07:23:40 +00:00
martti
d66257b350 Updated squirrelmail to 1.2.10
* multiple session issues resolved
* many updated translations
* a number of other bugs fixed
2002-12-03 06:37:15 +00:00
martti
61116485d7 Updated squirrelmail to 1.2.9
* many bugfixes and stability enhancements
  - register_globals
  - session handling
  - preferences
* German help texts
2002-10-30 07:45:17 +00:00
martti
3feeadeacc Updated squirrelmail to 1.2.8
* HTML cleanup on search and addressbook pages
* Fixes for multiple XXS exploits on the addressbook, search, help, and
  options pages
* more accurate error messages on failed login
* HTML table cleanup when viewing attachments
* fix for X-MSMail-Priority conflict bug #600369
* fix for multiple email addresses on the same message line
* fix for "." on a single line in a text attachment bug #598750
* Core code and plugins converted to work with register_globals Off
* fix for reply quoting on resumed drafts
* fix for fgets errors in file_prefs bug #578834
* fix for date format on calendar day view bug #582919
* fix for org. logo width/height values bug #572807
* fix for reading/writing ldap prefs with conf.pl bug #57595
* fix for 'fixed' font style in css bug #571463
* fix for attachments in safe mode bug #585340
* fix for forward attachment bug #585836
* fix for php warning when saving drafts bug #585012
* returned generic_header hook to page_header.php bug #554278
* fix for syntax error in darkness theme bug #576066
* fix for some attachments not being displayed bug #577052
* fix for matching uppercase headers on mailbox display bug #584082
* fix for folder names containing regex characters bug #574889, #578156
* fix for endless loop on raw binary data in email bug #547662
2002-09-16 10:07:39 +00:00
wiz
77bc7cb777 Fix PLIST after last update (hi martti!)
Closes pkg/17857 by Urban Boquist.
2002-08-06 15:34:38 +00:00
martti
6e5a07fec4 Updated squirrelmail to 1.2.6
- Bug fixes
- Added POP3 Before SMTP option
- Added a server-side thread sorting option per folder
- Added a server-side sorting global option
- Compose in new window size can be set in Display prefs
- PostgreSQL is now supported for database backed use
- Added user option to sort messages by internal date
- Added option to auto-append sig before reply/forward text
- Filters can be applied to only new mail
- Filtering now happens on folder list refresh
2002-05-02 16:18:47 +00:00
bouyer
f43ffdd555 Update to 1.2.5. Main change is that it has been fully ported to PHP 4.1
(no more warnings that fills in apache error_log).
Changes since 1.2.4:
  - Multiple mailbox list calls cached.
  - Added 'View unsafe images' link to the bottom of pages which contain
    unsafe images.
  - Fixed 'too many close table tags' and various other issues
    which meant SM output didn't always validate as clean HTML.
  - Added the ability to add special folders through plugins.
  - Added an Always compose in a pop-up window option.
  - Search page update with ability to save searches and search
    all folders at once.
  - Made searching on multiple criteria possible, with thanks to Jason Munro
  - Fixed 'list all' in addressbook (#506624, thanks to Kurt Yoder)
  - Fixed small bugs in db_prefs
  - Allowed SquirrelMail to work from within a frame, eg. not using _top
    this is configureable. (thanks to Simon Dick)
  - Added options to conf.pl to enable automated plugin installation:
    ./conf.pl --install-plugin <pluginname>. This allows plugins to be
    distributed in packages. Conf.pl now also reports when saving fails.
  - Attachment hooks now also allow specification of generic rules like
    text/* which will be used when no specific rule is available.
  - conf.pl can now configure database backed address books and
    preferences.
  - Version 0.3.7 of SquirrelSpell. Fixes a potential privacy
    vulnerability (symlink attack), plus introduces formatting fixes
    and javadoc-style comments.
  - Bugfix in mailfetch reported by Mateusz Mazur
  - Administrator plugin. A web based conf.pl replacement.
  - Removed GLOBALS from conf.pl
  - HTML messages optimization.
  - Added support for requesting read receipts (MDN) and delivery receipts.
  - Added the ability to stop users changing their names and email addresses.
  - Added signature into multiple identities (Stefan Meier <Stefan.Meier@cimsource.com>)
  - Updated user help files to reflect UI chanegs and added functionality.
2002-03-18 22:11:51 +00:00
bouyer
05884d0683 Update to 1.2.4 (OK'd by Johnny Lam).
Changes:
Version 1.2.4 -- 25 January 2002
--------------------------------
  - Fixes a nasty remote arbitrary command execution vulnerability
    in the spellchecker plugin.

Version 1.2.3 -- 21 January 2002
--------------------------------
  - Fixed focus system on pages that contain forms.
  - Fixed IMAP code to send different command identifiers as per
    section 2.2.1 of RFC 2060.
  - Fixed 'sticky priority' so that replies are set to the same
    priority as the original message.
  - Fixed Printer Friendly to print HTML messages.
  - Fixed multiple receivers in Sent mailbox (#500910).
  - Disabled prefs caching under PHP 4.1
  - Added "Search Memory". Enabling to store up to
    9 predefined searchs.
  - Increased security in html message.
  - Added the possibility to specify system-defined css in order to
    allow users to change the font family and size of SM. Making possible to
    make it bigger or smaller depending on their screen size. Sysops may add
    or remove these system-defined css located in themes/css/
  - Fixed a bug appearing on some apache virtual hosts
  - Fixed javascript error (#505255)
  - Fixed the db_prefs so they work again (#499609, thanks to Simon Dick)
2002-01-28 15:34:57 +00:00
jlam
ba7d00c0e7 Update mail/squirrelmail to 1.2.2. Changes from version 1.0.6 include:
* Collapsible Folders - The folder list can be collapsed at any
          parent folder. This makes folder lists with large
          hierarchical structures much easier to manage and navigate.
  * The Paginator! - This enables quick access to any page in the
          message list by simply choosing the page number to view
          rather than tediously clicking "next" 50 times.
  * Hundreds of UI tweaks - The user interface has been given a
          face-lift. The HTML has been largely overhauled, and while
          it still has the same general feel, it has been made more
          intuitive.
  * Drafts - It is now possible to compose a message and save it to
          be sent at a later date with the drafts option.
  * New Options Page - The options page has been completely
          rewritten for several reasons, the main of which was to
          allow seamless integration of plugin options and to
          provide uniformity throughout the entire section.
  * Multiple Identities - It is now possible to create different
          identities (home, work, school) that can be chosen upon
          sending. Each identity can have its own email address,
          full name, and signature.
  * Reply Citations - Different types of citations are now possible
          when replying to messages.
  * Better Attachment Handling - The plugin, attachment_common, has
          been fully integrated into the core of SquirrelMail.  This
          allows inline viewing of several different types of
          attachments.
  * Integration of Several Plugins - The following plugins have been
          put directly into the core. As a result, be sure not to
          install these as plugins, as the result may be (at best)
          unpredictable: attachment_common, paginator, priority,
          printer_friendly, sqclock, xmailer.
  * Improved support for newer versions of PHP. Note that you may
          have trouble if you are running PHP version 4.0.100
          (commonly distributed with Debian 3.0).
  * Ability to mark messages as read and unread from the message listing.
  * Alternating Colors - The message list now alternates row colors
          by default.  This presents a much cleaner and easier to
          read interface to the user.
2002-01-07 11:49:44 +00:00
zuntum
c72c1cf5f9 Move pkg/ files into package's toplevel directory 2001-11-01 00:57:41 +00:00