Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
* [sup-devel] Mail-to-self does not end up in inbox
@ 2011-03-06 18:34 Ico Doornekamp
  2011-03-06 19:15 ` Steve
  2011-03-06 23:36 ` Hamish
  0 siblings, 2 replies; 6+ messages in thread
From: Ico Doornekamp @ 2011-03-06 18:34 UTC (permalink / raw)
  To: sup-devel

Hi all,

Back in the old days when using mutt, I regularly used to send mails to
myself as reminders or short notes. Sup however shows intelligent
behaviour, recognizes the message is both sent and received, and
attaches a 'sent' label to it, and thus the mail does not show up in the
inbox.

Is there a simple workaround for this ? Could this be considered a bug,
or is this just functioning as designed ?

Thanks,

Ico

-- 
:wq
^X^Cy^K^X^C^C^C^C
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


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

* Re: [sup-devel] Mail-to-self does not end up in inbox
  2011-03-06 18:34 [sup-devel] Mail-to-self does not end up in inbox Ico Doornekamp
@ 2011-03-06 19:15 ` Steve
  2011-03-06 23:36 ` Hamish
  1 sibling, 0 replies; 6+ messages in thread
From: Steve @ 2011-03-06 19:15 UTC (permalink / raw)
  To: Sup developer discussion

This is a bug to me.  Although, if I recall, sup did not used to
behave this way.  So likely someone thought the opposite was a bug.

On Sun, Mar 6, 2011 at 1:34 PM, Ico Doornekamp <sup@zevv.nl> wrote:
> Hi all,
>
> Back in the old days when using mutt, I regularly used to send mails to
> myself as reminders or short notes. Sup however shows intelligent
> behaviour, recognizes the message is both sent and received, and
> attaches a 'sent' label to it, and thus the mail does not show up in the
> inbox.
>
> Is there a simple workaround for this ? Could this be considered a bug,
> or is this just functioning as designed ?
>
> Thanks,
>
> Ico
>
> --
> :wq
> ^X^Cy^K^X^C^C^C^C
> _______________________________________________
> Sup-devel mailing list
> Sup-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/sup-devel
>
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


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

* Re: [sup-devel] Mail-to-self does not end up in inbox
  2011-03-06 18:34 [sup-devel] Mail-to-self does not end up in inbox Ico Doornekamp
  2011-03-06 19:15 ` Steve
@ 2011-03-06 23:36 ` Hamish
  2011-03-07  6:51   ` Ico Doornekamp
  2011-03-07  8:27   ` Amadeusz Żołnowski
  1 sibling, 2 replies; 6+ messages in thread
From: Hamish @ 2011-03-06 23:36 UTC (permalink / raw)
  To: sup-devel

Excerpts from Ico Doornekamp's message of Sun Mar 06 18:34:56 +0000 2011:
> Back in the old days when using mutt, I regularly used to send mails to
> myself as reminders or short notes. Sup however shows intelligent
> behaviour, recognizes the message is both sent and received, and
> attaches a 'sent' label to it, and thus the mail does not show up in the
> inbox.
> 
> Is there a simple workaround for this ? Could this be considered a bug,
> or is this just functioning as designed ?

I generally prefer sent email to not show up in the inbox - I try to
keep my inbox somewhere near zero (though I rarely achieve it ...)

A work around could be to add the inbox label to sent mail that is just
to you. In before-add-message.rb you could have something like:


if message.from.email == "me@mine.com" && message.to.length == 1 && message.to[0].email == "me@mine.com"
  message.add_label :inbox
end


I haven't tested that, so you may want to check your logs if you try
using it. Or you could have a keyword in the subject - [ACTION] maybe -
and have a hook filter for that.

Hamish
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


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

* Re: [sup-devel] Mail-to-self does not end up in inbox
  2011-03-06 23:36 ` Hamish
@ 2011-03-07  6:51   ` Ico Doornekamp
  2011-03-07  8:27   ` Amadeusz Żołnowski
  1 sibling, 0 replies; 6+ messages in thread
From: Ico Doornekamp @ 2011-03-07  6:51 UTC (permalink / raw)
  To: sup-devel

* On Mon Mar 07 00:36:24 +0100 2011, Hamish wrote:
 
> Excerpts from Ico Doornekamp's message of Sun Mar 06 18:34:56 +0000 2011:
> > Back in the old days when using mutt, I regularly used to send mails to
> > myself as reminders or short notes. Sup however shows intelligent
> > behaviour, recognizes the message is both sent and received, and
> > attaches a 'sent' label to it, and thus the mail does not show up in the
> > inbox.
> > 
> > Is there a simple workaround for this ? Could this be considered a bug,
> > or is this just functioning as designed ?
> 
> I generally prefer sent email to not show up in the inbox - I try to
> keep my inbox somewhere near zero (though I rarely achieve it ...)
> 
> A work around could be to add the inbox label to sent mail that is just
> to you. In before-add-message.rb you could have something like:
> 
> 
> if message.from.email == "me@mine.com" && message.to.length == 1 && message.to[0].email == "me@mine.com"
>   message.add_label :inbox
> end
> 
> I haven't tested that, so you may want to check your logs if you try
> using it.

Works like a charm. Thanks!

-- 
:wq
^X^Cy^K^X^C^C^C^C
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel


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

* Re: [sup-devel] Mail-to-self does not end up in inbox
  2011-03-06 23:36 ` Hamish
  2011-03-07  6:51   ` Ico Doornekamp
@ 2011-03-07  8:27   ` Amadeusz Żołnowski
  1 sibling, 0 replies; 6+ messages in thread
From: Amadeusz Żołnowski @ 2011-03-07  8:27 UTC (permalink / raw)
  To: Hamish; +Cc: sup-devel


[-- Attachment #1.1: Type: text/plain, Size: 1310 bytes --]

Excerpts from Hamish's message of Mon Mar 07 00:36:24 +0100 2011:
> Excerpts from Ico Doornekamp's message of Sun Mar 06 18:34:56 +0000 2011:
> > Back in the old days when using mutt, I regularly used to send mails to
> > myself as reminders or short notes. Sup however shows intelligent
> > behaviour, recognizes the message is both sent and received, and
> > attaches a 'sent' label to it, and thus the mail does not show up in the
> > inbox.
> > 
> > Is there a simple workaround for this ? Could this be considered a bug,
> > or is this just functioning as designed ?
> 
> I generally prefer sent email to not show up in the inbox - I try to
> keep my inbox somewhere near zero (though I rarely achieve it ...)
> 
> A work around could be to add the inbox label to sent mail that is just
> to you. In before-add-message.rb you could have something like:
> 
> 
> if message.from.email == "me@mine.com" && message.to.length == 1 && message.to[0].email == "me@mine.com"
>   message.add_label :inbox
> end

Why not have requested behaviour (sent mail in inbox) and hook for
archiving?  E.g. I am usually modyfing labels on sent mail.  And it's
easier to archive sent mail than unarchive it.
-- 
Amadeusz Żołnowski

PGP key fpr: C700 CEDE 0C18 212E 49DA  4653 F013 4531 E1DB FAB5

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel

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

* Re: [sup-devel] Mail-to-self does not end up in inbox
@ 2011-06-19 23:39 Hamish Downer
  0 siblings, 0 replies; 6+ messages in thread
From: Hamish Downer @ 2011-06-19 23:39 UTC (permalink / raw)
  To: sup-devel

Excerpts from Amadeusz Żołnowski's message of Mon Mar 07 08:27:56 +0000 2011:
> Excerpts from Ico Doornekamp's message of Sun Mar 06 18:34:56 +0000 2011:
> > Back in the old days when using mutt, I regularly used to send mails to
> > myself as reminders or short notes. Sup however shows intelligent
> > behaviour, recognizes the message is both sent and received, and
> > attaches a 'sent' label to it, and thus the mail does not show up in the
> > inbox.
> 
> Why not have requested behaviour (sent mail in inbox) and hook for
> archiving?  E.g. I am usually modyfing labels on sent mail.  And it's
> easier to archive sent mail than unarchive it.

I've thought about this more and added an option ":archive_sent" to
allow this. The default value is "true", so sent mail will continue to
be archived if you do nothing. Change it to false if you want to have
sent mail show up in your inbox.

This is in the archive_sent branch and has been merged into next.

I may at some point have a go at making it possible to edit labels while
composing messages, but that may be overly complex ...

And as a side note, I've looked through the history and it looks like
the sent source has always been set up to archive the mail, but maybe a
bug elsewhere in the code "fixed" it so that the sent mail really was
archived.

Hamish
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel

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

end of thread, other threads:[~2011-06-19 23:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-06 18:34 [sup-devel] Mail-to-self does not end up in inbox Ico Doornekamp
2011-03-06 19:15 ` Steve
2011-03-06 23:36 ` Hamish
2011-03-07  6:51   ` Ico Doornekamp
2011-03-07  8:27   ` Amadeusz Żołnowski
2011-06-19 23:39 Hamish Downer

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