[arch-general] offlineimap
Hi :) I suspect that offlineimap isn't what I need for the wanted task: - to download emails from my providers server - to delete them from the server when the download is finished - to keep them on my computer, to get access to the emails from different Linux installs So I won't sync between my provider's server and my computer, but I'll sync between several mailers on my computer. I like to test offlineimap anyway. There are two issues: - the wanted language for my computer should be English, but the maildir directories always are generated in German. I never set anything, but the keyboard and the timezone to German, but first there wasn't a /etc/locale.conf, later I added this configuration file, but nothing changed [1] - neither Evolution, nor Kmail are able to use the generated maildir, resp. Evolution doesn't show the tons of mails of the INBOX, but instead the few mails of a folder called Entw&APw-rfe [2] FWIW I also installed Mutt, but I'll use a MUA with a GUI. [1] ################ ### 1. SETUP ### ################ /etc/rc.conf LOCALE="en_US.UTF-8" DAEMON_LOCALE="no" HARDWARECLOCK="localtime" TIMEZONE="Europe/Berlin" KEYMAP="de-latin1" /etc/X11/xorg.conf.d/keyboard.conf Option "XkbLayout" "de" /etc/locale.conf No such file or directory ################ ### 2. SETUP ### ################ /etc/locale.conf LOCALE="en_US.UTF-8 I deleted .offlineimap and Maildir and set up a new Evolution accounds. [2] ##################### ### offlineimaprc ### ##################### ################################################## # General definitions ################################################## [general] metadata = ~/.offlineimap accounts = Spinymouse maxsyncaccounts = 1 ui = Blinkenlights fsync = true ################################################## # Mailbox name recorder ################################################## [mbnames] ### First I tried with this and different settings for sep #enabled = no #filename = ~/Mutt/muttrc.mailboxes #header = "mailboxes " #peritem = "+%(accountname)s/%(foldername)s" #sep =############ #footer = "\n" ################################################## # Accounts ################################################## [Account Spinymouse] localrepository = Spinymouse-local remoterepository = Spinymouse-remote [Repository Spinymouse-local] type = Maildir localfolders = ~/Maildir sep = / restoreatime = no [Repository Spinymouse-remote] type = IMAP remotehost = imap.alice-dsl.net ssl = yes remoteuser = ralf.mardorf@alice-dsl.net maxconnections = 2 holdconnectionopen = no subscribedonly = no readonly = False Regards, Ralf
On 2011-12-12T22:29:56, Ralf Madorf wrote:
I suspect that offlineimap isn't what I need for the wanted task:
- to download emails from my providers server - to delete them from the server when the download is finished - to keep them on my computer, to get access to the emails from different Linux installs
I think that for 1 and 2 (download and delete) you can use getmail with pop3 and 'delete = true' option. I never used like this but from the documentation [1] I think this do the intended. For 3 is "different Linux installs" on same computer? If so, you can simple use the same maildir. If not you can share the maildir via imap. [1]: http://pyropus.ca/software/getmail/configuration.html
-----Original Message----- From: Kazuo Teramoto [mailto:kaz.rag@gmail.com] Sent: Tue 12/13/2011 13:22 To: Ralf Mardorf; arch-general@archlinux.org Subject: Re: [arch-general] offlineimap On 2011-12-12T22:29:56, Ralf Madorf wrote:
I suspect that offlineimap isn't what I need for the wanted task:
- to download emails from my providers server - to delete them from the server when the download is finished - to keep them on my computer, to get access to the emails from different Linux installs
I think that for 1 and 2 (download and delete) you can use getmail with pop3 and 'delete = true' option. +++ That's the way it's usually done. --- I never used like this but from the documentation [1] I think this do the intended. For 3 is "different Linux installs" on same computer? If so, you can simple use the same maildir. If not you can share the maildir via imap. [1]: http://pyropus.ca/software/getmail/configuration.html +++ At the moment Kmail and Evolution can't use the maildir generated by offlineimap. Some mailers aren't able to use maildir, there are tricks to use e.g. equal versions of thunderbird with their mail format. I guess I need something that download mail from my providers server and that provides IMAP on my computer. Yes, several installs on the same machine. I guess what I need is a IMAP server on my machine that gets the mails from my provider, will delete them there and the mail clienets on my machine sync on my machine by IMAP. Hm? Since maildir is a new format for Evolution I should test if it now is able to share it's maildir format by several Evolution mailers. In the past Evolution couldn't import it's own mails from backups without hacking :D. Thanks, Ralf
Maybe you could try mailsync http://mailsync.sourceforge.net/ Regards, Victor 2011/12/12 Ralf Madorf <ralf.mardorf@alice-dsl.net>
Hi :)
I suspect that offlineimap isn't what I need for the wanted task:
- to download emails from my providers server - to delete them from the server when the download is finished - to keep them on my computer, to get access to the emails from different Linux installs
So I won't sync between my provider's server and my computer, but I'll sync between several mailers on my computer.
I like to test offlineimap anyway.
There are two issues:
- the wanted language for my computer should be English, but the maildir directories always are generated in German. I never set anything, but the keyboard and the timezone to German, but first there wasn't a /etc/locale.conf, later I added this configuration file, but nothing changed [1]
- neither Evolution, nor Kmail are able to use the generated maildir, resp. Evolution doesn't show the tons of mails of the INBOX, but instead the few mails of a folder called Entw&APw-rfe [2] FWIW I also installed Mutt, but I'll use a MUA with a GUI.
[1] ################ ### 1. SETUP ### ################
/etc/rc.conf LOCALE="en_US.UTF-8" DAEMON_LOCALE="no" HARDWARECLOCK="localtime" TIMEZONE="Europe/Berlin" KEYMAP="de-latin1"
/etc/X11/xorg.conf.d/keyboard.conf Option "XkbLayout" "de"
/etc/locale.conf No such file or directory
################ ### 2. SETUP ### ################
/etc/locale.conf LOCALE="en_US.UTF-8
I deleted .offlineimap and Maildir and set up a new Evolution accounds.
[2] ##################### ### offlineimaprc ### #####################
################################################## # General definitions ##################################################
[general]
metadata = ~/.offlineimap accounts = Spinymouse maxsyncaccounts = 1 ui = Blinkenlights
fsync = true
################################################## # Mailbox name recorder ##################################################
[mbnames]
### First I tried with this and different settings for sep #enabled = no #filename = ~/Mutt/muttrc.mailboxes #header = "mailboxes " #peritem = "+%(accountname)s/%(foldername)s" #sep =############ #footer = "\n"
################################################## # Accounts ##################################################
[Account Spinymouse]
localrepository = Spinymouse-local remoterepository = Spinymouse-remote
[Repository Spinymouse-local]
type = Maildir localfolders = ~/Maildir sep = / restoreatime = no
[Repository Spinymouse-remote]
type = IMAP remotehost = imap.alice-dsl.net ssl = yes remoteuser = ralf.mardorf@alice-dsl.net maxconnections = 2 holdconnectionopen = no subscribedonly = no readonly = False
Regards,
Ralf
-----Original Message----- From: arch-general-bounces@archlinux.org on behalf of Victor Silva Sent: Tue 12/13/2011 14:25 To: General Discussion about Arch Linux Subject: Re: [arch-general] offlineimap Maybe you could try mailsync http://mailsync.sourceforge.net/ +++ Thank you :) that's it! Regards, Ralf PS: Also a good searchword: http://barnson.org/node/81 But no special hit for Arch Linux.
No, this all seems to be uncomfortable apps :(. I'll test if usinmg the same maildir will work between GUI mailers, without using offlinemail. Hm? For old installs I can't chose Evolution, since theire versions are without maildir support. Is this the safe way to remove unneeded packages with it's dependencies and the dependencies of the dependencies, without making the system inconsistent? Dependencies that are needed by other packages won't be removed? pacman -Rss Is there a way to find out what files I can remove from /home? There's no stored data like emails, I'll remove everything that's from Mutt Offlineimap Evolution Kmail - Ralf
On 12/13/2011 09:04 AM, Ralf Mardorf wrote: I'm not sure exactly what your goal is, but my advice is never use any mail client's local storage for anything. I'd suggest you run a local imap server (dovecot works well) - keep the data dir on a partition that is common to all your local linux installs (and copy the dovecot configs of course to each version of linux). Now just move your ISP mail to your local imap server - any client will be able to see all mail on the local server. Thunderbird will let you use message filters to autp move the mail from ISP to local imap (while TB is running) or just do it by hand as you read the email ... I'm sure there are standalone tools to copy / move between 2 imap mail boxes as well if you need more than client to do it. gene
On Tue, 13 Dec 2011 15:04:46 +0100 "Ralf Mardorf" wrote:
I'll test if usinmg the same maildir will work between GUI mailers
Claws-mail uses maildir by default. You'd need to think or test locking or collisions for multiple users at once. Using dovecot would be better. You can always download with pop3 on claws-mail and use it's filters to sort if you like and then just drop the mails into a dovecot maildir (new folder) and set the right permissions on users boxes. -- Kc
participants (6)
-
Genes MailLists
-
Kazuo Teramoto
-
Kevin Chadwick
-
Ralf Madorf
-
Ralf Mardorf
-
Victor Silva