Re: set up multiple account

2009-02-14 Thread Ed Blackman

On Sat, Feb 14, 2009 at 02:50:05PM +0800, bill lam wrote:

set ?my_test1 does give the expected answer but not for my_test2 and
my_test3 (unknown variable).  My conjecture is the that back-tick
trick only work for the first line for output and it will ignore the
rest of lines.


Huh.  I experience the same behavior, and a little searching confirms 
that backticks only evaluate the first line.  What an odd restriction.


I found the general solution at http://wiki.mutt.org/?ConfigTricks in 
the "Generating a dynamic muttrc file" section.


Use the same muttGmail script, but include it in .muttrc with
source 'muttGmail foo|'

Note that the quote chars are single quotes, not backticks, and the 
command has to end with a pipe char.


Ed


signature.txt
Description: Digital signature


Re: newbie install

2009-02-14 Thread James Freer
2009/2/13 Kyle Wheeler :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Friday, February 13 at 10:33 PM, quoth sigi:
>> On Fri, Feb 13, 2009 at 03:06:49PM -0600, Kyle Wheeler wrote:
>>> Collecting email from multiple accounts is what programs like
>>> fetchmail or getmail do best. I recommend getmail, but fetchmail works
>>> well too. The only thing with them is: they will pull your email to
>>> your computer and delete it from the server. You won't be able to read
>>> email with the webmail frontend anymore; you'll have to use something
>>> on your own computer.
>>
>> To comment on your last two sentences: that's not true.
>
> You mean it's not *necessarily* true; it is true if he sticks with the
> default behavior.
>
> ~Kyle

Kyle, Michael, Noah and Sigi

Thanks for your help. I will experiment further this w/e. I thought
there was a way of keeping emails on the server as that is offered by
most email clients. That is what i've done in the past just in case i
have a problem and have to reinstall everything - seems the email app
remembers what emails it has downloaded.

james


Re: Archiving

2009-02-14 Thread Nicolas Rachinsky
* Javier Rojas  [2009-02-13 21:37 -0500]:
> folder-hook =inbox 'push 
> "~(~r>3m)=archivos/inbox~A"'
> 
> which uncollapses, archives, and the collapses back the mailbox
> 
> This, however, creates another problem: when there is nothing to
> archive, the mailbox ends up uncollapsed.
> 
> Any ideas on how to solve this?

 in front of the second  should solve this.

Nicolas

-- 
http://www.rachinsky.de/nicolas


Re: Archiving

2009-02-14 Thread Javier Rojas
On Sat, Feb 14, 2009 at 01:32:42PM +0100, Nicolas Rachinsky wrote:
> * Javier Rojas  [2009-02-13 21:37 -0500]:
> > folder-hook =inbox 'push 
> > "~(~r>3m)=archivos/inbox~A"'
> > 
> > which uncollapses, archives, and the collapses back the mailbox
> > 
> > This, however, creates another problem: when there is nothing to
> > archive, the mailbox ends up uncollapsed.
> > 
> > Any ideas on how to solve this?
> 
>  in front of the second  should solve this.

I used Kyle's approach (I read it last night ;) ). But this is also
really nice. Thank you both, problem solved!

folder-hook =inbox 'push 
"~(~r>3m)=archivos/inbox~A"'

-- 
Javier Rojas

GPG Key ID: 0xA1C57061


pgp8dFNH3cdpS.pgp
Description: PGP signature


Re: set up multiple account

2009-02-14 Thread bill lam
On Sat, 14 Feb 2009, Ed Blackman wrote:
> Use the same muttGmail script, but include it in .muttrc with
> source 'muttGmail foo|'

Thanks Ed, it works very well now.

-- 
regards,

GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩215 李商隱  無題
相見時難別亦難  東風無力百花殘  春蠶到死絲方盡  蠟炬成灰淚始乾
曉鏡但愁雲鬢改  夜吟應覺月光寒  蓬萊此去無多路  青鳥殷勤為探看