LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-16-2014, 12:36 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
Backing up an email account.


Hi: I am about to change my ISP and would like to make a backup of my mails before they cancel my account and all of my mail is lost. My DE Xfce4 and the mail client is Seamonkey. Is there a way to backup all my mail from within Seamonkey? I could also just backup the appropriate directory if I knew what it is.
 
Old 05-16-2014, 01:59 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,496

Rep: Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559Reputation: 1559
It's highly likely that your e-mails are being downloaded to your client PC so they'll still be there in the account / folder when you go in to your client.

You simply leave that account in place but tell your client not to check mail on it.

Is this of any use? http://kb.mozillazine.org/Profile_folder_-_SeaMonkey
 
1 members found this post helpful.
Old 05-16-2014, 02:06 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111
In "~/.mozilla/seamonkey/profiles.ini" look for the "Path=" definition of the profile you are using. That Path is located in the same directory as your profiles.ini file and contains everything you need to back up.
There will be subdirectories called "Mail" and/or "ImapMail" in there, and naking a copy of those directories is sufficient to have a backup of all your emails, but it may be wiser to backup the whole "~/.mozilla/seamonkey" directory so that you can preserve all of your settings,

Eric
 
1 members found this post helpful.
Old 05-16-2014, 02:48 AM   #4
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by TenTenths View Post
It's highly likely that your e-mails are being downloaded to your client PC so they'll still be there in the account / folder when you go in to your client.

You simply leave that account in place but tell your client not to check mail on it.

Is this of any use? http://kb.mozillazine.org/Profile_folder_-_SeaMonkey
Of course it is. By the way, I never knew how to answer the following question when creating a new account in the Seamonkey mail client (it consists of the remark made above the 'Use Global Inbox' option in the attached picture). Do you know the difference?
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 05162014 - 04:37:14 AM.png
Views:	31
Size:	36.5 KB
ID:	15511  
 
Old 05-16-2014, 02:51 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Alien Bob View Post
In "~/.mozilla/seamonkey/profiles.ini" look for the "Path=" definition of the profile you are using. That Path is located in the same directory as your profiles.ini file and contains everything you need to back up.
There will be subdirectories called "Mail" and/or "ImapMail" in there, and naking a copy of those directories is sufficient to have a backup of all your emails, but it may be wiser to backup the whole "~/.mozilla/seamonkey" directory so that you can preserve all of your settings,

Eric
Thank you very much, Eric.
 
Old 05-16-2014, 10:09 AM   #6
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
Code:
semoi@server:~$ gzip -r .mozilla/seamonkey/
gzip: .mozilla/seamonkey//8dv4aw6u.default/lock: Too many levels of symbolic links
^C
semoi@server:~$
This is what I got when trying to gzip the directory. I could try with bzip2 but the man page does not say anything about directory recursion. What would the bzip2 syntax be in this case?
 
Old 05-16-2014, 12:43 PM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111Reputation: 8111
Are you running that gzip command while you have Seamonkey running? The lock file is an artifact of a running instance of Seamonkey.

Try to figure this one out without relying on the forum. You'll learn nothing by letting us answer all your questions.

Eric
 
Old 05-16-2014, 12:56 PM   #8
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
When I've done this I've used getmail (provided by Slackware but see note #1 below). It's very easy to use; here's an example
for backing up Gmail email over IMAP to a local mbox file.
  1. Create the file ~/.getmail/gmailrc (note: add your username, password, and path):
    Code:
    [retriever]
    type = SimpleIMAPSSLRetriever
    server = imap.gmail.com
    username = USERNAME
    password = PASSWORD
    mailboxes = ("[Gmail]/All Mail",)
    port = 993
    ca_certs = /etc/ssl/certs/ca-certificates.crt
    
    [destination]
    type = Mboxrd
    path = /path/to/backup/gmail.mbox
    
    [options]
    received = false
    delivered_to = false
    read_all = false
    verbose = 0
  2. Create the directory where the mbox file will live (change to whatever you picked above in path):
    Code:
    $ mkdir -p /path/to/backup
  3. Perform the backup:
    Code:
    $ getmail -r gmailrc
    Note 1: Slackware 14.1 ships getmail 4.30.1 but to have full SSL support for IMAP4 and POP3 you need to upgrade to 4.46.0
    (otherwise ca_certs and other important SSL security features are unavailable). A nice fellow recently contributed this support
    (see getmail's CHANGELOG).

    Note 2: My example backs up the email to a single mbox-format file, if you prefer maildir it's a small change (see this Arch
    Linux howto for an example).
--mancha
 
  


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
LXer: Backing Up and Restoring your GMail Account(s) with GMVault LXer Syndicated Linux News 0 11-03-2012 09:30 PM
Evolution email: How to remove an email account PaddyJoe Linux - Software 3 08-28-2011 09:15 PM
Postfix: forward all account email within domain to another email account? 18Googol2 Linux - Software 3 03-04-2011 01:10 PM
cyrus email account linux account nobu Linux - Enterprise 0 10-31-2005 03:16 AM
Creating A Second Email Address For Email Account On Sendmail treedstang Linux - Software 1 04-27-2004 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:40 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration