Re: Show my replies in thread

2009-02-28 Thread Dave Patterson
On Sat, Feb 28, 2009 at 03:41:57PM -0200, Carlos Pita wrote:
 
> Carlos
 
Made my day. Thank you,

-- 
Dave


signature.asc
Description: Digital signature


Re: Show my replies in thread

2009-02-28 Thread Carlos Pita
> ps:  your sig should begin with , the characters
> not the words.

Thanks for the great tip !!!

Carlos



Re: Show my replies in thread

2009-02-28 Thread Dave Patterson
On Sat, Feb 28, 2009 at 11:18:49AM -0500, Patrick Shanahan wrote:
> * Carlos Pita  [01-01-70 12:34]:
> > 
> > Currently I don't have a "provider's smtp". 
> 
> Your internet service provider does not provide you with email?
> 
> Who is your provider.

Hmm.  Seems pretty arrogant to assume that one has a permanent isp,
along with all the little perks that go with it.

I spend roughly 70% of my time on the road (or at sea), and find it 
much easier to simply hook a copy of my sent message into the 
directory I ѕent it from, when I'm using gmail.

Batch download, procmail later, using bogo filter to train the
database on spam.

For private communication, I use something else entirely.

'The provider's smtp' does not always apply, and in my case is entirely
irrelevant.

-- 
Dave


signature.asc
Description: Digital signature


Re: Show my replies in thread

2009-02-28 Thread Grant Edwards
On 2009-02-28, Carlos Pita  wrote:
>> >  folder-hook . 'set record=^'
>> 
>> One thing that is interesting about the Gmail IMAP server is
>> that a message can exist in multiple folders at the same time.
>> This is actually a pretty powerful concept. In reality there's
>> a database with a single copy of each message, and IMAP
>
> That's true in general but I've confirmed that the hook above
> effectively creates two copies. If I enter gmail web interface, trash
> the copy at Sent Mail, then go to Thrash and permanently remove this
> trashed copy, the one at the original label where I've replied
> still exists by its own.
>
>> "[Gmail]/Sent Mail", so if you want to keep things consistent,
>> you should configure that as your "record" folder in mutt.
>
> No. If you want to play fair with gmail you have to set copy = no, and
> then the record folder becomes irrelevant. That is because they
> automatically save outgoing mails into [Gmail]/Sent Mail, no matter if
> they're send from the web interface or via their smtp server.
>
> They even give this guideline at their site:
>
> https://mail.google.com/support/bin/answer.py?answer=78892&topic=12815

Ah. Good point.  I forgot about that (I don't use their SMTP
server).

-- 



Re: Show my replies in thread

2009-02-28 Thread Patrick Shanahan
* Carlos Pita  [01-01-70 12:34]:
> 
> Currently I don't have a "provider's smtp". 

Your internet service provider does not provide you with email?

Who is your provider.

> -Carlos

ps:  your sig should begin with , the characters
not the words.

-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: Show my replies in thread

2009-02-28 Thread bill lam
I use an additional gmail account. Suppose I use a...@gmail to subscribe
to a list. I then set at a...@gmai web interface to cc all emails to
b...@gmail. When posting to the list, I bcc to b...@gmail.  Use imap of
b...@gmail to read list emails which contains all emails sending from/to
a...@gmail.

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩150 劉禹錫  蜀先主廟
天地英雄氣  千秋尚凜然  勢分三足鼎  業復五銖錢
得相能開國  生兒不象賢  淒涼蜀故妓  來舞魏宮前


Re: Show my replies in thread

2009-02-28 Thread Carlos Pita
> >  folder-hook . 'set record=^'
> 
> One thing that is interesting about the Gmail IMAP server is
> that a message can exist in multiple folders at the same time.
> This is actually a pretty powerful concept. In reality there's
> a database with a single copy of each message, and IMAP

That's true in general but I've confirmed that the hook above
effectively creates two copies. If I enter gmail web interface, trash
the copy at Sent Mail, then go to Thrash and permanently remove this
trashed copy, the one at the original label where I've replied
still exists by its own.

> "[Gmail]/Sent Mail", so if you want to keep things consistent,
> you should configure that as your "record" folder in mutt.

No. If you want to play fair with gmail you have to set copy = no, and
then the record folder becomes irrelevant. That is because they
automatically save outgoing mails into [Gmail]/Sent Mail, no matter if
they're send from the web interface or via their smtp server.

They even give this guideline at their site:

https://mail.google.com/support/bin/answer.py?answer=78892&topic=12815

Best regards
-Carlos


Re: Show my replies in thread

2009-02-28 Thread Carlos Pita
Hi Patrick,

> Then you have not considered/read my post which you fully quoted,

Yes, I had read it before I posted my reply. Thank you very much for the
suggestion.

Currently I don't have a "provider's smtp". And I find my problem a
minor annoyance, not worth switching to another smtp server. That I
don't find your solution appealing doesn't mean that I consider it
stupid or that I haven't read it at all. I'm sincerely surprised by your
reaction. This kind of discussion doesn't mean to be personal.

> Tell me if I am wasting my time!

This decision is entirely up to you.

Best regards
-Carlos


Re: Show my replies in thread

2009-02-28 Thread Grant Edwards
On 2009-02-27, Kyle Wheeler  wrote:
>
> On Friday, February 27 at 06:08 PM, quoth Carlos Pita:
>> I don't think this is supported but I'm going to ask it anyway. I 
>> would like to see my replies intercalated in threads.
>
> That's the way *my* email works. :)
>
>> I use gmail imap server,
>
> Ew... Well, you may be out of luck there, I don't know.

There's nothing particularly odd about the Gmail IMAP server
(in some ways it's less "weird" than the courier one).

> The trick is that your replies must be stored in the same folder as 
> the messages you're replying to.
>
> One way of doing this (on a NORMAL mail server) is to change the value 
> of $record:
>
>  folder-hook . 'set record=^'
>
> That will assure that the value of $record is whatever folder you're 
> currently in. You can be more intelligent about it based on replies to 
> lists or whatever... but that should work for you (it works for me!).

That will work fine with the Gmail imap server.

> Of course, that then means that sent messages are NOT stored
> in a centralized "sent" folder. If this is important to you...
> then you may be in trouble.

I prefer to keep them in the folder with the messag to which
they're replying

>> At least, is it a way to quickly open a mail referenced by the 
>> in-reply-to header?
>
> Not if it's in a different folder.

One thing that is interesting about the Gmail IMAP server is
that a message can exist in multiple folders at the same time.
This is actually a pretty powerful concept. In reality there's
a database with a single copy of each message, and IMAP
"folders" are almost exactly analogous to Unix directories
which contain links to i-nodes: there's only one copy of the
file, and it's associated with a single i-node, but you can
have as many links to that i-node from as many directories as
you want.

So, maybe you could add some sort of hook to save outbound mail
in the sent mail folder and also copy it to the ^ folder.  Mail
sent via the web interface gets copied into a folder named
"[Gmail]/Sent Mail", so if you want to keep things consistent,
you should configure that as your "record" folder in mutt.

I thought about suggesting a patch to make "record" accept a
list of multiple folders, but if mutt uploads the outgoing
message twice (to two different folders), then you _do_ end up
with two separate, identical messages on the Gmail server. That
isn't what you want if you sometimes use the web interface.  If
you want to do things "right", you need to upload the outbound
message _once_ to an IMAP folder, and then use IMAP's COPY
command to create a link to the message from the second folder.

[The "link from a folder to a message" I'm talking about is
what Gmail calls a "label".]

-- 
Grant




Re: Show my replies in thread

2009-02-28 Thread Patrick Shanahan
* Carlos Pita  [02-28-09 08:31]:
> I configured Kyle's hook, which does a nice job, and will periodically
> enter gmail webmail and empty their Sent Mail label in a manual fashion.
> I can't see how to configure a filter at their site to drop all sent
> mail. As soon as it arrives the email seems not to be even labeled, so a
> condition like label:Sent Mail won't match. And afaik you can't schedule a
> filter to run periodically. Alternatively imapfilter or a combination of
> offlineimap+procmail could automate the job of removing unneeded sent
> copies, but I don't thinks it's worth the effort. Any enlightened ideas?
> 
> Best regards
> -Carlos
> 
> 
> On Fri, Feb 27, 2009 at 05:01:26PM -0500, Patrick Shanahan wrote:
> > * Carlos Pita  [01-01-70 12:34]:
> > > 
> > > I don't think this is supported but I'm going to ask it anyway. I would
> > > like to see my replies intercalated in threads. I use gmail imap server,
> > > and sent emails are correctly stored under "[Gmail]/Sent Mail" (this is
> > > the default gmail imap server behavior, no extra config is required,
> > > except that I set copy=no to avoid duplicated copies). "[Gmail]/Sent
> > > Mail" is a huge non-archivable (in the gmail sense) folder, which makes
> > > things even worse when I pretend to follow the natural flow of a thread
> > > without distractions.
> > > 
> > 
> > Then you will need to change the way you *send* mail.  I see on my
> > system exactly what you are wanting, but I *only* use gmail to
> > *receive* mail, not send.  I use my provider to send and include a
> > gmail "from" address.  This way you get gmail's storage and spam
> > filtering and see your own posts.
> > 
> > -- 
> > Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
> > http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
> > Registered Linux User #207535@ http://counter.li.org
> > 

Then you have not considered/read my post which you fully quoted,
including the sig?  Tell me if I am wasting my time!

Use your provider's smtp with a gmail return address, ie: send your
mail via your providers facility and use carlosjosep...@gmail.com as
the "From:" address.  Read/retrieve your email from gmail.com.  Your
posts will be visible.


-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: Show my replies in thread

2009-02-28 Thread Carlos Pita
I configured Kyle's hook, which does a nice job, and will periodically
enter gmail webmail and empty their Sent Mail label in a manual fashion.
I can't see how to configure a filter at their site to drop all sent
mail. As soon as it arrives the email seems not to be even labeled, so a
condition like label:Sent Mail won't match. And afaik you can't schedule a
filter to run periodically. Alternatively imapfilter or a combination of
offlineimap+procmail could automate the job of removing unneeded sent
copies, but I don't thinks it's worth the effort. Any enlightened ideas?

Best regards
-Carlos


On Fri, Feb 27, 2009 at 05:01:26PM -0500, Patrick Shanahan wrote:
> * Carlos Pita  [01-01-70 12:34]:
> > 
> > I don't think this is supported but I'm going to ask it anyway. I would
> > like to see my replies intercalated in threads. I use gmail imap server,
> > and sent emails are correctly stored under "[Gmail]/Sent Mail" (this is
> > the default gmail imap server behavior, no extra config is required,
> > except that I set copy=no to avoid duplicated copies). "[Gmail]/Sent
> > Mail" is a huge non-archivable (in the gmail sense) folder, which makes
> > things even worse when I pretend to follow the natural flow of a thread
> > without distractions.
> > 
> 
> Then you will need to change the way you *send* mail.  I see on my
> system exactly what you are wanting, but I *only* use gmail to
> *receive* mail, not send.  I use my provider to send and include a
> gmail "from" address.  This way you get gmail's storage and spam
> filtering and see your own posts.
> 
> -- 
> Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
> http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
> Registered Linux User #207535@ http://counter.li.org
> 


Re: Show my replies in thread

2009-02-28 Thread Ralf Schmitt
On 27-02, Kyle Wheeler wrote:
> On Friday, February 27 at 06:08 PM, quoth Carlos Pita:
> > I don't think this is supported but I'm going to ask it anyway. I 
> > would like to see my replies intercalated in threads.
> 
> That's the way *my* email works. :)
> 
> > I use gmail imap server,
> 
> Ew... Well, you may be out of luck there, I don't know.
> 
> The trick is that your replies must be stored in the same folder as 
> the messages you're replying to.
> 
> One way of doing this (on a NORMAL mail server) is to change the value 
> of $record:
> 
>  folder-hook . 'set record=^'
> 
> That will assure that the value of $record is whatever folder you're 
> currently in. You can be more intelligent about it based on replies to 
> lists or whatever... but that should work for you (it works for me!).
> 
> Of course, that then means that sent messages are NOT stored in a 
> centralized "sent" folder. If this is important to you... then you may 
> be in trouble.
> 
> > At least, is it a way to quickly open a mail referenced by the 
> > in-reply-to header?
> 
> Not if it's in a different folder.
> 
> ~Kyle


I use the "metoo" option but that results in another copy.


Ralf


Re: Show my replies in thread

2009-02-27 Thread Patrick Shanahan
* Carlos Pita  [01-01-70 12:34]:
> 
> I don't think this is supported but I'm going to ask it anyway. I would
> like to see my replies intercalated in threads. I use gmail imap server,
> and sent emails are correctly stored under "[Gmail]/Sent Mail" (this is
> the default gmail imap server behavior, no extra config is required,
> except that I set copy=no to avoid duplicated copies). "[Gmail]/Sent
> Mail" is a huge non-archivable (in the gmail sense) folder, which makes
> things even worse when I pretend to follow the natural flow of a thread
> without distractions.
> 

Then you will need to change the way you *send* mail.  I see on my
system exactly what you are wanting, but I *only* use gmail to
*receive* mail, not send.  I use my provider to send and include a
gmail "from" address.  This way you get gmail's storage and spam
filtering and see your own posts.

-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: Show my replies in thread

2009-02-27 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday, February 27 at 06:08 PM, quoth Carlos Pita:
> I don't think this is supported but I'm going to ask it anyway. I 
> would like to see my replies intercalated in threads.

That's the way *my* email works. :)

> I use gmail imap server,

Ew... Well, you may be out of luck there, I don't know.

The trick is that your replies must be stored in the same folder as 
the messages you're replying to.

One way of doing this (on a NORMAL mail server) is to change the value 
of $record:

 folder-hook . 'set record=^'

That will assure that the value of $record is whatever folder you're 
currently in. You can be more intelligent about it based on replies to 
lists or whatever... but that should work for you (it works for me!).

Of course, that then means that sent messages are NOT stored in a 
centralized "sent" folder. If this is important to you... then you may 
be in trouble.

> At least, is it a way to quickly open a mail referenced by the 
> in-reply-to header?

Not if it's in a different folder.

~Kyle
- -- 
Idealism increases in direct proportion to one's distance from the 
problem.
 -- John Galsworthy
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAkmoVIQACgkQBkIOoMqOI16mKQCeJxcwGGMJP95iM3W9wX++SN8r
ynQAn1h97vgsA52Tl/0/z/pzt09gpCsF
=QpBx
-END PGP SIGNATURE-