- Current hook name is now globally available when running a hook ($currentHookName)
- Fix bug when Saving to Draft folder that contains special characters.
- Added size limit to signatures saved in file backend. Created error_option_save
- function, that allows sending error message to options page. Thanks to Martynas
+ function, that allows sending error message to options page. Thanks to Martynas
Bieliauskas for spotting big signature "option".
- Make SquirrelSpell work with safe_mode enabled, if using PHP >=4.3.0.
Patch by Ray Ferguson.
- $agresive_decoding configuration option changed to $aggressive_decoding.
Fixed spelling.
- Added $lossy_encoding option (provides fix for #806698)
- - Reenabled use of $default_charset option. Option works only with en_US
+ - Reenabled use of $default_charset option. Option works only with en_US
translation in order to prevent language/charset misconfiguration.
- Fixes for nonpopulation of folder lists and errors when emptying the trash
(provides fixes for #1019185 and #1017941)
- Fixed $custom_css loading in squirrelspell plugin.
- - Turkish translation uses C character case conversion rules. Fixes php and
- squirrelmail functions are assume English conversion rules.
+ - Turkish translation uses C character case conversion rules. Fixes PHP and
+ SquirrelMail functions are assume English conversion rules.
- Fixed problem that caused an error when deleting all messages on the last page
of a paginated view (provides fix for #1014612)
- Added MySQL password/UNIX crypt support to mysql backend in the
- Removed japanese_xtra function used by older XTRA_CODE calls. Plugins
should use separate xtra_code functions. Older function does not provide
information about supported options.
- - Added php-gettext classes (see class/l10n/*.php) and ngettext support
+ - Added php-gettext classes (see class/l10n/*.php) and ngettext support
functions (provides fix for #1019007).
- LC_NUMERIC locale is set to C. (workaround for #1027130). Some plugins
might use decimal delimiters incorrectly.
- Added sq_is8bit function that can be used to detect 8bit strings.
- Added sq_mb_list_encodings function that provides list of encodings supported
- by php mbstring module.
+ by PHP mbstring module.
- Added Content-Transfer-Encoding: 8bit header for read receipts that contain
8bit symbols. (provides fix for #934033).
- Fixed decoding function problems when mbstring.func_override has MB_OVERLOAD_REGEX
enabled.
- Security: Fixed XSS exploit in decodeHeader function. [CAN-2004-1036]
- - Added site configuration and custom translation engine support to translate
+ - Added site configuration and custom translation engine support to translate
plugin.
- Fixed SquirrelSpell error output. Patch courtesy David Boone.
- Fixed bug in IMAP read routines that treated "0" as false instead of
- Added compact paginator option. Patch by Felix Egli.
- Fixed reply/forward form in order to avoid warnings in SSL enabled sites. Patch
by Felix Egli.
- - Removed command line option unsupported by qmail-inject in
+ - Removed command line option unsupported by qmail-inject in
class/deliver/Deliver_SendMail.class.php. Thanks to Ken Brush.
- Global file based address book is controled in configuration. Removed
global_file address book backend (use 'local_file' instead).
- Added Net-Style theme by Gabriele Maidecchi. Closes patch #1041323.
- - Fix: Messages shown with bad times in message list due to misinterpreted
+ - Fix: Messages shown with bad times in message list due to misinterpreted
UW IMAP internal date.
- Fixed path used by random theme.
- - Utf7-imap encoding/decoding functions will check, if required charset is
+ - Utf7-imap encoding/decoding functions will check, if required charset is
supported by mbstring and use it. Fixes bug #1005353.
- - LDAP backend will use internal squirrelmail charset conversion functions
- instead of php xml extension. Fixes bug #655137.
+ - LDAP backend will use internal SquirrelMail charset conversion functions
+ instead of PHP XML extension. Fixes bug #655137.
- Added Wood theme and Silver Steel theme by Pavel Spatny and Simple Green theme
- Fix two time zone calculation bugs, thanks to David White. Fixes #1063879.
- 'Priority' and 'Importance' headers are now also recognised, next to the
- Removed extra ; in SquirrelMail added Received header per RFC 822. Fixes #1088548.
- Add IMAP server type "hmailserver" to make search work with hMailServer.
Fixes #1085377.
- - Reuploaded newmail plugin sounds. Fixes files uploaded to cvs without binary
+ - Reuploaded newmail plugin sounds. Fixes files uploaded to cvs without binary
option.
- Changing your JavaScript preference required a re-login to work.
Fixes #983614.
- Fix IMAP error when returning to message from viewing image attachment.
- Do more trimming to indented subjects in threadview so they don't wrap.
- Trash folder now displays purge link in all cases. (Closes #655943)
- - Fix typo in delete_move_next plugin which caused php file-handle errors.
+ - Fix typo in delete_move_next plugin which caused PHP file-handle errors.
- Make vCard more liberal in what it accepts (thanks Kurt Pires).
- Fix problem with subject encoding when using Japanse.
- Move login_form hook to be actually in the login form.
- Added CRAM-MD5 and DIGEST-MD5 authentication support for IMAP and SMTP
- Experimental TLS support for IMAP and SMTP (requires PHP 4.3.x)
- Override settings with config_local.php
- - Compose form no longer shows attachment options if php file_uploads
+ - Compose form no longer shows attachment options if PHP file_uploads
disabled
- Improved bodystructure parsing.
- Support for windows-1257 charset.
***************************************************************
-*** Squirrelmail Development Series 1.1 and 1.1 Pre-Releases ***
+*** SquirrelMail Development Series 1.1 and 1.1 Pre-Releases ***
****************************************************************
Version 1.2.0-rc3 -- 2 December 2001
------------------------------------
- Speed improvements and optimizations on much of the code
- Comments added, formatting cleaned up for much of the code
- - Several plugins integrated into the Squirrelmail core
+ - Several plugins integrated into the SquirrelMail core
(focus change, attachment common, printer friendly, etc)
- Several plugins added as "Official Plugins" to the main
- Squirrelmail distribution
+ SquirrelMail distribution
- First half of a rewrite of the option pages code
- The Paginator!!!
- Other stuff that I don't recall (developers, please fill this in!)
**************************************
-*** Squirrelmail Stable Series 1.0 ***
+*** SquirrelMail Stable Series 1.0 ***
**************************************
Version 1.0.6 -- April 19, 2001
********************************************************
-*** Squirrelmail Development Series 1.0 Pre-Releases ***
+*** SquirrelMail Development Series 1.0 Pre-Releases ***
********************************************************
Version 1.0pre3 -- January 22, 2001
*****************************************
-*** Squirrelmail 0.5 and Pre-Releases ***
+*** SquirrelMail 0.5 and Pre-Releases ***
*****************************************
Version 0.5 -- September 25, 2000
*****************************************
-*** Squirrelmail 0.4 and Pre-Releases ***
+*** SquirrelMail 0.4 and Pre-Releases ***
*****************************************
Version 0.4 -- May 15, 2000
*****************************************
-*** Squirrelmail 0.3 and Pre-Releases ***
+*** SquirrelMail 0.3 and Pre-Releases ***
*****************************************
Version 0.3.1 -- March 13, 2000
*****************************************
-*** Squirrelmail 0.2 and Pre-Releases ***
+*** SquirrelMail 0.2 and Pre-Releases ***
*****************************************
Version 0.2.1 -- January 05, 2000
*****************************************
-*** Squirrelmail 0.1 and Pre-Releases ***
+*** SquirrelMail 0.1 and Pre-Releases ***
*****************************************
Version 0.1.2 -- December 20, 1999
If your webserver does not already have PHP you must configure it
to work with PHP. You need at least PHP v4.1.0. SquirrelMail uses
the standard suffix .php for all PHP4 files.
-
+
You can find PHP at http://www.php.net. See the documentation that
comes with PHP for instructions how to set it up.
--with-mhash Will improve charset decoding if present
--with-mysql For MySQL storage of preferences or addressbooks
--with-openssl When you want to use encrypted IMAP connections (TLS)
-
+
If you're going to use LDAP in the addressbook, you must compile PHP
with the LDAP extension. Include the MHASH extension to improve
performance in character set decoding.
This depends a lot on the server your choose. See the documentation
that comes with your server.
-
+
If you're concerned about people accessing it directly, you can
limit access to only the IP of the webserver.
$ chgrp -R nobody data
Keep in mind that with different installations, the web server could
- typically run as userid/groupid of nobody/nobody, nobody/nogroup,
- apache/apache or www-data/www-data. The best way to find out is to read
+ typically run as userid/groupid of nobody/nobody, nobody/nogroup,
+ apache/apache or www-data/www-data. The best way to find out is to read
the web server's configuration file.
There also needs to be a directory where attachments are stored
If you trust all the users on you system not to read mail they are
not supposed to read change the last line to chmod 777 SomeDirectory
- or simply use /tmp as you attachments directory.
-
- If a user is aborting a mail but has uploaded some attachments to it
- the files will be lying around in this directory forever if you do not
+ or simply use /tmp as you attachments directory.
+
+ If a user is aborting a mail but has uploaded some attachments to it
+ the files will be lying around in this directory forever if you do not
remove them. To fix this, it is recommended to create a cron job that
deletes everything in the attachment directory. Something similar
to the following will be good enough:
$ cd /var/attach/directory
$ rm -f *
-
+
However, this will delete attachments that are currently in use by people
sending email when the cron job runs. You can either (1) make sure that
the cron job runs at an obscure hour and hope that nobody gets upset, or
(2) you can run a modified version of the commands above. Check out the
man pages for other commands such as 'find' or 'tmpreaper'.
-
+
One sample script you could set up that would erase all attachments, but
wouldn't erase preferences, address books, or the like (just in case your
- attachment directory is the same as your data directory) might look like
+ attachment directory is the same as your data directory) might look like
this:
-
+
$ rm `find /var/attach/directory -atime +2 | grep -v "\." | grep -v _`
-
+
Remember to be careful with whatever method you do use, and to test out
the command before it potentially wipes out everyone's preferences.
-----------------------
Point your browser at the URL at which SquirrelMail is installed. A
- possible example of this is:
+ possible example of this is:
http://www.yourdomain.com/squirrelmail
-
+
It should be pretty straight forward to use. Some more documentation
might show up one day or another.
6. TRANSLATIONS
---------------
- In order to use translated versions of SquirrelMail, you need
+ In order to use translated versions of SquirrelMail, you need
to download and install locale packages that contain translations
- that you want to use with squirrelmail.
-
+ that you want to use with SquirrelMail.
+
Locale packages can be downloaded from SquirrelMail SourceForge
project page.
-
+
http://sourceforge.net/project/showfiles.php?group_id=311&package_id=110388
-
+
Each translation contains install script that copies required files
into appropriate locations. If you can't run that script, you can extract
- contents of translation packages into your squirrelmail directory.
-
+ contents of translation packages into your SquirrelMail directory.
+
NOTE No.1: *-src.tar.gz, *-src.tar.bz2 and *-src.zip archives does not contain
compiled translation files. You will need to run compilelocales script
in order to get all gettext binary translations.
-
+
NOTE No.2: You might need to restart your webserver before using translations.
If you can't do that, install your translations _before_ you use SquirrelMail.
* Copyright (c) 2003-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This contains internal squirrelmail functions needed to handle
+ * This contains internal SquirrelMail functions needed to handle
* translations when php gettext extension is missing or some functions
* are not available.
*
#!/usr/bin/env perl
# conf.pl
#
-# Copyright (c) 1999-2003 The SquirrelMail Project Team
+# Copyright (c) 1999-2003 The SquirrelMail Project Team
# Licensed under the GNU GPL. For full terms see COPYING.
#
# A simple configure script to configure SquirrelMail
#
# $Id$
-############################################################
+############################################################
$conf_pl_version = "1.4.0";
############################################################
chdir($dir);
}
-############################################################
+############################################################
# Some people try to run this as a CGI. That's wrong!
-############################################################
+############################################################
if ( defined( $ENV{'PATH_INFO'} )
|| defined( $ENV{'QUERY_STRING'} )
|| defined( $ENV{'REQUEST_METHOD'} ) ) {
############################################################
# If we got here, use Cwd to get the full directory path
# (the Basename stuff above will sometimes return '.' as
-# the base directory, which is not helpful here).
+# the base directory, which is not helpful here).
############################################################
use Cwd;
$dir = cwd();
-
-############################################################
+
+############################################################
# First, lets read in the data already in there...
-############################################################
+############################################################
if ( -e "config.php" ) {
open( FILE, "config.php" );
while ( $line = <FILE> ) {
# Read and parse the current configuration file
# (either config.php or config_default.php).
while ( $line = <FILE> ) {
- $line =~ s/^\s+//;
+ $line =~ s/^\s+//;
$line =~ s/^\$//;
$var = $line;
$use_icons = 'false' if ( !$use_icons );
$use_php_recode = 'false' if ( !$use_php_recode );
$use_php_iconv = 'false' if ( !$use_php_iconv );
-$skip_SM_header = 'false' if ( !$skip_SM_header );
+$skip_SM_header = 'false' if ( !$skip_SM_header );
$default_use_javascript_addr_book = 'false' if (! $default_use_javascript_addr_book);
if ( $ARGV[0] eq '--install-plugin' ) {
print "7. Message of the Day (MOTD)\n";
print "8. Plugins\n";
print "9. Database\n";
- print "10. Language settings\n";
- print "11. Tweaks\n";
+ print "10. Language settings\n";
+ print "11. Tweaks\n";
print "\n";
print "D. Set pre-defined settings for specific IMAP servers\n";
print "\n";
}
print "$NRM\n";
print "\n";
-
+
if ( $show_imap_settings ) {
print $WHT . "IMAP Settings". $NRM . "\n--------------\n";
print "4. IMAP Server : $WHT$imapServerAddress$NRM\n";
print "$WHT$imapServerAddress$NRM:";
print "$WHT$imapPort$NRM ";
print "($WHT$imap_server_type$NRM)\n";
- }
+ }
if ($show_smtp_settings == 0) {
if ( lc($useSendmail) eq 'true' ) {
print "B. Change Sendmail Config : $WHT$sendmail_path$NRM\n";
}
if ( $show_smtp_settings || $show_imap_settings )
{
- print "H. Hide " .
- ($show_imap_settings ? "IMAP Server" :
+ print "H. Hide " .
+ ($show_imap_settings ? "IMAP Server" :
(lc($useSendmail) eq 'true') ? "Sendmail" : "SMTP") . " Settings\n";
}
-
+
print "\n";
print "R Return to Main Menu\n";
} elsif ( $menu == 3 ) {
print "1. Change Themes\n";
for ( $count = 0 ; $count <= $#theme_name/2 ; $count++ ) {
$temp_name = $theme_name[$count*2];
- printf " %s%*s %s\n", $temp_name,
+ printf " %s%*s %s\n", $temp_name,
40 - length($temp_name), " ",
$theme_name[($count*2)+1];
}
return $new_smtpPort;
}
-# authenticated server
+# authenticated server
sub command18 {
return;
# This sub disabled by tassium - it has been replaced with smtp_auth_mech
return $pop_before_smtp;
}
-# imap_server_type
+# imap_server_type
sub command19 {
print "Each IMAP server has its own quirks. As much as we tried to stick\n";
print "to standards, it doesn't help much if the IMAP server doesn't follow\n";
} else {
print $WHT . " ERROR DETECTING$NRM\n";
}
-
+
}
- }
+ }
print "\nWhat authentication mechanism do you want to use for IMAP connections?\n\n";
print $WHT . "login" . $NRM . " - Plaintext. If you can do better, you probably should.\n";
print $WHT . "plain" . $NRM . " - SASL PLAIN. If you need this, you already know it.\n";
}
}
-
+
# SMTP authentication type
# Possible choices: none, plain, cram-md5, digest-md5
sub command112b {
if ($inval =~ /^y\b/i) {
# Yes, let's try to detect.
print "Trying to detect supported methods (SMTP)...\n";
-
+
# Special case!
# Check none by trying to relay to junk@microsoft.com
$host = $smtpServerAddress . ':' . $smtpPort;
} else {
print $WHT . "ERROR DETECTING$NRM\n";
}
-
+
# Try CRAM-MD5
print "Testing CRAM-MD5:\t";
$tmp=detect_auth_support('SMTP',$host,'CRAM-MD5');
} else {
print $WHT . "ERROR DETECTING$NRM\n";
}
-
+
print "Testing DIGEST-MD5:\t";
$tmp=detect_auth_support('SMTP',$host,'DIGEST-MD5');
} else {
print $WHT . "ERROR DETECTING$NRM\n";
}
- }
+ }
}
print "\nWhat authentication mechanism do you want to use for SMTP connections?\n";
print $WHT . "none" . $NRM . " - Your SMTP server does not require authorization.\n";
# SMTP doesn't necessarily require logins
return "none";
}
- if ( ($inval =~ /^cram-md5\b/i) || ($inval =~ /^digest-md5\b/i) ||
+ if ( ($inval =~ /^cram-md5\b/i) || ($inval =~ /^digest-md5\b/i) ||
($inval =~ /^login\b/i) || ($inval =~/^plain\b/i)) {
return lc($inval);
} else {
} else {
print "n";
}
- print "$NRM]: $WHT";
+ print "$NRM]: $WHT";
$inval=<STDIN>;
$inval =~ tr/yn//cd;
return 'true' if ( $inval eq "y" );
return 'true' if ( lc($new_skip_SM_header) eq 'y' );
return 'false' if ( lc($new_skip_SM_header) eq 'n' );
- return $skip_SM_header;
+ return $skip_SM_header;
}
# MOTD
return $show_prefix_option;
}
-# Trash Folder
+# Trash Folder
sub command23a {
print "You can now specify where the default trash folder is located.\n";
print "On servers where you do not want this, you can set it to anything\n";
return $new_trash_folder;
}
-# Sent Folder
+# Sent Folder
sub command23b {
print "This is where messages that are sent will be stored. SquirrelMail\n";
print "by default puts a copy of all outgoing messages in this folder.\n";
return $new_sent_folder;
}
-# Draft Folder
+# Draft Folder
sub command23c {
print "You can now specify where the default draft folder is located.\n";
print "On servers where you do not want this, you can set it to anything\n";
return $new_draft_folder;
}
-# default move to trash
+# default move to trash
sub command24a {
print "By default, should messages get moved to the trash folder? You\n";
print "can specify the default trash folder in option 3. If this is set\n";
return $default_move_to_trash;
}
-# default move to sent
+# default move to sent
sub command24b {
print "By default, should messages get moved to the sent folder? You\n";
print "can specify the default sent folder in option 4. If this is set\n";
return $default_save_as_draft;
}
-# List special folders first
+# List special folders first
sub command27 {
print "SquirrelMail has what we call 'special folders' that are not\n";
print "manipulated and viewed like normal folders. Some examples of\n";
return $list_special_folders_first;
}
-# Show special folders color
+# Show special folders color
sub command28 {
print "SquirrelMail has what we call 'special folders' that are not\n";
print "manipulated and viewed like normal folders. Some examples of\n";
return $use_special_folder_color;
}
-# Auto expunge
+# Auto expunge
sub command29 {
print "The way that IMAP handles deleting messages is as follows. You\n";
print "mark the message as deleted, and then to 'really' delete it, you\n";
return $auto_expunge;
}
-# Default sub of inbox
+# Default sub of inbox
sub command210 {
print "Some IMAP servers (Cyrus) have all folders as subfolders of INBOX.\n";
print "This can cause some confusion in folder creation for users when\n";
return $default_sub_of_inbox;
}
-# Show contain subfolder option
+# Show contain subfolder option
sub command211 {
print "Some IMAP servers (UW) make it so that there are two types of\n";
print "folders. Those that contain messages, and those that contain\n";
return $show_contain_subfolders_option;
}
-# Default Unseen Notify
+# Default Unseen Notify
sub command212 {
print "This option specifies where the users will receive notification\n";
print "about unseen messages by default. This is of course an option that\n";
return $default_unseen_notify;
}
-# Default Unseen Type
+# Default Unseen Type
sub command213 {
print "Here you can define the default way that unseen messages will be displayed\n";
print "to the user in the folder listing on the left side.\n";
return $auto_create_special;
}
-# Automatically delete folders
+# Automatically delete folders
sub command215 {
if ( $imap_server_type eq "uw" ) {
print "UW IMAP servers will not allow folders containing mail to also contain folders.\n";
print "Press any key to continue...\n";
$new_delete = <STDIN>;
$delete_folder = 'true';
- } else {
+ } else {
if ( $imap_server_type eq "courier" ) {
print "Courier (or Courier-IMAP) IMAP servers may not support ";
print "subfolders of Trash. \n";
print "Trash will be treated by Courier as a special folder that does not \n";
print "allow subfolders. \n\n";
print "Please verify your Courier configuration, and test folder deletion \n";
- print "when changing this setting.\n\n";
+ print "when changing this setting.\n\n";
}
print "Are subfolders of the Trash supported by your IMAP server?\n";
print "If not, say no (deleted folders should not be sent to Trash)\n\n";
# reversal of logic.
# question was: Should folders be automatically deleted instead of sent to trash..
- # we've changed the question to make it more clear,
- # and are here handling that to avoid changing the answers..
+ # we've changed the question to make it more clear,
+ # and are here handling that to avoid changing the answers..
if ( lc($delete_folder) eq 'true' ) {
$default_value = "n";
} else {
print "The path name can be absolute or relative (to the config directory).\n";
print "It doesn't matter. Here are two examples:\n";
print " Absolute: /var/spool/data/\n";
- print " Relative: ../data/\n";
+ print " Relative: ../data/\n";
print "Relative paths to directories outside of the SquirrelMail distribution\n";
print "will be converted to their absolute path equivalents in config.php.\n\n";
print "Note: There are potential security risks with having a writeable directory\n";
sub command33c {
print "The directory hash level setting allows you to configure the level\n";
- print "of hashing that Squirremail employs in your data and attachment\n";
+ print "of hashing that SquirrelMail employs in your data and attachment\n";
print "directories. This value must be an integer ranging from 0 to 4.\n";
- print "When this value is set to 0, Squirrelmail will simply store all\n";
+ print "When this value is set to 0, SquirrelMail will simply store all\n";
print "files as normal in the data and attachment directories. However,\n";
print "when set to a value from 1 to 4, a simple hashing scheme will be\n";
print "used to organize the files in this directory. In short, the crc32\n";
print "must set this option to a valid value. If option does\n";
print "not have path elements, system assumes that file is\n";
print "stored in data directory. If relative path is set, it is\n";
- print "relative to main squirrelmail directory. If value is empty,\n";
+ print "relative to main SquirrelMail directory. If value is empty,\n";
print "address book is not enabled.\n";
print "\n";
print CF " */\n";
print CF "\n";
print CF "global \$version;\n";
-
+
if ($print_config_version) {
print CF "\$config_version = '$print_config_version';\n";
}
# integer
print CF "\$config_use_color = $config_use_color;\n";
print CF "\n";
-
+
# string
print CF "\$org_name = \"$org_name\";\n";
# string
# string that can contain variables
print CF "\$motd = \"$motd\";\n";
print CF "\n";
-
+
# string
print CF "\$squirrelmail_default_language = '$squirrelmail_default_language';\n";
# string
# integer
print CF "\$allow_advanced_search = $allow_advanced_search;\n";
print CF "\n";
-
+
# all plugins are strings
for ( $ct = 0 ; $ct <= $#plugins ; $ct++ ) {
print CF "\$plugins[$ct] = '$plugins[$ct]';\n";
print CF "\n";
print CF "\@include SM_PATH . 'config/config_local.php';\n";
-
+
print CF "\n/**\n";
print CF " * Make sure there are no characters after the PHP closing\n";
print CF " * tag below (including newline characters and whitespace).\n";
print CF " * things up when we try to send more headers later.\n";
print CF " */\n";
print CF "?>";
-
+
close CF;
print "Data saved in config.php\n";
$disp_default_folder_prefix = $default_folder_prefix;
$delete_folder = true;
$force_username_lowercase = true;
-
+
$continue = 1;
} elsif ( $server eq "exchange" ) {
$imap_server_type = "exchange";
$disp_default_folder_prefix = $default_folder_prefix;
$delete_folder = true;
$force_username_lowercase = false;
-
+
$continue = 1;
} elsif ( $server eq "macosx" ) {
$imap_server_type = "macosx";
# This subroutine corrects relative paths to ensure they
# will work within the SM space. If the path falls within
-# the SM directory tree, the SM_PATH variable will be
+# the SM directory tree, the SM_PATH variable will be
# prepended to the path, if not, then the path will be
# converted to an absolute path, e.g.
# '../images/logo.gif' --> SM_PATH . 'images/logo.gif'
return $old_path if ( $old_path =~ /^\'(\/|http)/ );
return $old_path if ( $old_path =~ /^\'\w:\// );
return $old_path if ( $old_path =~ /^SM_PATH/);
-
+
if ( $old_path =~ /^\$/ ) {
# check if it's a single var, or a $var/path combination
# if it's $var/path, enclose in ""
}
return $old_path;
}
-
+
# Remove remaining '
$old_path =~ s/\'//g;
-
+
# For relative paths, split on '../'
@rel_path = split(/\.\.\//, $old_path);
if ( $#rel_path > 1 ) {
# more than two levels away. Make it absolute.
@abs_path = split(/\//, $dir);
-
+
# Lop off the relative pieces of the absolute path..
for ( $i = 0; $i <= $#rel_path; $i++ ) {
pop @abs_path;
$new_path .= "\'";
} else {
# Last, it's a relative path without any leading '.'
- # Prepend SM_PATH and config, since the paths are
+ # Prepend SM_PATH and config, since the paths are
# relative to the config directory
$new_path = "SM_PATH . \'config/" . $old_path . "\'";
}
print "BAD ARGS!\n";
return undef;
}
-
+
if ($service eq 'SMTP') {
$cmd = "AUTH $mech\r\n";
$logout = "QUIT\r\n";
/**
* SquirrelMail header control
*
- * Option can be used to disable Received: headers added by squirrelmail.
+ * Option can be used to disable Received: headers added by SquirrelMail.
* This can increase user's privacy and solve problems with spam filters
* that increase spam marks for dynamic dialup addresses.
*
* Please note that this changes only some of server settings.
*
* In order to set everything correctly, you need to adjust several
- * squirrelmail options. These options are listed in doc/presets.txt
+ * SquirrelMail options. These options are listed in doc/presets.txt
* @global string $imap_server_type
*/
$imap_server_type = 'other';
/**
* Hash level used for data directory.
*
- * This option allows spliting file based squirrelmail user
+ * This option allows spliting file based SquirrelMail user
* data storage directory into several subfolders. Number from
* 0 to 4 allows allows having up to four subfolder levels.
*
/**
* SquirrelMail Attributions Control
*
- * This option disables display of "created by squirrelmail developers"
+ * This option disables display of "created by SquirrelMail developers"
* strings and provider link
* @global bool $hide_sm_attributions
*/
* sent and regular output to begin, which will majorly screw
* things up when we try to send more headers later.
*/
-?>
+?>
\ No newline at end of file
#!/bin/sh
-# This goes through the squirrelmail attachment spool directory and
+# This goes through the SquirrelMail attachment spool directory and
# removes any abandoned temporary files that are more than 10 days old.
# $Id$
#
#!/bin/bash
-# $Id$
+# $Id$
-# WARNING. In order to use it with squirrelmail, you should
-# modify phpDocumentor.ini and add .mod extension
+# WARNING. In order to use it with SquirrelMail, you should
+# modify phpDocumentor.ini and add .mod extension
# to [_phpDocumentor_phpfile_exts] settings.
#/**
# * makedoc - PHPDocumentor script to save your settings
-# *
+# *
# * Put this file inside your PHP project homedir, edit its variables and run whenever you wants to
# * re/make your project documentation.
-# *
+# *
# * The version of this file is the version of PHPDocumentor it is compatible.
-# *
+# *
# * It simples run phpdoc with the parameters you set in this file.
# * NOTE: Do not add spaces after bash variables.
# *
#/**
# * title of generated documentation, default is 'Generated Documentation'
-# *
+# *
# * @var string TITLE
# */
-TITLE="Squirrelmail Devel CVS Documentation"
+TITLE="SquirrelMail Devel CVS Documentation"
-#/**
+#/**
# * name to use for the default package. If not specified, uses 'default'
# *
# * @var string PACKAGES
# */
PACKAGES="squirrelmail"
-#/**
+#/**
# * name of a directory(s) to parse directory1,directory2
-# * $PWD is the directory where makedoc.sh
+# * $PWD is the directory where makedoc.sh
# *
# * @var string PATH_PROJECT
# */
# */
OUTPUTFORMAT=HTML
-#/**
+#/**
# * converter to be used
# *
# * @var string CONVERTER
3) Print it:
echo makeComposeLink($comp_uri, $disp);
-makeComposeLink() has been available since Squirrelmail 1.4.2.
+makeComposeLink() has been available since SquirrelMail 1.4.2.
1) url with arguments to the compose window.
example 1:
-<a href="javascript:void(0)" onclick="comp_in_new("")>
+<a href="javascript:void(0)" onclick="comp_in_new("")>
example 2:
-<a href="javascript:void(0)" onclick="comp_in_new("../../src/compose.php?argument1=true&argument2=test")>
+<a href="javascript:void(0)" onclick="comp_in_new("../../src/compose.php?argument1=true&argument2=test")>
# mysqladmin create squirrelmail
(from the mysql client)
- mysql> GRANT select,insert,update,delete ON squirrelmail.*
+ mysql> GRANT select,insert,update,delete ON squirrelmail.*
TO squirreluser@localhost IDENTIFIED BY 'sqpassword';
The table structure should be similar to this (for MySQL):
Once we had figured out that it was sessions in PHP that was causing the
problem, we tried turning the session management off in the download script
-in Squirrelmail. This introduced another problem for us because we NEEDED
+in SquirrelMail. This introduced another problem for us because we NEEDED
sessions to decypher the key so we could log into the IMAP server and
download the attachment.
that made this work:
session_start()
- header("Pragma: ");
- header("Cache-Control: cache");
+ header("Pragma: ");
+ header("Cache-Control: cache");
With all the testing I have done, this works, and works very well for all
browsers.
gets fixed). The problem has to do with downloading attachments.
Apparently, MSIE forgets how MIME works, when it uses HTTP/1.1. For
the Apache server, insert the following directive in httpd.conf:
-
+
BrowserMatch "MSIE" nokeepalive downgrade-1.0 force-response-1.0
Recent versions of Apache already have a similar directive for a
9.2. $prefs_backend (from 1.4.3rc1 and 1.5.0)
functions/db_prefs.php
functions/file_prefs.php
- 9.2.1. functions/display_messages.php
+ 9.2.1. functions/display_messages.php
(loaded only by file_prefs.php)
Hook Types: Parameters and Return Values
You should change the header to look something more like:
- # Copyright (c) 1999-2003 The Squirrelmail Development Team
+ # Copyright (c) 1999-2003 The SquirrelMail Development Team
# Roland Bauerschmidt <rb@debian.org>, 1999.
# $Id$
msgid ""
"POT-Creation-Date: 2003-01-21 19:21+0100\n"
"PO-Revision-Date: 2003-01-21 21:01+0100\n"
"Last-Translator: Juergen Edner <juergen.edner@epost.de>\n"
- "Language-Team: German <squirrelmail-i18n@lists.squirrelmail.net>\n"
+ "Language-Team: German <squirrelmail-i18n@lists.sourceforge.net>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-1\n"
"Content-Transfer-Encoding: 8bit\n"
If you wish, you can use phpdoc (Javadoc-style) comments, when documenting your
code.
-If you follow the standards that are followed between Squirrelmail core &
+If you follow the standards that are followed between SquirrelMail core &
plugin developers, the resulted documentation can be included with the rest of
-the Squirrelmail code & API documentation. Specifically, in the page-level
+the SquirrelMail code & API documentation. Specifically, in the page-level
docblock, declare the package to be 'plugins', and the subpackage to be the
name of your plugin. For instance:
The rest is up to you. Try to follow some common sense and document what is
really needed. Documenting the code properly can be a big help not only to
yourself, but to those who will take a look at your code, fix the bugs and even
-improve it, in the true open-source spirit that Squirrelmail was built upon.
+improve it, in the true open-source spirit that SquirrelMail was built upon.
For more information about phpdocumentor and how to write proper-tagged
comments, you are directed at:
$Date$
-This file lists squirrelmail options set by D option in conf.pl
+This file lists SquirrelMail options set by D option in conf.pl
It can be used if user can't run conf.pl and changes options manually.
Settings can be different if IMAP server uses shared folders.
/**
* Decode from charset used by this LDAP server to charset used by translation
*
- * Uses squirrelmail charset_decode functions
+ * Uses SquirrelMail charset_decode functions
* @param string string that has to be decoded
* @return string decoded string
*/
}
/**
- * Check if user has previously logged in to the Squirrelmail session. If user
+ * Check if user has previously logged in to the SquirrelMail session. If user
* has not logged in, execution will stop inside this function.
*
* @return int A positive value is returned if user has previously logged in
* Copyright (c) 1999-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Loads constants used by the rest of the Squirrelmail source.
+ * Loads constants used by the rest of the SquirrelMail source.
* This file is include by src/login.php, src/redirect.php and
* src/load_prefs.php.
*
require_once(SM_PATH . 'functions/plugin.php'); /* Required for the hook */
/**************************************************************/
-/* Set values for constants used by Squirrelmail preferences. */
+/* Set values for constants used by SquirrelMail preferences. */
/**************************************************************/
/* Define basic, general purpose preference constants. */
}
/* I use this function for profiling. Should never be called in
- actual versions of squirrelmail released to public. */
+ actual versions of SquirrelMail released to public. */
/*
function getmicrotime() {
$mtime = microtime();
return ($mtime);
}
*/
-?>
+?>
\ No newline at end of file
require_once(SM_PATH . 'functions/plugin.php');
/**
- * Find out where squirrelmail lives and try to be smart about it.
- * The only problem would be when squirrelmail lives in directories
+ * Find out where SquirrelMail lives and try to be smart about it.
+ * The only problem would be when SquirrelMail lives in directories
* called "src", "functions", or "plugins", but people who do that need
* to be beaten with a steel pipe anyway.
*
- * @return string the base uri of squirrelmail installation.
+ * @return string the base uri of SquirrelMail installation.
*/
function sqm_baseuri(){
global $base_uri, $PHP_SELF;
* Return cp1251 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_cp1251
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/cp1251.php is
* included.
*
* Return cp1255 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_cp1255
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/cp1255.php is
* included.
*
* Return cp1256 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_cp1256
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/cp1256.php is
* included.
*
* Return iso-8859-1 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_iso_8859_1
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/iso_8859_1.php is
* included.
*
* Return iso-8859-15 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_iso_8859_15
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/iso_8859_15.php is
* included.
*
* Return iso-8859-2 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_iso_8859_2
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/iso_8859_2.php is
* included.
*
* Return iso-8859-7 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_iso_8859_7
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/iso_8859_7.php is
* included.
*
* Return iso-8859-9 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_iso_8859_9
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/iso_8859_9.php is
* included.
*
* Return koi8-r symbol when unicode character number is provided
*
* This function is used internally by charset_encode_koi8_r
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/koi8_r.php is
* included.
*
* Return koi8-u symbol when unicode character number is provided
*
* This function is used internally by charset_encode_koi8_u
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/koi8_u.php is
* included.
*
* Return tis-620 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_tis_620
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/tis_620.php is
* included.
*
* Return us-ascii symbol when unicode character number is provided
*
* This function is used internally by charset_encode_us_ascii
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/us_ascii.php is
* included.
*
* Return utf8 symbol when unicode character number is provided
*
* This function is used internally by charset_encode_utf_8
- * function. It might be unavailable to other squirrelmail functions.
+ * function. It might be unavailable to other SquirrelMail functions.
* Don't use it or make sure, that functions/encode/utf_8.php is
* included.
*
* php gettext extension works only when locale is set. This wrapper
* function allows to use more than one locale name.
*
- * @param int $category locale category name. Use php named constants
- * (LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, LC_TIME)
+ * @param int $category locale category name. Use php named constants
+ * (LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, LC_TIME)
* @param mixed $locale option contains array with possible locales or string with one locale
* @return string name of set locale or false, if all locales fail.
* @since 1.5.1
if (function_exists('bind_textdomain_codeset')) {
// Japanese translation uses different internal charset
if ($sm_notAlias == 'ja_JP') {
- bind_textdomain_codeset ("squirrelmail", 'EUC-JP');
+ bind_textdomain_codeset ('squirrelmail', 'EUC-JP');
} else {
- bind_textdomain_codeset ("squirrelmail", $languages[$sm_notAlias]['CHARSET'] );
+ bind_textdomain_codeset ('squirrelmail', $languages[$sm_notAlias]['CHARSET'] );
}
}
case 'RFC822.SIZE':
if(!$walk) {
// redefine $sSortField to maintain the same namespace between
- // server-side sorting and squirrelmail sorting
+ // server-side sorting and SquirrelMail sorting
$sSortField = 'SIZE';
}
foreach ($msgs as $item) {
return $res[0];
}
-?>
+?>
\ No newline at end of file
/**
* This function edits the style definition to make them friendly and
- * usable in squirrelmail.
+ * usable in SquirrelMail.
*
* @param $message the message object
* @param $id the message id
} // end fn SendDownloadHeaders
-?>
+?>
\ No newline at end of file
define('SMOPT_SAVE_NOOP', 'save_option_noop');
/**
- * SquirrelOption: An option for Squirrelmail.
+ * SquirrelOption: An option for SquirrelMail.
*
* @package squirrelmail
* @subpackage prefs
*/
var $type;
/**
- * Indicates if a link should be shown to refresh part
+ * Indicates if a link should be shown to refresh part
* or all of the window
*
* See SMOPT_REFRESH_* defines
*/
var $size;
/**
- * Text that follows a text input or
+ * Text that follows a text input or
* select list input on the preferences page
- *
+ *
* useful for indicating units, meanings of special values, etc.
* @var string
*/
*/
var $script;
/**
- * script (usually Javascript) that will be placed after (outside of)
+ * script (usually Javascript) that will be placed after (outside of)
* the INPUT tag
* @var string
*/
*/
var $new_value;
/**
- * associative array, where each key is an actual input value
+ * associative array, where each key is an actual input value
* and the corresponding value is what is displayed to the user
* for that list item in the drop-down list
* @var array
var $possible_values;
/**
* disables html sanitizing.
- *
- * WARNING - don't use it, if user input is possible in option
- * or use own sanitizing functions. Currently works only with
+ *
+ * WARNING - don't use it, if user input is possible in option
+ * or use own sanitizing functions. Currently works only with
* SMOPT_TYPE_STRLIST.
* @var bool
*/
/**
* Set the script for this option.
- * @param string $script
+ * @param string $script
*/
function setScript($script) {
$this->script = $script;
* Creates fields on option pages according to option type
*
* Function that calls other createWidget* functions.
- * @return string html formated option field
+ * @return string html formated option field
*/
function createHTMLWidget() {
global $color;
* hashed location of that datafile.
*
* @param string username the username of the current user
- * @param string dir the squirrelmail datadir
+ * @param string dir the SquirrelMail datadir
* @param string datafile the name of the file to open
* @param bool hash_seach default true
* @return string the hashed location of datafile
* dir for that username.
*
* @param string username the username of the current user
- * @param string dir the squirrelmail datadir
+ * @param string dir the SquirrelMail datadir
* @param string hash_dirs default ''
* @return the path to the hash dir for username
*/
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This code provides various string manipulation functions that are
- * used by the rest of the Squirrelmail code.
+ * used by the rest of the SquirrelMail code.
*
* @version $Id$
* @package squirrelmail
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This code provides various string manipulation functions that are
- * used by the rest of the Squirrelmail code.
+ * used by the rest of the SquirrelMail code.
*
* @version $Id$
* @package squirrelmail
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This code provides various string manipulation functions that are
- * used by the rest of the Squirrelmail code.
+ * used by the rest of the SquirrelMail code.
*
* @version $Id$
* @package squirrelmail
* Copyright (c) 1999-2005 The SquirrelMail development team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This is a standard Squirrelmail-1.2 API for plugins.
+ * This is a standard SquirrelMail 1.2 API for plugins.
*
* @version $Id$
* @package plugins
* Copyright (c) 1999-2005 The SquirrelMail development team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This is a standard Squirrelmail-1.2 API for plugins.
+ * This is a standard SquirrelMail 1.2 API for plugins.
*
* @version $Id$
* @package plugins
* Copyright (c) 1999-2005 The SquirrelMail development team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This is a standard Squirrelmail-1.2 API for plugins.
+ * This is a standard SquirrelMail 1.2 API for plugins.
*
* @version $Id$
* @package plugins
define('SM_PATH','../../');
include_once(SM_PATH . 'include/validate.php');
-
?>
<html>
<body>
<pre>
-
<?php
include_once(SM_PATH . 'plugins/bug_report/system_specs.php');
* Copyright (c) 1999-2005 The SquirrelMail development team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This is a standard Squirrelmail-1.2 API for plugins.
+ * This is a standard SquirrelMail 1.2 API for plugins.
*
* @version $Id$
* @package plugins
********** DESCRIPTION ************
-Simple calendar plugin for Squirrel Mail (squirrelmail.org). As of now it has
+Simple calendar plugin for Squirrel Mail (squirrelmail.org). As of now it has
month view and day view. Events can be created, deleted and updated.
********** REQUIREMENTS **********
-It works with squirrelmail 1.0.6 and 1.2.0-rc2 which are latest at the time
+It works with SquirrelMail 1.0.6 and 1.2.0-rc2 which are latest at the time
of writing
********** INSTALLATION **********
- single entry of repetitve events (ex. birthday repeats every year)
- reminder email/javascript/etc
- weekly view
-
*
* Originally contrubuted by Michal Szczotka <michal@tuxy.org>
*
- * init plugin into squirrelmail
+ * Init plugin into SquirrelMail
*
* $Id$
* @package plugins
-
bulkquery - A program by Brent Bice - 02/2002
Bulkquery is a multi-threaded program that makes a large number of
specific IP addresses against specific DNS based RBLs.
"Why bother?"
-I've been asked this several times. While running squirrelmail on a server
+I've been asked this several times. While running SquirrelMail on a server
with very little bandwidth and very high latency (a dial-up account - snicker)
I noticed that while my filters plugin was making gethostbyname() function
calls, my dial-up line was mostly idle. This was, apparently, because all
the DNS function calls were being made in series. Once a DNS query had been
-sent, no others were sent until a response had been received or until a
+sent, no others were sent until a response had been received or until a
certain timeout period had occurred. And some of the RBLs were quite a
bit faster than the others. This seemed pretty inefficient. "Why not make
more DNS queries while waiting for the replies," I thought.
-README for the info plugin for Squirrelmail
+README for the info plugin for SquirrelMail
This plugin is designed to aid a system admin
-or Squirrelmail developer troubleshoot IMAP commands
+or SquirrelMail developer troubleshoot IMAP commands
and responses.
IMPORTANT NOTE:
* FOR TESTING, TROUBLESHOOTING AND DEVELOPMENT. *
*****************************************************
-You have been warned :)
+You have been warned :)
Ok, now to the good stuff. Enable this plugin as you would any other.
Its called 'info'. You will then have an "IMAP server information" section
any command that changes the contents of your mailbox will ..er..
change the contents of your mailbox :)
-Changes and custom commands are maintained as long as you are on
-the IMAP server options page (even after submitting tests).
+Changes and custom commands are maintained as long as you are on
+the IMAP server options page (even after submitting tests).
Once you leave this page and return then the commmands are reset
-to the defaults. You can manually reset the commands using the
-'default' button, or clear the contents of all the commands with
+to the defaults. You can manually reset the commands using the
+'default' button, or clear the contents of all the commands with
the 'clear' button.
Questions, problems, comments welcome at
* Copies messages from remote server
* Saves server, alias, username, and password in prefs file...
-* Remembers where to resume downloading messages if
+* Remembers where to resume downloading messages if
your pop server supports UIDL.
* Optionally deletes mail from the remote server.
* Allow an infinite amount of remote servers
* Optional to not save password - prompt on check
* Save messages into a local IMAP folder instead of INBOX
-* Check mail during login (Needs SM 1.1.3 or older).
+* Check mail during login (Needs SM 1.1.3 or older).
* Check mail during folder refreshes.
* Allows gettext translations.
Under the options you can add, delete or modify server list where
fetching mail. For each server you can set also username and password;
if you leave password blank, the password whore required when you fetch
-mail. Make sure "Leave Mail On Server" is checked if you do not want
+mail. Make sure "Leave Mail On Server" is checked if you do not want
Mail_Fetch to delete it from the remote server. Once configured,
click 'Fetch' in the SquirrelMail menu to get your mail; you can fetch
mail from all server instead or from only one by selecting the options
In order to secure a little bit the system, pop3 passwords can be encrypted.
The encryption key may be defined in to places. The first, and more secure,
-is in the httpd configuration as an enviromental variable called MF_TIT
-only accesible from the squirrelmail directory.
-
-the way you can do this from apache is adding the following directives to
-httpd.conf (supposing that squirrelmail is located at /usr/local) or an
+is in the httpd configuration as an enviromental variable called MF_TIT
+only accesible from the SquirrelMail directory.
+
+the way you can do this from apache is adding the following directives to
+httpd.conf (supposing that SquirrelMail is located at /usr/local) or an
included configuration file:
<Directory "/usr/local/squirrelmail">
</Directory>
Of course, you should replace the text inside double quotes with the key
-you want to (some kind of secret text). A please remember that the file
+you want to (some kind of secret text). A please remember that the file
where you decided to place this must be root only readable.
The second way is to edit functions.php and look for:
===========
* Add IMAP server stealing
-
+
* Limit number of pop accounts
Translations
============
-Translation is made in the same manner than Squirrelmail's core does.
+Translation is made in the same manner as SquirrelMail's core.
You need to take <plugin_name>.po file, fill the template, store it
in the appropriate locale folder under the plugin and compile the po
file. Better than this fill the po file and send it back to the author.
ChangeLog
=========
-1.3.1
+1.3.1
-Bugfix
+Bugfix
------
1 Delete mail server routine update record not as expected.
The logic is still correct to completed the wanted action, but the order
fetching mail from server is stopped in the middle.
2. POP3 connection will be re-established for non-persistent server failure.
-"Chiu Wai Pun" <pun@alumni.ust.hk>
+"Chiu Wai Pun" <pun@alumni.ust.hk>
---------------------------------------------------------------------------
Philippe Mingo <mingo@rotedic.com>
0.9 Added an alias for each server. Changed default encryption key, please
reenter passwords if you're not using environment system.
0.8 Better encryption security through env variables.
-0.7 Added password encryption and strings internationalization.
+0.7 Added password encryption and strings internationalization.
----------------------------------------------------------------------------
0.6 Bugfix for folder list and typo
set_time_limit of 20 seconds per message (to avoid timeout errors)
0.3 Converted fetch routine to use the POP3 object from thewebmasters.net
Added Leave Mail on Server option
Now only downloads new messages if the pop server supports UIDL.
-----------------------------------------------------------------------------
+----------------------------------------------------------------------------
0.2 Now saves account information
0.1 Initial release by Tyler Akins
----------------------------------------------------------------------------
* Copyright (c) 1999-2005 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This is a standard Squirrelmail-1.2 API for plugins.
+ * This is a standard SquirrelMail 1.2 API for plugins.
*
* $Id$
* @package plugins
define('SMOPT_GRP_SENT_SUBFOLDERS','SENT_SUBFOLDERS');
/**
- * Adds plugin to squirrelmail hooks
+ * Adds plugin to SquirrelMail's hooks
*/
function squirrelmail_plugin_init_sent_subfolders() {
/* Standard initialization API. */
SquirrelSpell plugin
--------------------
-Untar SquirrelSpell into your squirrelmail/plugins directory. Modify the
+Untar SquirrelSpell into your squirrelmail/plugins directory. Modify the
sqspell_config.php file making sure you have ispell or aspell
available on your system and located in PHP's path. The squirrelspell
doesn't check for that and if it is not available, you're just going to
Read files in "doc" directory -- they explain some features.
Enable the plugin either by hand or by running the configure script from
-your squirrelmail install directory.
+your SquirrelMail install directory.
NOTE: If you are using php >= 4.3.0 squirrelspell should work in safe mode.
Otherwise, you may have to disable safe mode for the squirrelspell directory.
APACHE CONF EXAMPLE:
- <Directory /webroot/squirrelmail/plugins/squirrelspell>
- php_admin_value safe_mode 0
- </Directory>
+ <Directory /webroot/squirrelmail/plugins/squirrelspell>
+ php_admin_value safe_mode 0
+ </Directory>
Enjoy and report bugs. ;)
configure the array to look something like this:
$SQSPELL_APP = array(
- "English" => "aspell -a",
+ "English" => "aspell -a",
"Russian" => "ispell -d russian -a",
- ...
- "Swahili" => "ispell -d swahili -a"
- );
+ ...
+ "Swahili" => "ispell -d swahili -a"
+ );
Watch the commas, making sure there isn't one after your last
dictionary declaration. Also, make sure all these dictionaries
Adding until resolved.
**/
$SQSPELL_SOUP_NAZI = 'Mozilla/3, Mozilla/2, Opera 4, Opera/4, Macintosh';
-?>
+?>
server. This has a potential of a serious privacy issue, therefore you
should configure your system to disallow web access to the directory where
your user dictionaries are stored. By default they are stored in your
-$data_dir which you provided in your Squirrelmail config. This is the best
+$data_dir which you provided in your SquirrelMail config. This is the best
option, but you should read the SquirrelMail FAQ's and Readme's on how to
secure that directory.
*/
/**
- * Standard squirrelmail plugin initialization API.
+ * Standard SquirrelMail plugin initialization API.
*
* @return void
*/
$SQSPELL_CRYPTO=FALSE;
/**
- * Load the stuff needed from squirrelmail
+ * Load the stuff needed from SquirrelMail
* @ignore
*/
define('SM_PATH','../../');
$SQSPELL_CRYPTO=FALSE;
/**
- * Load some necessary stuff from squirrelmail.
+ * Load some necessary stuff from SquirrelMail.
* @ignore
*/
define('SM_PATH','../../');
As with other plugins, just uncompress the archive in the plugins
directory, go back to the main directory, run configure and add the plugin.
-Questions/comments/flames/etc can be sent to the Squirrelmail Plugins list
+Questions/comments/flames/etc can be sent to the SquirrelMail Plugins list
Changes
=======
- * Plugin included into squirrelmail distribution
+ * Plugin included into SquirrelMail distribution
* Added site configuration options
1.3 -> 1.4
1.2 -> 1.3
* Stupid bugfix. :-)
-
+
1.1 -> 1.2
* HTML changed to look better
-
+
1.0 -> 1.1
* Added more servers
* Added better language handling
* most likely display the attachment inline inside the browser.
* And finally, the third one will be used by default. If it
* is displayable (text or html), it will load them up in a text
- * viewer (built in to squirrelmail). Otherwise, it sets the
+ * viewer (built in to SquirrelMail). Otherwise, it sets the
* content-type as application/octet-stream
*/
if (isset($absolute_dl) && $absolute_dl) {