Re: Problem on upgrading SquirrelMail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  > >  Ubuntu 7.04 server amd64
>  > >  Postfix 2.3.8
>  > >  SquirrelMail version 1.4.11
>  > >
>  > >  I'm prepared following;
>  > >
>  > >  4. Upgrading SquirrelMail
>  > >  http://squirrelmail.org/docs/admin/admin-4.html#ss4.1
>  > >
>  > >  to upgrade SquirrelMail to version "SquirrelMail version 1.4.13"
>  > >
>  > >  I can't upgrade it on repo because I installed SM on tarball
>  > sometimes
>  > >  ago.  However I don't know which directory/directories I have to
>  > >  backup.  The Maildirs are on;
>  >
>  > SquirrelMail is an IMAP client.  It has nothing to do with the IMAP
>  > server and if/where/when/how/why mail is stored on your server.  The
>  > only things you should back up are the squirrelmail source code,
>  > including the plugins directory therein, and the squirrelmail
>  > configuration file(s), wherever you have them located.
>
>  Thanks for your advice.
>
>  I found;
>
>  # find / -name squirrelmail -type d
>  /usr/local/squirrelmail
>  /var/local/squirrelmail
>  /etc/squirrelmail
>  * end *

It's up to you to figure out which is what you need.  Chances are
/usr/local contains the source, /etc contains the config files (some
distros separate config out of the source - plain squirrelmail has
config inside the source), and /var/local might have the user
data/preferences(?)

>  # ls /usr/local/squirrelmail/www/[code]

www?  this is an offbeat installation location

> AUTHORS    configure  doc        include    plugins       src
>  ChangeLog  contrib    functions  index.php  po            themes
>  class      COPYING    help       INSTALL    README        UPGRADE
>  config     data       images     locale     ReleaseNotes
>
>  I suppose to backup "/usr/local/squirrelmail/www/" here.  It includes
>  plugins.

yes

>  # ls /etc/squirrelmail/
>  apache.conf         config_local.php  default_pref       index.php
>  config_default.php  config.php        filters_setup.php
>  sqspell_config.php
>
>  Also backup "etc/squirrelmail/" which includes config and pref files.

no prefs here except the default file.  yes, this is perhaps the most
important thing to back up

>  If I'm wrong please correct me.  TIA
>
>  > If you want
>  > to
>  > be extra safe, you could also back up the data directory (or database
>  > if you put prefs there).  Once you confirm the upgrade worked, you
>  > probably don't need your backup of the old source code.
>
>  /usr/local/squirrelmail/data is only an empty directory
>
>  All users' mails are on /home/userX directories.  I can backup /home
>  directory.

As I mentioned, SM has *nothing* to do with user mail directories.
Changing an IMAP client has zero effect on the mail stored in the IMAP
server.  SM preferences are unrelated and are found in the SM data
directory, which you can find by looking at the value for $data_dir in
the main SM config.php file.

>  Advice would be appreciated.  TIA
>
>
>
>  > >  # ls /home
>  > >  user1   user2   user3   user3   user4   ftp     etc.
>  > >
>  > >
>  > >
>  > >  # ls /home/user1/
>  > >  Maildir
>  > >
>  > >
>  > >
>  > >  # ls /home/user1/Maildir/
>  > >  courierimapkeywords  courierimapsubscribed  courierimapuiddb  cur
>  > new
>  > >  tmp
>  > >
>  > >
>  > >  etc.
>  > >
>  > >
>  > >  # ls /home/ftp/
>  > >  welcome.msg
>  > >
>  > >
>  > >
>  > >  # find / -name squirrelmail -type d
>  > >  /usr/local/squirrelmail
>  > >  /var/local/squirrelmail
>  > >  /etc/squirrelmail
>  > >
>  > >
>  > >
>  > >  # ls /usr/local/squirrelmail/
>  > >  data  temp  www
>  > >
>  > >
>  > >  data and temp are empty directories
>  > >
>  > >
>  > >  # ls /usr/local/squirrelmail/www/
>  > >  AUTHORS    configure  doc        include    plugins       src
>  > >  ChangeLog  contrib    functions  index.php  po            themes
>  > >  class      COPYING    help       INSTALL    README        UPGRADE
>  > >  config     data       images     locale     ReleaseNotes
>  > >
>  > >
>  > >
>  > >  # ls /var/local/squirrelmail/
>  > >  attach  data
>  > >
>  > >
>  > >  attach is empty directory
>  > >
>  > >
>  > >  data directory containing users' .abook .pref
>  > >
>  > >
>  > >  # ls /etc/squirrelmail/
>  > >  apache.conf         config_local.php  default_pref       index.php
>  > >  config_default.php  config.php        filters_setup.php
>  > >  sqspell_config.php
>  > >
>  > >
>  > >
>  > >  Previously by mistake I have another set of users on:-
>  > >
>  > >  # ls /var/mail/
>  > >  user1   user2   user3   user4   etc.    Maildir
>  > >
>  > >  They are doc files not directories.  All incoming mails were added
>  > to
>  > >  the respective users' doc.  How the mistake was made is unknown to
>  > me.
>  > >
>  > >
>  > >  After adding following lines
>  > >  DROPPRIVS=YES
>  > >  ORGMAIL=$HOME/Maildir/
>  > >  DEFAULT=$ORGMAIL
>  > >
>  > >  on /etc/procmailrc
>  > >
>  > >  All incoming mails are delivered to users' Maildir on /home/user1
>  > >  /home/user2 etc.  Those users' doc files are still there but not
>  > used
>  > >  anymore.
>  > >
>  > >
>  > >
>  > >  Now which directory/directories I have to backup?  Whether I still
>  > can
>  > >  follow the document "Upgrading SquirrelMail".  Please help.  TIA
>  > >

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux