Source File section

File deleted: Old-Packages/samba-3.0.2a.tar.gz (Size: 10445147, Created: Apr 8 14:34 )
File created: Versuche/mambo-cms/MamboV4[1].5.1a-Stable.tar.gz (Size: 1267617, Created: Oct 8 21:20 )
File created: Old-Packages/samba-3.0.2a.tar.gz (Size: 10445147, Created: Apr 8 2004 )

Usermanager Section

File created: mylinux-usermanager-0.98/MyLinux-Patches/abook_take.patch

--- ./setup.php	2002-06-27 15:24:39.000000000 +0200
+++ ./setup.php	2004-10-08 19:50:13.000000000 +0200
@@ -1,6 +1,6 @@
 <?php
 
-   require_once('../functions/url_parser.php');
+   require_once(SM_PATH . 'functions/url_parser.php');
 
 
 /* Address Take -- steals addresses from incoming email messages.  Searches

File created: mylinux-usermanager-0.98/MyLinux-Patches/locale-de.patch

--- ./squirrelmail.po	2004-10-08 22:52:38.000000000 +0200
+++ ./squirrelmail.po	2004-10-08 22:55:46.000000000 +0200
@@ -117,13 +117,13 @@
 msgstr "Unbekannter Fehler"
 
 msgid "Add address"
-msgstr "Adresse hinzuf&uuml;gen"
+msgstr "Adresse hinzufügen"
 
 msgid "Edit selected"
-msgstr "Bearbeite markierte Eintr&auml;ge"
+msgstr "Bearbeite markierte Einträge"
 
 msgid "Delete selected"
-msgstr "Ausgew&auml;hlte Eintr&auml;ge l&ouml;schen"
+msgstr "Ausgewählte Einträge löschen"
 
 #, c-format
 msgid "Add to %s"

File changed: mylinux-usermanager-0.98/compile-scripts/COMPILE-IPSEC

88a89,150
> cp isakmpd /usr/sbin/
> cp *.5 /usr/man/man5/
> cp *.8 /usr/man/man8/
> mkdir -p /etc/isakmpd/ca /etc/isakmpd/pubkeys /etc/isakmpd/crls \
>   /etc/isakmpd/certs
> mkdir -m 700 /etc/isakmpd/private
> 
> cat << "EOF" > /etc/isakmpd/isakmpd.conf
> [General]
> Listen-on=192.168.0.7
> 
> [Phase 1]
> 10.0.0.10=ISAKMP-peer-west
> 
> [Phase 2]
> Connections=IPsec-east-west
> 
> [ISAKMP-peer-west]
> Phase=1
> Transport=udp
> Local-address=192.168.0.7
> Address=192.168.0.7
> Configuration=Default-main-mode
> Authentication=yelnif24
> 
> [IPsec-east-west]
> Phase=2
> ISAKMP-peer=ISAKMP-peer-west
> Configuration=Default-quick-mode
> Local-ID=Net-east
> Remote-ID=Net-west
> 
> [Net-west]
> ID-type=IPV4_ADDR_SUBNET
> Network=192.168.0.0
> Netmask=255.255.255.0
> 
> [Net-east]
> ID-type=IPV4_ADDR_SUBNET
> Network=10.0.0.0
> Netmask=255.0.0.0
> 
> [Default-main-mode]
> DOI=IPSEC
> EXCHANGE_TYPE=ID_PROT
> Transforms=3DES-sha
> 
> [Default-quick-mode]
> DOI=IPSEC
> EXCHANGE_TYPE=QUICK_MODE
> Suites=QM-ESP-3DES-SHA-SUITE
> EOF
> chmod 600 /etc/isakmpd/isakmpd.conf
> 
> cat << "EOF" > /etc/isakmpd/isakmpd.policy
> KeyNote-Version: 2
> Comment: This policy accepts ESP SAs from a remote that uses the right password
> Authorizer: "POLICY"
> Licensees: "passphrase:mylinux"
> Conditions: app_domain == "IPsec policy" && esp_present == "yes" -> "true";
> EOF
> chmod 600 /etc/isakmpd/isakmpd.policy

File changed: mylinux-usermanager-0.98/compile-scripts/COMPILE-MYLINUX

1316c1316,1319
< cat /MyLinux-Sources/php-5.0.2/php.ini-dist | sed 's/register_globals = Off/register_globals = On/' > /usr/local/lib/php.ini
---
> cat /MyLinux-Sources/php-5.0.2/php.ini-dist \
>   | sed -e 's/register_globals = Off/register_globals = On/' \
>         -e 's/display_errors = On/display_errors = Off/' \
>   > /usr/local/lib/php.ini
1385,1578c1388
< # or just do:
< cat > /usr/local/httpd/htdocs/squirrelmail/config/config.php << "EOF"
< <?php
< 
< /**
<  * SquirrelMail Configuration File
<  * Created using the configure script, conf.pl
<  */
< 
< global $version;
< $config_version = '1.4.0';
< $config_use_color = 2;
< 
< $org_name      = "Fourier Information GmbH";
< $org_logo      = SM_PATH . 'images/sm_logo.png';
< $org_logo_width  = '308';
< $org_logo_height = '111';
< $org_title     = "myLinux";
< $signout_page  = '';
< $frame_top     = '_top';
< 
< $provider_uri     = 'http://www.squirrelmail.org/';
< 
< $provider_name     = 'SquirrelMail';
< 
< $motd = "";
< 
< $squirrelmail_default_language = 'de';
< 
< $domain                 = 'mylinux.de';
< $imapServerAddress      = 'localhost';
< $imapPort               = 143;
< $useSendmail            = false;
< $smtpServerAddress      = 'localhost';
< $smtpPort               = 25;
< $sendmail_path          = '/usr/sbin/sendmail';
< $pop_before_smtp        = false;
< $imap_server_type       = 'other';
< $invert_time            = false;
< $optional_delimiter     = 'detect';
< 
< $default_folder_prefix          = '';
< $trash_folder                   = 'INBOX.Trash';
< $sent_folder                    = 'INBOX.Sent';
< $draft_folder                   = 'INBOX.Drafts';
< $default_move_to_trash          = true;
< $default_move_to_sent           = true;
< $default_save_as_draft          = true;
< $show_prefix_option             = false;
< $list_special_folders_first     = true;
< $use_special_folder_color       = true;
< $auto_expunge                   = true;
< $default_sub_of_inbox           = true;
< $show_contain_subfolders_option = false;
< $default_unseen_notify          = 2;
< $default_unseen_type            = 1;
< $auto_create_special            = true;
< $delete_folder                  = false;
< $noselect_fix_enable            = false;
< 
< $default_charset          = 'iso-8859-1';
< $data_dir                 = SM_PATH . 'data/';
< $attachment_dir           = SM_PATH . 'attachments/';
< $dir_hash_level           = 0;
< $default_left_size        = '180';
< $force_username_lowercase = false;
< $default_use_priority     = true;
< $hide_sm_attributions     = false;
< $default_use_mdn          = true;
< $edit_identity            = true;
< $edit_name                = true;
< $allow_thread_sort        = false;
< $allow_server_sort        = false;
< $allow_charset_search     = true;
< $uid_support              = true;
< 
< $plugins[0] = 'calendar';
< $plugins[1] = 'administrator';
< $plugins[2] = 'avelsieve';
< $plugins[3] = 'abook_backend_template';
< $plugins[4] = 'abook_take';
< $plugins[5] = 'unsafe_image_rules';
< $plugins[6] = 'jsclock';
< $plugins[7] = 'show_user_and_ip';
< $plugins[8] = 'left_css';
< $plugins[9] = 'autocomplete';
< $plugins[10] = 'compatibility';
< $plugins[11] = 'gpg';
< 
< $theme_css = '';
< $theme_default = 3;
< $theme[0]['PATH'] = SM_PATH . 'themes/default_theme.php';
< $theme[0]['NAME'] = 'Default';
< $theme[1]['PATH'] = SM_PATH . 'themes/plain_blue_theme.php';
< $theme[1]['NAME'] = 'Plain Blue';
< $theme[2]['PATH'] = SM_PATH . 'themes/sandstorm_theme.php';
< $theme[2]['NAME'] = 'Sand Storm';
< $theme[3]['PATH'] = SM_PATH . 'themes/deepocean_theme.php';
< $theme[3]['NAME'] = 'Deep Ocean';
< $theme[4]['PATH'] = SM_PATH . 'themes/slashdot_theme.php';
< $theme[4]['NAME'] = 'Slashdot';
< $theme[5]['PATH'] = SM_PATH . 'themes/purple_theme.php';
< $theme[5]['NAME'] = 'Purple';
< $theme[6]['PATH'] = SM_PATH . 'themes/forest_theme.php';
< $theme[6]['NAME'] = 'Forest';
< $theme[7]['PATH'] = SM_PATH . 'themes/ice_theme.php';
< $theme[7]['NAME'] = 'Ice';
< $theme[8]['PATH'] = SM_PATH . 'themes/seaspray_theme.php';
< $theme[8]['NAME'] = 'Sea Spray';
< $theme[9]['PATH'] = SM_PATH . 'themes/bluesteel_theme.php';
< $theme[9]['NAME'] = 'Blue Steel';
< $theme[10]['PATH'] = SM_PATH . 'themes/dark_grey_theme.php';
< $theme[10]['NAME'] = 'Dark Grey';
< $theme[11]['PATH'] = SM_PATH . 'themes/high_contrast_theme.php';
< $theme[11]['NAME'] = 'High Contrast';
< $theme[12]['PATH'] = SM_PATH . 'themes/black_bean_burrito_theme.php';
< $theme[12]['NAME'] = 'Black Bean Burrito';
< $theme[13]['PATH'] = SM_PATH . 'themes/servery_theme.php';
< $theme[13]['NAME'] = 'Servery';
< $theme[14]['PATH'] = SM_PATH . 'themes/maize_theme.php';
< $theme[14]['NAME'] = 'Maize';
< $theme[15]['PATH'] = SM_PATH . 'themes/bluesnews_theme.php';
< $theme[15]['NAME'] = 'BluesNews';
< $theme[16]['PATH'] = SM_PATH . 'themes/deepocean2_theme.php';
< $theme[16]['NAME'] = 'Deep Ocean 2';
< $theme[17]['PATH'] = SM_PATH . 'themes/blue_grey_theme.php';
< $theme[17]['NAME'] = 'Blue Grey';
< $theme[18]['PATH'] = SM_PATH . 'themes/dompie_theme.php';
< $theme[18]['NAME'] = 'Dompie';
< $theme[19]['PATH'] = SM_PATH . 'themes/methodical_theme.php';
< $theme[19]['NAME'] = 'Methodical';
< $theme[20]['PATH'] = SM_PATH . 'themes/greenhouse_effect.php';
< $theme[20]['NAME'] = 'Greenhouse Effect (Changes)';
< $theme[21]['PATH'] = SM_PATH . 'themes/in_the_pink.php';
< $theme[21]['NAME'] = 'In The Pink (Changes)';
< $theme[22]['PATH'] = SM_PATH . 'themes/kind_of_blue.php';
< $theme[22]['NAME'] = 'Kind of Blue (Changes)';
< $theme[23]['PATH'] = SM_PATH . 'themes/monostochastic.php';
< $theme[23]['NAME'] = 'Monostochastic (Changes)';
< $theme[24]['PATH'] = SM_PATH . 'themes/shades_of_grey.php';
< $theme[24]['NAME'] = 'Shades of Grey (Changes)';
< $theme[25]['PATH'] = SM_PATH . 'themes/spice_of_life.php';
< $theme[25]['NAME'] = 'Spice of Life (Changes)';
< $theme[26]['PATH'] = SM_PATH . 'themes/spice_of_life_lite.php';
< $theme[26]['NAME'] = 'Spice of Life - Lite (Changes)';
< $theme[27]['PATH'] = SM_PATH . 'themes/spice_of_life_dark.php';
< $theme[27]['NAME'] = 'Spice of Life - Dark (Changes)';
< $theme[28]['PATH'] = SM_PATH . 'themes/christmas.php';
< $theme[28]['NAME'] = 'Holiday - Christmas';
< $theme[29]['PATH'] = SM_PATH . 'themes/darkness.php';
< $theme[29]['NAME'] = 'Darkness (Changes)';
< $theme[30]['PATH'] = SM_PATH . 'themes/random.php';
< $theme[30]['NAME'] = 'Random (Changes every login)';
< $theme[31]['PATH'] = SM_PATH . 'themes/midnight.php';
< $theme[31]['NAME'] = 'Midnight';
< $theme[32]['PATH'] = SM_PATH . 'themes/alien_glow.php';
< $theme[32]['NAME'] = 'Alien Glow';
< $theme[33]['PATH'] = SM_PATH . 'themes/dark_green.php';
< $theme[33]['NAME'] = 'Dark Green';
< $theme[34]['PATH'] = SM_PATH . 'themes/penguin.php';
< $theme[34]['NAME'] = 'Penguin';
< 
< $default_use_javascript_addr_book = true;
< $ldap_server[0] = array(
<     'host' => 'localhost',
<     'base' => 'dc=mylinux,dc=de'
< );
< 
< $addrbook_dsn = '';
< $addrbook_table = 'address';
< 
< $prefs_dsn = '';
< $prefs_table = 'userprefs';
< $prefs_user_field = 'user';
< $prefs_key_field = 'prefkey';
< $prefs_val_field = 'prefval';
< $no_list_for_subscribe = false;
< $smtp_auth_mech = 'none';
< $imap_auth_mech = 'login';
< $use_imap_tls = false;
< $use_smtp_tls = false;
< $session_name = 'SQMSESSID';
< 
< @include SM_PATH . 'config/config_local.php';
< 
< /**
<  * Make sure there are no characters after the PHP closing
<  * tag below (including newline characters and whitespace).
<  * Otherwise, that character will cause the headers to be
<  * sent and regular output to begin, which will majorly screw
<  * things up when we try to send more headers later.
<  */
< ?>
< EOF
---
> # the configuration is given by the myLinux usermanager setup script
1583a1394
> # the configuration is given by the myLinux usermanager setup script
1585,1624c1396,1403
< # initialize some plugins and set folder names to german convention:
< cat << "EOF"
< chosen_theme=../themes/deepocean_theme.php
< show_html_default=1
< javascript_on=1
< move_to_trash=1
< trash_folder=INBOX.Gel&APY-schte Objekte
< move_to_sent=1
< sent_folder=INBOX.Gesendete Objekte
< custom_css=sans-10.css
< language=de_DE
< save_as_draft=1
< draft_folder=INBOX.Entw&APw-rfe
< hililist=a:0:{}
< mailbox_select_style=1
< my_page_first_shown=0
< my_last_ip=192.168.0.1
< my_last_date=1097013600
< date_format=2
< hour_format=1
< enable_forward_as_attachment=0
< include_self_reply_all=0
< attachment_common_show_images=1
< jsclock_face_name=gold
< jsclock_position=above
< jsclock_hours=24
< jsclock_seconds=1
< jsclock_border=0
< jsclock_padding=0
< show_username_and_ip_on_left=0
< autocomplete_enabled=Email
< autocomplete_insensitive=1
< unsafe_image_rules_all=0
< unsafe_image_rules_addr=1
< unsafe_image_rules_ids=0
< unsafe_image_rules_trusted=1
< unsafe_image_rules_add_email=0
< unsafe_image_rules_add_domain=0
< unsafe_image_rules_add_ask=1
< EOF
---
> # There is an error in the handling of HTML control characters
> # in HTML formular buttons of the addressbook frontend: the tags
> # themself are displayed, not interpreted. Here the Umlauts ä,
> # ö, ü are displayed as &auml;, &ouml; and &uuml;. The following
> # is a "quick and dirty" patch, which replaces the HTML tags
> # with the Umlaut characters itself.
> cd /usr/local/httpd/htdocs/squirrelmail/locale/de_DE/LC_MESSAGES
> patch -Np1 -i /MyLinux-Patches/locale-de.patch
1638c1417,1421
< cp -R /MyLinux-Sources/avelsieve/ /usr/local/httpd/htdocs/squirrelmail/plugins/
---
> # This plugin has to be activated in the usermanager setup
> # script squirrelmail.sh!
> chown -R root.root avelsieve/
> cp -Rdp /MyLinux-Sources/avelsieve/ \
>   /usr/local/httpd/htdocs/squirrelmail/plugins/
1642c1425
< # further squirrelmail plugins (activation see config.php)   #
---
> # abook_take                                                 #
1643a1427,1439
> # This plugin has to be activated in the usermanager setup
> # script squirrelmail.sh!
> chown -R root.root abook_take/
> cp -Rdp /MyLinux-Sources/abook_take/ \
>   /usr/local/httpd/htdocs/squirrelmail/plugins/
> cd /usr/local/httpd/htdocs/squirrelmail/plugins/abook_take/
> patch -Np1 -i /MyLinux-Patches/abook_take.patch
> ##############################################################
> # further squirrelmail plugins                               #
> ##############################################################
> # These plugins have to be activated in the usermanager setup
> # script squirrelmail.sh!
> cd /MyLinux-Sources/
1645,1647c1441,1442
< abook_backend_template/ abook_take/ abook_import_export/ \
< unsafe_image_rules/ jsclock/ show_user_and_ip/ left_css/ \
< autocomplete/ compatibility/ gpg/
---
> abook_backend_template/ unsafe_image_rules/ jsclock/ \
> show_user_and_ip/ left_css/ autocomplete/ compatibility/ gpg/
1649,1650c1444,1445
< chown -R root.root $i
< cp -R $i /usr/local/httpd/htdocs/squirrelmail/plugins/
---
>   chown -R root.root $i
>   cp -Rdp $i /usr/local/httpd/htdocs/squirrelmail/plugins/

File changed: mylinux-usermanager-0.98/env.pm

2,21c2,6
< ########################################################################
< # File:           env.pm                                               #
< # myLinux Server: Copyright (c) 2003 Michael Oberg                     #
< # Version:        0.92                                                 #
< # Author:         Michael Oberg <michael.oberg@mylinuxproject.de>      #
< #                                                                      #
< # This program is free software; you can redistribute it and/or modify #
< # it under the terms of the GNU General Public License as published by #
< # the Free Software Foundation; either version 2 of the License, or    #
< # (at your option) any later version.                                  #
< #                                                                      #
< # This program is distributed in the hope that it will be useful,      #
< # but WITHOUT ANY WARRANTY; without even the implied warranty of       #
< # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the         #
< # GNU General Public License for more details.                         #
< #                                                                      #
< # You should have received a copy of the GNU Public License along      #
< # with this package; if not, write to the Free Software Foundation,    #
< # Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.       #
< ########################################################################
---
> 
> # ----------------------------------------------------------- #
> # Copyright (c) 2003 by Michael Oberg                         #
> # Alle Rechte vorbehalten.                                    #
> # ----------------------------------------------------------- #
24c9
< $HOMEPATH = "/home";			# path to the users home directories
---
> $HOMEPATH = "/home";	# path to the users home directories
29c14
< $hostname = "lfs";
---
> $hostname = "livecd";
32c17,21
< $cyrushost = "localhost";		# IMAP mailserver machine
---
> $imapserver = "livecd.mylinux.de";	# IMAP mailserver machine
> $smtpserver = "livecd.mylinux.de";	# SMTP mailserver machine
> $mailservername = "myLinux Mailserver";	# name of the MS Outlook account
> $addressbook = "myLinux Addressbook";	# name of the MS Outlook LDAP account
> 					# (used for SquirrelMail, too)
45c34
< $ldaphost = "$hostname.$domain";
---
> $ldapserver = "livecd.mylinux.de";

File changed: mylinux-usermanager-0.98/regtemplate.reg

13a14,46
> "Account Name"="#MAILSERVERNAME#"
> "IMAP Server"="#IMAPSERVER#"
> "IMAP Port"=dword:000003e1
> "IMAP Secure Connection"=dword:00000001
> "IMAP Timeout"=dword:0000003c
> "IMAP Dirty"=dword:00000001
> "SMTP Server"="#SMTPSERVER#"
> "SMTP User Name"=""
> "SMTP Use Sicily"=dword:00000002
> "SMTP Port"=dword:00000019
> "SMTP Secure Connection"=dword:00000001
> "SMTP Timeout"=dword:0000003c
> "SMTP Split Messages"=dword:00000000
> 
> [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\OMI Account Manager\Accounts\00000002]
> "Account Name"="#ADDRESSBOOK#"
> "Connection Type"=dword:00000000
> "LDAP Server"="#LDAPSERVER#"
> "LDAP Authentication"=dword:00000000
> "LDAP Server ID"=dword:00000001
> "LDAP Resolve Flag"=dword:00000001
> "LDAP Timeout"=dword:0000003c
> "LDAP Search Return"=dword:00000064
> "LDAP Search Base"="#LDAPBASE#"
> "LDAP Port"=dword:00000185
> "LDAP Secure Connection"=dword:00000000
> "LDAP Simple Search"=dword:00000000
> "LDAP User Name"=""
> "LDAP URL"=""
> "LDAP Logo"=""
> "LDAP Bind DN"=dword:00000000
> "LDAP Advanced Search Attributes"=""
> "LDAP NTDS"=dword:00000002

File changed: mylinux-usermanager-0.98/setup/cyrus.sh

42a43,46
> if [ ! -d $MAILDBPATH/config/db ]
> then
>   cp -Rdp /var/imap/ $MAILDBPATH
> fi

File changed: mylinux-usermanager-0.98/setup/mylinux.conf

38a39,48
> ADDRESSBOOK="mylinux Addressbook"
> 				# this is only the name displayed in the
> 				# SquirrelMail webmailers address book
> MAILSERVERNAME="myLinux Mailserver"
> 				# this is only the name of the MS Outlook
> 				# email account
> $MAILTRASH = "Gel&APY-schte Objekte"
> 				# name of the mail trash folder
> $MAILSENT = "Gesendete Objekte"	# name of the mail sent folder
> $MAILDRAFTS = "Entw&APw-rfe"	# name of the mail draft folder

File changed: mylinux-usermanager-0.98/setup/mylinux.sh

34a35,36
>   -e "s|#SMTPSERVER#|$SMTPSERVER|g" \
>   -e "s|#LDAPSERVER#|$LDAPSERVER|g" \
35a38,41
>   -e "s|#ADDRESSBOOK#|$ADDRESSBOOK|g" \
>   -e "s|#MAILTRASH#|$MAILTRASH|g" \
>   -e "s|#MAILSENT#|$MAILSENT|g" \
>   -e "s|#MAILDRAFTS#|$MAILDRAFTS|g" \
53c59,63
< $cyrushost = "#IMAPSERVER#";		# IMAP mailserver machine
---
> $imapserver = "#IMAPSERVER#";		# IMAP mailserver machine
> $smtpserver = "#SMTPSERVER#";		# SMTP mailserver machine
> $mailservername = "#MAILSERVERNAME#";	# name of the MS Outlook account
> $addressbook = "#ADDRESSBOOK#";		# name of the MS Outlook LDAP account
> 					# (used for SquirrelMail, too)
66,71c76,79
< $ldaphost = "$hostname.$domain";
< $mailtrash = "Gel&APY-schte Objekte";	# name of the squirrelmail trash
< 					# mailbox
< $mailsent = "Gesendete Objekte";	# name of the squirrelmail sent mailbox
< $maildrafts = "Entw&APw-rfe";		# name of the squirrelmail drafts
< 					# mailbox
---
> $ldapserver = "#LDAPSERVER#";
> $mailtrash = "#MAILTRASH#";		# name of the mail trash folder
> $mailsent = "#MAILSENT#";		# name of the mail sent folder
> $maildrafts = "#MAILDRAFTS#";		# name of the mail drafts folder

File changed: mylinux-usermanager-0.98/setup/squirrelmail.sh

28c28,36
< cat << "EOF" | sed -e "s/#ORGNAME#/$COMPANY/g" -e "s/#ORGTITLE#/$COMPANY/g" -e "s/#DOMAIN#/$DOMAIN/g" -e "s/#IMAPSERVER#/$IMAPSERVER/g" -e "s/#SMTPSERVER#/$SMTPSERVER/g" -e "s/#LDAPSERVER#/$LDAPSERVER/g" -e "s/#LDAPBASE#/dc=$SUBDOMAIN,dc=$TOPDOMAIN/g" > /usr/local/httpd/htdocs/squirrelmail/config/config.php
---
> cat << "EOF" \
>   | sed -e "s/#ORGNAME#/$COMPANY/g" \
>         -e "s/#DOMAIN#/$DOMAIN/g" \
>         -e "s/#IMAPSERVER#/$IMAPSERVER/g" \
>         -e "s/#SMTPSERVER#/$SMTPSERVER/g" \
>         -e "s/#LDAPSERVER#/$LDAPSERVER/g" \
>         -e "s/#LDAPBASE#/dc=$SUBDOMAIN,dc=$TOPDOMAIN/g" \
>         -e "s/#ADDRESSBOOK#/$ADDRESSBOOK/g" \
>   > /usr/local/httpd/htdocs/squirrelmail/config/config.php
37c45
< $config_version = '1.4.1';
---
> $config_version = '1.4.0';
44c52
< $org_title     = "#ORGTITLE#";
---
> $org_title     = "SquirrelMail $version";
54c62
< $squirrelmail_default_language = 'de';
---
> $squirrelmail_default_language = 'en_US';
89c97
< $attachment_dir           = SM_PATH . 'attachments/';
---
> $attachment_dir           = $data_dir;
91c99
< $default_left_size        = '150';
---
> $default_left_size        = '180';
103,104c111,112
< $plugins[0] = 'calendar';
< $plugins[1] = 'administrator';
---
> $plugins[0] = 'gpg';
> $plugins[1] = 'jsclock';
105a114,121
> $plugins[3] = 'calendar';
> $plugins[4] = 'abook_take';
> $plugins[5] = 'unsafe_image_rules';
> $plugins[6] = 'administrator';
> $plugins[7] = 'newmail';
> $plugins[8] = 'autocomplete';
> $plugins[9] = 'compatibility';
> $plugins[10] = 'abook_backend_template';
178a195,198
> $theme[35]['PATH'] = SM_PATH . 'themes/minimal_bw.php';
> $theme[35]['NAME'] = 'Minimal BW';
> $theme[36]['PATH'] = SM_PATH . 'themes/redmond.php';
> $theme[36]['NAME'] = 'Redmond';
183c203,204
<     'base' => '#LDAPBASE#'
---
>     'base' => '#LDAPBASE#',
>     'name' => '#ADDRESSBOOK#'
211a233,280
> 
> cat << "EOF" \
>   | sed -e "s|#MAILTRASH#|$MAILTRASH|g" \
> 	-e "s|#MAILSENT#|$MAILSENT|g" \
> 	-e "s|#MAILDRAFTS#|$MAILDRAFTS|g" \
>   > /usr/local/httpd/htdocs/squirrelmail/data/default_pref
> chosen_theme=../themes/deepocean_theme.php
> show_html_default=1
> javascript_on=1
> move_to_trash=1
> trash_folder=INBOX.#MAILTRASH#
> move_to_sent=1
> sent_folder=INBOX.#MAILSENT#
> custom_css=sans-10.css
> language=de_DE
> save_as_draft=1
> draft_folder=INBOX.#MAILDRAFTS#
> hililist=a:0:{}
> mailbox_select_style=1
> my_page_first_shown=0
> my_last_ip=192.168.0.1
> my_last_date=1097013600
> date_format=2
> hour_format=1
> enable_forward_as_attachment=0
> include_self_reply_all=0
> attachment_common_show_images=1
> jsclock_face_name=gold
> jsclock_position=above
> jsclock_hours=24
> jsclock_seconds=1
> jsclock_border=0
> jsclock_padding=0
> show_username_and_ip_on_left=0
> autocomplete_enabled=Email
> autocomplete_insensitive=1
> unsafe_image_rules_all=0
> unsafe_image_rules_addr=1
> unsafe_image_rules_ids=0
> unsafe_image_rules_trusted=1
> unsafe_image_rules_add_email=0
> unsafe_image_rules_add_domain=0
> unsafe_image_rules_add_ask=1
> abook_take_location=center
> newmail_popup=on
> newmail_recent=on
> newmail_changetitle=on
> EOF

File changed: mylinux-usermanager-0.98/usermanager.pm

35c35
<   $hostname = $env::cyrushost;
---
>   $hostname = $env::imapserver;
103c103
<   $hostname = $env::cyrushost;
---
>   $hostname = $env::imapserver;
200c200
<   $TMPOUT = `/usr/bin/ldapadd -ZZ -a -c -f $env::DATAPATH/tmp/CREATEUSER-$LOGINNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost` or die ("ldapadd failed!\n");
---
>   $TMPOUT = `/usr/bin/ldapadd -ZZ -a -c -f $env::DATAPATH/tmp/CREATEUSER-$LOGINNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver` or die ("ldapadd failed!\n");
220c220
<   $TMPOUT = `/usr/bin/ldapdelete -ZZ -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost "$DN"`;
---
>   $TMPOUT = `/usr/bin/ldapdelete -ZZ -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver "$DN"`;
240c240
<   $TMPOUT = `/usr/bin/ldapdelete -ZZ -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost "$DN"`;
---
>   $TMPOUT = `/usr/bin/ldapdelete -ZZ -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver "$DN"`;
287c287
<   $TMPOUT = `/usr/bin/ldapadd -ZZ -a -c -f $env::DATAPATH/tmp/CREATEGROUP-$GROUPNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost` or die ("ldapadd failed!\n");
---
>   $TMPOUT = `/usr/bin/ldapadd -ZZ -a -c -f $env::DATAPATH/tmp/CREATEGROUP-$GROUPNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver` or die ("ldapadd failed!\n");
391c391
<   $TMPOUT = `/usr/bin/ldapadd -ZZ -a -c -f $env::DATAPATH/tmp/CREATEUSER-$LOGINNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost`;
---
>   $TMPOUT = `/usr/bin/ldapadd -ZZ -a -c -f $env::DATAPATH/tmp/CREATEUSER-$LOGINNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver`;
428a429,435
>   $REGTEMPLATE =~ s/#MAILSERVERNAME#/$env::mailservername/gs;
>   $REGTEMPLATE =~ s/#IMAPSERVER#/$env::imapserver/gs;
>   $REGTEMPLATE =~ s/#SMTPSERVER#/$env::smtpserver/gs;
>   $REGTEMPLATE =~ s/#LDAPSERVER#/$env::ldapserver/gs;
>   $REGTEMPLATE =~ s/#MAILSERVERNAME#/$env::mailservername/gs;
>   $REGTEMPLATE =~ s/#ADDRESSBOOK#/$env::addressbook/gs;
>   $REGTEMPLATE =~ s/#LDAPBASE#/$env::ldapbase/gs;
482c489
<   $TMPOUT = `/usr/bin/ldapadd -ZZ -a -c -f $env::DATAPATH/tmp/CREATEALIASES-$LOGINNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost`;
---
>   $TMPOUT = `/usr/bin/ldapadd -ZZ -a -c -f $env::DATAPATH/tmp/CREATEALIASES-$LOGINNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver`;
560c567
<   $TMPOUT = `/usr/bin/ldapdelete -ZZ -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost "sendmailMTAKey=$SHORTEMAIL, ou=aliases, $env::ldapbase"`;
---
>   $TMPOUT = `/usr/bin/ldapdelete -ZZ -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver "sendmailMTAKey=$SHORTEMAIL, ou=aliases, $env::ldapbase"`;
566c573
<   $TMPOUT = `/usr/bin/ldapdelete -ZZ -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost "$DN"`;
---
>   $TMPOUT = `/usr/bin/ldapdelete -ZZ -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver "$DN"`;
623c630
<     $TMPOUT = `/usr/bin/ldapmodify -ZZ -f $env::DATAPATH/tmp/CREATEUSER-$LOGINNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost` or die ("ldapmodify failed!\n");
---
>     $TMPOUT = `/usr/bin/ldapmodify -ZZ -f $env::DATAPATH/tmp/CREATEUSER-$LOGINNAME -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver` or die ("ldapmodify failed!\n");
765c772
<   $TMPOUT = `/usr/bin/ldapmodify -ZZ -f $env::DATAPATH/tmp/MODIFYENTRY -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldaphost` or die ("ldapmodify failed!\n");
---
>   $TMPOUT = `/usr/bin/ldapmodify -ZZ -f $env::DATAPATH/tmp/MODIFYENTRY -x -y $env::DATAPATH/slappasswd -D "$env::ldaprootdn" -h $env::ldapserver` or die ("ldapmodify failed!\n");