LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-14-2012, 10:02 PM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Rep: Reputation: 46
How to preserve my mail when going from slackware 12.0 to 14.0?


Hi:
I have slackware 12.0 installed. I will now replace it by slackware 14.0. Somebody here told me:
Quote:
You really should backup your personal files first, as you always should do when doing something system-critical. But if you do that there is really no point in trying the update, just make a clean install.
So, after the backup, I'll format the partition and install 14.0 on it (I suppose that's what a clean install is). The problem is that I want to keep my mail. What can I do to be able to still see it under 14.0? I was using Seamonkey Mail and, in 14.0 will continue to use it.
 
Old 12-14-2012, 10:44 PM   #2
Mike_M
Member
 
Registered: Mar 2011
Location: California
Distribution: Slackware
Posts: 116

Rep: Reputation: 50
If you only use IMAP to read your mail then there is nothing you need to do, as the mail is stored on the remote server(s). If you store you mail on you local machine then you can probably get away with copying over your Seamonkey Mail profile directory from your old install (Slackware 12.0) to your new install (Slackware 14.0).

I don't use Seamonkey, so I don't know where it keeps profile directories. That should be easy enough to find with a search on the 'net.
 
1 members found this post helpful.
Old 12-14-2012, 10:57 PM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Original Poster
Rep: Reputation: 46
Thank you. I do not use IMAP. I use POP3 y SMTP (DHCP). I think the mail is in
Code:
semoi@darkstar:~$ v .mozilla/default/rxvl4w7z.slt/Mail
total 8
drwx------ 2 semoi users 4096 2012-08-01 10:46 Local\ Folders/
drwx------ 2 semoi users 4096 2012-07-14 03:57 pop3.fibertel.com.ar/
semoi@darkstar:~$ v .mozilla/Default\ User/5oquixb6.slt/Mail/
total 8
drwx------ 2 semoi users 4096 2012-08-20 00:19 Local\ Folders/
drwx------ 2 semoi users 4096 2012-12-15 00:52 POP3.FIBERTEL.COM.AR/
semoi@darkstar:~$
I have to investigate why it is duplicated.
 
Old 12-14-2012, 11:12 PM   #4
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,163

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Quote:
Originally Posted by stf92 View Post
Thank you. I do not use IMAP. I use POP3 y SMTP (DHCP).
IMAP is the way to go with e-mail. It is wonderful to have your e-mail synchronized across all of your computers, phones, and devices. I left POP3 behind quite some time ago. In my opinion IMAP is worth investigating.
 
Old 12-14-2012, 11:39 PM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Original Poster
Rep: Reputation: 46
I don't know if my ISP will let me use IMAP. I could try to create a new account and choose IMAP to see what happens.
 
Old 12-14-2012, 11:46 PM   #6
hitest
Senior Member
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 4,163

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Quote:
Originally Posted by stf92 View Post
I don't know if my ISP will let me use IMAP. I could try to create a new account and choose IMAP to see what happens.
I had the same issue you have with my local ISP. I no longer use my local ISP; I now use google as my mail ISP (specifically gmail). I use gmail to download my local ISP e-mail to my gmail account.
 
Old 12-15-2012, 03:48 PM   #7
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
stf92,

I stopped to use Slackware 12.0 in 2008 (I switched then to Slackware 12.1). So I canít remember where my mail was when I used Slackware 12.0. According to your report your mail is in ~/.mozilla/default/rxvl4w7z.slt/Mail and ~/.mozilla/Default\ User/5oquixb6.slt/Mail/. Both of them follow the same mailbox named pop3.fibertel.com.ar or POP3.FIBERTEL.COM.AR. Itís strange that there are two different locations. I suppose you use two different methods to download your mail. As a result some incoherency occured. You should inspect that carefully.

When I used Slackware 13.xx and when I use Slackware 14.0 my mail was and is in ~/.thunderbird/w9z0oqui.default/Mail/ directory subdirectories. So you see the difference: your mail is in ~/.mozilla/ directory subdirectories and my mail is in ~/.thunderbird/ directory subdirectories.

If you keep your /home/ directory on a separate partition the situation is simple. Install Slackware 14.0 leaving the partition including /home/ directory intact and go to the step 8. below.

If your /home/ directory shares the same partition with Slackware 12.0 the situation is more complicated. In such a case:

1. Make ~/TEMP/ directory and copy there all your dot directories and dot files such as ~/.mozilla/ or ~/.bashrc.

2. Go to ~/ directory and make the backup using tar czf backup.tar.gz TEMP command.

3. Store backup.tar.gz file on some external drive such as pendrive or hard disk.

4. If you have some other important files store them on an external drive as well.

5. Start Slackware 14.0 installation, remove all partitions using cfdisk, and prepare new partitions:

‒ /dev/sda1 for Slackware Linux (about 20 GB).
‒ /dev/sda2 for the swap (about 2 GB).
‒ /dev/sda3 for the /home/ directory (the rest of the drive).

6. Install Slackware 14.0 on /dev/sda1 partition, run Slackware 14.0 for the first time and move /home/ directory to /dev/sda3 partition.

7. Restore your dot directories and dot files in /home/ directory going to ~/ directory, running the command such as tar xzf backup.tar.gz, and moving or copying the dot directories and dot files from ~/TEMP/ directory to ~/ directory. If itís necessary copy there also the other stored files.

8. Make your investigations.

***

The above recipe is obviously too detailed for an experienced user as you ‒ I made it so detailed taking into consideration that some newbies can read that thread as well.
 
Old 12-15-2012, 04:05 PM   #8
Mike_M
Member
 
Registered: Mar 2011
Location: California
Distribution: Slackware
Posts: 116

Rep: Reputation: 50
Quote:
Originally Posted by stf92 View Post
Thank you. I do not use IMAP. I use POP3
For what it is worth, your ISP provides IMAP access:

Code:
$ nc pop3.fibertel.com.ar 143
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN] imap.fibertel.com.ar -- Server IMAP (Fibertel -  Argentina) (mta10)
Perhaps you have some need to stick with POP3 (low ISP disk quotas, extra charges for IMAP access, not wanting to store your email remotely, etc.), but if you wanted to switch to IMAP you could do something like the following:
  • Set up a new IMAP account on your current Slackware/Seamonkey installation
  • Copy all your locally stored email to the Inbox or some other location on your new IMAP account (this may take a long time depending on connection speed and amount of stored mail)
  • Install Slackware 14.0
  • Configure Seamonkey to use your IMAP account
  • Done

Now all your mail is stored remotely and you can access it any time from any computer or device with an IMAP client. No need to worry about backing up and copying your email any time you upgrade your system or change mail clients.
 
1 members found this post helpful.
Old 12-15-2012, 08:43 PM   #9
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Original Poster
Rep: Reputation: 46
Thank you very much guys. I'll have to test these things that you propose.
 
Old 12-15-2012, 09:15 PM   #10
frankbell
Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Mageia, Mint
Posts: 7,618

Rep: Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440Reputation: 1440
Going back to the original question of how to back up and restore your mail files, back up your /home directory to external media, including the hidden files for your mail client and other items you have configured.

For example, I back up my hidden dot-fluxbox, dot-pan2, and dot-opera directories (I use Opera for mail as well as for browsing). I also back up any directories in /etc that I have configured, such as /etc/samba and /etc/rc.d/rc.firewall. I DO NOT back up configuration directories and files that I leave at default.

Once you install the new OS, restore the hidden files and you will have your mail store and other data back.

If you are not sure what directory your mail store is in, check the website for your mail client.

Personally, I'm not a big fan of IMAP for my personal email. I have no reason for having loads of mail on the server and everything synced up. That's just me and how I use email.

For business and professional mail, it is invaluable.

Last edited by frankbell; 12-15-2012 at 09:17 PM.
 
1 members found this post helpful.
Old 12-16-2012, 02:58 AM   #11
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,125

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by Mike_M View Post
For what it is worth, your ISP provides IMAP access:

Code:
$ nc pop3.fibertel.com.ar 143
* OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN] imap.fibertel.com.ar -- Server IMAP (Fibertel -  Argentina) (mta10)
How could you know the port is 143?
 
Old 12-16-2012, 03:03 AM   #12
Mike_M
Member
 
Registered: Mar 2011
Location: California
Distribution: Slackware
Posts: 116

Rep: Reputation: 50
Port 143 is the IANA assigned port for IMAP.
 
Old 12-18-2012, 10:36 PM   #13
MadMaverick9
Member
 
Registered: Aug 2010
Location: Here
Distribution: Slackware 14.0
Posts: 133

Rep: Reputation: Disabled
http://docs.slackware.com/slackware:install
Quote:
For example, many users have a seperate /home partition used for user data and elect not to format it on install. This lets them install newer versions of Slackware without having to backup and restore this data.
Again - for an experienced user like yourself with 2102 posts - this is old news of course. Sorry to have bothered you.

Now to get serious - I've quite often wondered about this too. As a senior member you should be the one answering these kind of questions, not asking them. Sorry to be so blunt, but ...

Maybe someone can explain to us what it means to be a "senior member" on LQ.
 
Old 12-19-2012, 11:58 AM   #14
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,252

Rep: Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630Reputation: 630
Quote:
Originally Posted by MadMaverick9 View Post
Again - for an experienced user like yourself with 2102 posts - this is old news of course. Sorry to have bothered you.

Now to get serious - I've quite often wondered about this too. As a senior member you should be the one answering these kind of questions, not asking them. Sorry to be so blunt, but ...

Maybe someone can explain to us what it means to be a "senior member" on LQ.
That was more than a little unnecessary. We all have gaps in our knowledge regardless of our level of experience. This was really an application question and not a Linux one -- you may be a Linux pro but unless you have sufficient experience with Seamonkey mail you still may not know where it stores its mail (and whether it could be imported on a new install). The "senior member" status just indicates that a given user has posted more than 1,000? times. It has nothing to do with a user's knowledge or ability.
 
Old 12-19-2012, 04:24 PM   #15
Poprocks
Member
 
Registered: Sep 2003
Location: Toronto, Canada
Distribution: Slackware
Posts: 196

Rep: Reputation: 29
Quite frankly, if I were you I'd just take the plunge and do a brute-force upgrade from 12.0 to 14.0 while keeping the UPGRADE.TXT files from releases made in the interim by my side, recognizing that you're going to have to fix some breakages before you're good to go. But, more to the point I agree with the others that you should definitely be making a full backup of your home directory before proceeding with this upgrade whether you do it by way of a fresh install or a brute-force package upgrade.

I know that (perhaps not on Slackware releases, but I can't recall with 100% certainty) in the past I've seen config directories for Mozilla applications go from ~/.mozilla/<application> to ~/.<application> and back again, so to be safe rather than sorry it'd be better to just back-up all of /home (and /etc while you're at it, at least).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail(x) on Slackware 12.2 does not send mail to local users wilson47 Linux - Software 4 03-03-2009 03:46 PM
I want to preserve a pid linuxprogrammer Linux - Newbie 4 07-23-2004 09:55 AM
preserve links jmr71769 Debian 2 04-22-2004 10:01 AM
Preserve the ownership juno Linux - General 1 01-16-2003 01:38 PM
preserve the ownership juno Linux - General 5 01-08-2003 11:01 PM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration