Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Yet Another Offlineimap Thread (YAOT)
@ 2009-06-15 19:44 Andrei Thorp
  2009-06-17 15:13 ` Andrei Thorp
  0 siblings, 1 reply; 6+ messages in thread
From: Andrei Thorp @ 2009-06-15 19:44 UTC (permalink / raw)


Hello!

So I decided today to finally jump in and try to use sup for my main
gmail account and not just my work stuff. I've set up offlineimap and
downloaded the mail that I care for. Questions:

 - Does imap support a way to say which mails have been read and not?
I think it probably does. If this is the case, can sup-sync-back
somehow do this? It'd be nice if my gmail understood when a mail has
been read, so when I sync back up with offlineimap, it's all savvy.
 - I vaguely saw some tricks here for how to reply with different
e-mail addresses and stuff. I'd like to execute a whole different
command when replying in some situations, so that my mail gets sent
through gmail's smtp server instead of my work's one, for example. How
would I achieve this?
 - I don't see a daemon mode for offlineimap. I guess the expected
usage is to make it quiet and put it in a cron/regular script? Am I
correct?

Thanks!

-AT


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sup-talk] Yet Another Offlineimap Thread (YAOT)
  2009-06-15 19:44 [sup-talk] Yet Another Offlineimap Thread (YAOT) Andrei Thorp
@ 2009-06-17 15:13 ` Andrei Thorp
  2009-06-17 15:29   ` Ingmar Vanhassel
  0 siblings, 1 reply; 6+ messages in thread
From: Andrei Thorp @ 2009-06-17 15:13 UTC (permalink / raw)


Anyway, so.

I set up a loop to run offlineimap on 5 minute intervals. Now, every
so often, sup complains that it's fallen out of sync (I have no other
clients doing anything there, just sup and offlineimap). I can't
imagine why this is happening. Hints?

-AT


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sup-talk] Yet Another Offlineimap Thread (YAOT)
  2009-06-17 15:13 ` Andrei Thorp
@ 2009-06-17 15:29   ` Ingmar Vanhassel
       [not found]     ` <80055d7c0906170854r6ac45e83vea42a3b4866d7c2d@mail.gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Ingmar Vanhassel @ 2009-06-17 15:29 UTC (permalink / raw)


Excerpts from Andrei Thorp's message of Wed Jun 17 17:13:07 +0200 2009:
> Anyway, so.
> 
> I set up a loop to run offlineimap on 5 minute intervals. Now, every
> so often, sup complains that it's fallen out of sync (I have no other
> clients doing anything there, just sup and offlineimap). I can't
> imagine why this is happening. Hints?
> 
> -AT

Something is changing the state of your IMAP server, offlineimap is
mirroring that, and sup notices.

Are you running any other client (even using gmail.com) on your gmail
IMAP?

-- 
Exherbo KDE, X.org maintainer


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sup-talk] Fwd:  Yet Another Offlineimap Thread (YAOT)
       [not found]     ` <80055d7c0906170854r6ac45e83vea42a3b4866d7c2d@mail.gmail.com>
@ 2009-06-17 15:54       ` Andrei Thorp
       [not found]       ` <1245254490-sup-9198@cannonball>
  1 sibling, 0 replies; 6+ messages in thread
From: Andrei Thorp @ 2009-06-17 15:54 UTC (permalink / raw)


On Wed, Jun 17, 2009 at 11:29 AM, Ingmar Vanhassel <ingmar at exherbo.org> wrote:
>
> Excerpts from Andrei Thorp's message of Wed Jun 17 17:13:07 +0200 2009:
> > Anyway, so.
> >
> > I set up a loop to run offlineimap on 5 minute intervals. Now, every
> > so often, sup complains that it's fallen out of sync (I have no other
> > clients doing anything there, just sup and offlineimap). I can't
> > imagine why this is happening. Hints?
> >
> > -AT
>
> Something is changing the state of your IMAP server, offlineimap is
> mirroring that, and sup notices.
>
> Are you running any other client (even using gmail.com) on your gmail
> IMAP?

Ahh, yes, I understand. Well, if you read my original post in this
thread, I've actually not been able to figure out how to get sup to
send via different servers based on different situations (I'd like it
to use different send commands for work / gmail).

And yes, I've been using gmail, silly me.

> ?- Does imap support a way to say which mails have been read and not?
> I think it probably does. If this is the case, can sup-sync-back
> somehow do this? It'd be nice if my gmail understood when a mail has
> been read, so when I sync back up with offlineimap, it's all savvy.
> ?- I vaguely saw some tricks here for how to reply with different
> e-mail addresses and stuff. I'd like to execute a whole different
> command when replying in some situations, so that my mail gets sent
> through gmail's smtp server instead of my work's one, for example. How
> would I achieve this?
> ?- I don't see a daemon mode for offlineimap. I guess the expected
> usage is to make it quiet and put it in a cron/regular script? Am I
> correct?

Cheers,

-AT


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sup-talk] Yet Another Offlineimap Thread (YAOT)
       [not found]       ` <1245254490-sup-9198@cannonball>
@ 2009-06-17 16:20         ` Andrei Thorp
  2009-06-17 16:22         ` Andrei Thorp
  1 sibling, 0 replies; 6+ messages in thread
From: Andrei Thorp @ 2009-06-17 16:20 UTC (permalink / raw)


Forward.

Excerpts from Andrei Thorp's message of Wed Jun 17 17:54:16 +0200 2009:
> On Wed, Jun 17, 2009 at 11:29 AM, Ingmar Vanhassel <ingmar at exherbo.org> wrote:
> >
> > Excerpts from Andrei Thorp's message of Wed Jun 17 17:13:07 +0200 2009:
> > > Anyway, so.
> > >
> > > I set up a loop to run offlineimap on 5 minute intervals. Now, every
> > > so often, sup complains that it's fallen out of sync (I have no other
> > > clients doing anything there, just sup and offlineimap). I can't
> > > imagine why this is happening. Hints?
> > >
> > > -AT
> >
> > Something is changing the state of your IMAP server, offlineimap is
> > mirroring that, and sup notices.
> >
> > Are you running any other client (even using gmail.com) on your gmail
> > IMAP?
>
> Ahh, yes, I understand. Well, if you read my original post in this
> thread, I've actually not been able to figure out how to get sup to
> send via different servers based on different situations (I'd like it
> to use different send commands for work / gmail).

Yeah, I was try to be lazy ;-)

For using multiple accounts, see
http://sup.rubyforge.org/wiki/wiki.pl?MultipleAccountsAndReply

I use 'msmtp --account=foo -t' myself, since msmtp was incredibly easy
to configure.
- Configure some defaults for all accounts (logging, tls, see `man msmtp`)
- Write a different account section in your msmtprc, then in sup's
?config.yaml, configure those accounts, where the sendmail command to
?run has an --acount=foo parameter, corresponding to an account in your
?msmtprc

Some people use a reply-from hook for dynamically setting from From:
header, you may want to search the archives if that's something you'd
like to use.

--
Exherbo KDE, X.org maintainer


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [sup-talk] Yet Another Offlineimap Thread (YAOT)
       [not found]       ` <1245254490-sup-9198@cannonball>
  2009-06-17 16:20         ` [sup-talk] " Andrei Thorp
@ 2009-06-17 16:22         ` Andrei Thorp
  1 sibling, 0 replies; 6+ messages in thread
From: Andrei Thorp @ 2009-06-17 16:22 UTC (permalink / raw)


On Wed, Jun 17, 2009 at 12:10 PM, Ingmar Vanhassel <ingmar at exherbo.org> wrote:
> For using multiple accounts, see
> http://sup.rubyforge.org/wiki/wiki.pl?MultipleAccountsAndReply

Perfect! So now just the one issue of sup-sync-back. I guess one
"solution" would be for me to mark things as deleted instead of
archived/read, and I guess sync-back understands this. I don't love
this though. Any other suggestions?

-AT


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-06-17 16:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-15 19:44 [sup-talk] Yet Another Offlineimap Thread (YAOT) Andrei Thorp
2009-06-17 15:13 ` Andrei Thorp
2009-06-17 15:29   ` Ingmar Vanhassel
     [not found]     ` <80055d7c0906170854r6ac45e83vea42a3b4866d7c2d@mail.gmail.com>
2009-06-17 15:54       ` [sup-talk] Fwd: " Andrei Thorp
     [not found]       ` <1245254490-sup-9198@cannonball>
2009-06-17 16:20         ` [sup-talk] " Andrei Thorp
2009-06-17 16:22         ` Andrei Thorp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox