* [sup-talk] selectively viewing multiple accounts
@ 2015-01-24 20:01 Ari Brown
2015-01-25 0:19 ` [sup] " Troy Sankey
2015-01-25 9:04 ` Matthieu Rakotojaona
0 siblings, 2 replies; 3+ messages in thread
From: Ari Brown @ 2015-01-24 20:01 UTC (permalink / raw)
To: supmua
I have multiple accounts on my system (postmaster, sysadmin, and
personal). Is there an easy way to selectively view mail from the
accounts one at a time?
My plan B is to add labels to everything and then view accordingly, but
I wanted to check to see if there was a plan A, first.
Thanks,
Ari
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sup] [sup-talk] selectively viewing multiple accounts
2015-01-24 20:01 [sup-talk] selectively viewing multiple accounts Ari Brown
@ 2015-01-25 0:19 ` Troy Sankey
2015-01-25 9:04 ` Matthieu Rakotojaona
1 sibling, 0 replies; 3+ messages in thread
From: Troy Sankey @ 2015-01-25 0:19 UTC (permalink / raw)
To: supmua
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
On 2015-01-24 15:01:07 -0500, Ari Brown wrote:
> I have multiple accounts on my system (postmaster, sysadmin, and
> personal). Is there an easy way to selectively view mail from the
> accounts one at a time?
>
> My plan B is to add labels to everything and then view accordingly, but
> I wanted to check to see if there was a plan A, first.
Your plan B is good, that's what I do. Sup can auto-label messages
based on source (configurable in sources.yaml) but if your mail is
already indexed then you have to either (1) manually label them, or (2)
delete and re-sync the index.
If you choose #1, be extra careful with your query. Sometimes it's
difficult to determine which account a message is associated with. E.g.
your email address may not appear in any of the To: or Cc: headers, so a
simple "To:your@email.com Cc:your@email.com" query would not reliably
return all messages sent to that account.
Good luck,
Troy
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [sup] [sup-talk] selectively viewing multiple accounts
2015-01-24 20:01 [sup-talk] selectively viewing multiple accounts Ari Brown
2015-01-25 0:19 ` [sup] " Troy Sankey
@ 2015-01-25 9:04 ` Matthieu Rakotojaona
1 sibling, 0 replies; 3+ messages in thread
From: Matthieu Rakotojaona @ 2015-01-25 9:04 UTC (permalink / raw)
To: supmua
[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]
Excerpts from Ari Brown's message of 2015-01-24 21:01:07 +0100:
> I have multiple accounts on my system (postmaster, sysadmin, and
> personal). Is there an easy way to selectively view mail from the
> accounts one at a time?
>
> My plan B is to add labels to everything and then view accordingly, but
> I wanted to check to see if there was a plan A, first.
>
> Thanks,
> Ari
Hello,
Sup's data is all contained in a single directory that defaults to
~/.sup. You can select the location of this directory with the SUP_BASE
env variable, so you could do something like:
SUP_BASE="$XDG_DATA_HOME/sup/postmaster" sup
SUP_BASE="$XDG_DATA_HOME/sup/sysadmin" sup
SUP_BASE="$XDG_DATA_HOME/sup/personal" sup
You must indicate a full path. Please note that you must specify the
SUP_BASE variable for each command, ie also for sup-add, sup-config, ...
I haven't tested it thoroughly (I just skimmed the source code and
tested with an empty dir), but would love to hear your findings if you
tried it.
--
Matthieu Rakotojaona
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 949 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-25 9:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-24 20:01 [sup-talk] selectively viewing multiple accounts Ari Brown
2015-01-25 0:19 ` [sup] " Troy Sankey
2015-01-25 9:04 ` Matthieu Rakotojaona
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox