Christoph Höger | 1 Oct 2009 17:39
Picon

What causes syncs off messages?

Hi,

what exactly causes offlineimap to sync a message again? When I open
evolution on my maildir (asides from confusing mutt) the next time I run
offlineimap, it will download lots of messages again, overwriting old
ones but not changing something.

Since I think evolution has some bugs in its maildir support, I wanted
to know what could trigger those downloads.

regards

Christoph

Christoph Höger | 1 Oct 2009 18:11
Picon

Re: What causes syncs off messages?

Am Donnerstag, den 01.10.2009, 17:39 +0200 schrieb Christoph Höger:
> Hi,
> 
> what exactly causes offlineimap to sync a message again? When I open
> evolution on my maildir (asides from confusing mutt) the next time I run
> offlineimap, it will download lots of messages again, overwriting old
> ones but not changing something.
> 
> Since I think evolution has some bugs in its maildir support, I wanted
> to know what could trigger those downloads.
> 
> regards
> 
> Christoph
Ok that one is solved: evolution empties the trash folder on exit per
default. 

-- Attached file included as plaintext by Ecartis --
-- File: signature.asc
-- Desc: Dies ist ein digital signierter Nachrichtenteil

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkrE1K4ACgkQhMBO4cVSGS/GgwCdELzhuFucNdhJhuqZkzXahiPD
kOsAn3NqnlqlyEuuaU9PeEHTREfhXICd
=ejPX
-----END PGP SIGNATURE-----

(Continue reading)

Kenneth Pronovici | 18 Oct 2009 23:56
Picon

Best way to configure backup?

Hi,
I am looking at using offlineimap to back up my gmail account.  For this
purpose, I want a one-way pull, not a two-way sync.  I just want my backup
to include the latest gmail state.  In particular, I want to make sure that
changes in the backup (which would always be inadvertent) never
get propagated to gmail.
What is the best way to accomplish this?  From reading the docs, especially
the Deleting Local Folders section, it looks like the safe bet might be to
always remove the metadata folder immediately before running offlineimap.
Is that a good idea?  Can you suggest another alternative that might work
better?

Thanks,

KEN

--

-- 
Kenneth J. Pronovici <pronovic <at> ieee.org>
http://www.cedar-solutions.com/

Paul Hinze | 19 Oct 2009 03:39
Picon
Gravatar

Re: Best way to configure backup?

On Sun, Oct 18, 2009 at 4:56 PM, Kenneth Pronovici <pronovic <at> ieee.org> wrot=
e:
> I want a one-way pull, not a two-way sync. =A0I just want my backup
> to include the latest gmail state. =A0In particular, I want to make sure =
that
> changes in the backup (which would always be inadvertent) never
> get propagated to gmail.

AFAIK, two-way sync is central to offlineimap's design; there might be
a way to configure it to do only one way, but I'll leave that to those
who know more than me. :)

My suggestion is this: rather than trying to work around the main
behavior of offlineimap, you might be better served looking into
something that does one-way sync as its primary task.  I would
recommend looking into fetchmail [1] [2]; it's something I used for a
time to do just what you say--backup a GMail account.

I'm sure there is a way to get offlineimap to suit your needs, but I'm
just not sure if it's the right tool for the job you're looking for.
Others on this list, feel free to disagree. :)

Cheers,

Paul

[1] fetchmail homepage: http://fetchmail.berlios.de/
[2] "what is fetchmail and why should i bother?":
http://fetchmail.berlios.de/fetchmail-FAQ.html#G1

(Continue reading)

Kenneth Pronovici | 19 Oct 2009 04:04
Picon

Re: Best way to configure backup?

Thanks for the feedback...
Over the last couple of hours, I mostly reached this conclusion myself.  I
think you're right that something like fetchmail or getmail is probably more
appropriate.
KEN

On Sun, Oct 18, 2009 at 8:39 PM, Paul Hinze <paul.t.hinze <at> gmail.com> wrote:

> On Sun, Oct 18, 2009 at 4:56 PM, Kenneth Pronovici <pronovic <at> ieee.org>
> wrote:
> > I want a one-way pull, not a two-way sync.  I just want my backup
> > to include the latest gmail state.  In particular, I want to make sure
> that
> > changes in the backup (which would always be inadvertent) never
> > get propagated to gmail.
>
> AFAIK, two-way sync is central to offlineimap's design; there might be
> a way to configure it to do only one way, but I'll leave that to those
> who know more than me. :)
>
> My suggestion is this: rather than trying to work around the main
> behavior of offlineimap, you might be better served looking into
> something that does one-way sync as its primary task.  I would
> recommend looking into fetchmail [1] [2]; it's something I used for a
> time to do just what you say--backup a GMail account.
>
> I'm sure there is a way to get offlineimap to suit your needs, but I'm
> just not sure if it's the right tool for the job you're looking for.
> Others on this list, feel free to disagree. :)
>
(Continue reading)

Per B. Sederberg | 22 Oct 2009 00:46
Picon

Re: Same Remote Server, Different Folders, Different Delays

Hi Everybody:

I found this message from a year ago and I would like to have the same
syncing policy with gmail, but it doesn't seem to work.

I have very few messages in my INBOX and would like to access it
quickly and frequently, whereas I have over 35K messages in All Mail,
which takes up a chunk of bandwidth and processor cycles to update in
OfflineIMAP whenever there's a new message.

I tried setting up two accounts (one with just my inbox, the one with
all mail, each set with different autorefresh values) in my
.offlineimaprc, but since they point to the same local folder, which
is I think not allowed in OfflineIMAP, it doesn't seem to work, only
syncing up the one I list first.

Does anyone know of a possible solution?  I can provide more
information if necessary.

Thanks,
Per

On Thu, Oct 23, 2008 at 12:29 PM, Paul Hinze <paul.t.hinze <at> gmail.com> wrote=
:
> Hi All,
>
> First I've got to say I love offlineimap. =A0It lets me have all the
> benefits of mutt with local Maildirs while at the same time mirroring
> all local activity on my GMail account. =A0Brilliant.
>
(Continue reading)

Mike Dawson | 22 Oct 2009 05:22
Favicon

Re: Same Remote Server, Different Folders, Different Delays

Hi Per,

I wrote a patch some time ago to allow you to instruct offlineimap to
sync only the last x days of email.  If you check it out from git, this
patch is already in there.  That would allow offlineimap to look only at
the last few days of new email, therefor not chewing up much bandwidth.
The parameter is called maxage in the offlineimap conf file.

Regards,

-Mike

On Wed, 2009-10-21 at 18:46 -0400, Per B. Sederberg wrote:
> Hi Everybody:
> 
> I found this message from a year ago and I would like to have the same
> syncing policy with gmail, but it doesn't seem to work.
> 
> I have very few messages in my INBOX and would like to access it
> quickly and frequently, whereas I have over 35K messages in All Mail,
> which takes up a chunk of bandwidth and processor cycles to update in
> OfflineIMAP whenever there's a new message.
> 
> I tried setting up two accounts (one with just my inbox, the one with
> all mail, each set with different autorefresh values) in my
> .offlineimaprc, but since they point to the same local folder, which
> is I think not allowed in OfflineIMAP, it doesn't seem to work, only
> syncing up the one I list first.
> 
> Does anyone know of a possible solution?  I can provide more
(Continue reading)

Daniel Meszaros | 22 Oct 2009 10:39
Picon

Syncing the read status, too?

Hi there,

I am syncing email accounts at GoogleApps/GoogleMail. Everything works 
fine. But I would like to sync the read status, too. Vice versa. Is 
there some configuration parameter which allows this that I could have 
missed?

CU,
Daniel.

Ng Oon-Ee | 22 Oct 2009 11:05
Picon

Re: Syncing the read status, too?

On Thu, 2009-10-22 at 10:39 +0200, Daniel Meszaros wrote:
> Hi there,
> 
> I am syncing email accounts at GoogleApps/GoogleMail. Everything works 
> fine. But I would like to sync the read status, too. Vice versa. Is 
> there some configuration parameter which allows this that I could have 
> missed?
> 
> CU,
> Daniel.

You're doing quick syncs. Full syncs will propagate your read status.

James Stapley | 22 Oct 2009 12:59
Favicon
Gravatar

Offlineimap memory usage

Hi,
I'm not sure if this is in fact normal, but I think I'm seeing rather 
abnormal memory usage in offlineimap? I've been using it for a few 
months now, and not paid attention to it's memory footprint until just 
now, so I don't have a baseline to compare it against.

Here's the line from ps aux:
<user>      7097  2.1 31.2 718312 159832 ?       Sl   12:16   0:40 
/usr/bin/python2.5 /usr/bin/offlineimap -c /home/≤myuser>/.offlineimaprc

It's using over 31% of the memory on the system! (I checked again a 
moment ago and it's now up to 46.8%, and now falling again)

I use offlineimap to sync email for multiple users (4-6, depending on 
who actually needs it) from one single .offlineimaprc file between two 
servers (basically mirroring mail between an internal and an external 
server).

The system also has amavisd, clamav and spamassassin (spamd/spamc), 
which could perhaps be "interfering" (slow mail processing?).

I'm using offlineimap 6.2.0 on Ubuntu 8.04.x (server), (a virtual 
machine, running in vmware server v1.x with 512mb RAM allocated to it).

Is this kind of memory usage normal, or is there anything I can do to 
bring it down?

Many thanks and best regards,

James.
(Continue reading)


Gmane