>
> Hi squirrelmail users,
>
>
>
> I recently did an update and I wanted to give an overview of the process
> involved in (what I think is) updating squirrelmail for a production
> environment.
> Maybe there are better ways to do this and other users can comment,
> share their experiences or give additional information on how they do
> this.
>
> A list of plugins is available at the end of this email.
>
>
> ENVIRONMENT DESCRIPTION:
>
> Platform: Debian sarge
> Web:      apache 1.3.33 and apache-ssl 1.3.33
> Mail:     postfix, postfix-tls 2.1.5
> IMAP:     cyrus 2.1.18
>
> E-mail usernames and passwords are stored in a mysql db. I use
> web-cyradm for this purpose. Its functionality is ok, but the web user
> interface is rather unintuitive, and contains several bugs.
>
> For squirrelmail 1.4.4, I came up with several patches to make things
> work the way I wanted them to.
> I will try to list any custom change that I made, as I had to reproduce
> it in yesterday's upgrade.
>
>
> PRE 0: BACKUPS, BACKUPS, BACKUPS
>
> Create backups of all squirrelmail directories, the squirrelmail
> database, and the mail database.
>
>
> PRE 1: ADAPT SQUIRRELMAIL TO MY DIRECTORY STRUCTURE / SETUP
>
> Have previously used debian's squirrelmail package, and I liked some of
> it's features. Most importantly, configuration files are kept in
> /etc/squirrelmail. Steps:
> * create new squirrelmail directories as
>    /usr/share/squirrelmail-1.4.6 and /etc/squirrelmail-1.4.6 so as not to
>    interfere with running version during installation.
> * move "config/*" to /etc/squirrelmail-1.4.6 and create symlink
> * hack "conf.pl" to reflect change of location for sqmail, plugin and
>    themes directory. Otherwise cannot use conf.pl to load plugins.

Wrong. Rule No.1 for Debian - "Don't store custom files in system
directories". /usr/share is used by Debian packages. System upgrade can
override your customizations. It is very unlikely to happen to
/usr/share/squirrelmail-1.4.6, but you still use wrong place to store
customizations. Use /usr/local or webserver's data directories.
http://www.pathname.com/fhs/

...

> STEP 3: HACK db_prefs.php
> - This time, created custom patch to extend the default array for db
>    prefs in db_prefs.php. IMO this should be configurable externally.

See forced_prefs plugin.

-- 
Tomas


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
--
squirrelmail-users mailing list
Posting Guidelines: 
http://www.squirrelmail.org/wiki/MailingListPostingGuidelines
List Address: squirrelmail-users@lists.sourceforge.net
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to