Re: status_format per account-hook or folder-hook

2015-09-29 Thread Paul Tansom
> > >your per-domain files on folder switch. I'd be inclined to prepend "set > > >imap_user = p...@domain1.com" to your muttrc.domain1.com file, and write > > >the hooks like this: > > > > > >account-hook imaps://em...@domain1.com@imap.localdomai

Re: status_format per account-hook or folder-hook

2015-09-26 Thread Cameron Simpson
e the hooks like this: account-hook imaps://em...@domain1.com@imap.localdomain.com 'source ~/.mutt/muttrc.domain1.com' account-hook imaps://em...@domain2.com@imap.localdomain.com 'source ~/.mutt/muttrc.domain2.com' and so forth. That way the _entire_ domainX.com setup is sources on folder swi

Re: status_format per account-hook or folder-hook

2015-09-26 Thread Paul Tansom
epend "set > >imap_user = p...@domain1.com" to your muttrc.domain1.com file, and write > >the hooks like this: > > > >account-hook imaps://em...@domain1.com@imap.localdomain.com 'source > >~/.mutt/muttrc.domain1.com' > >account-hook imaps://em...@domain2.com@i

Re: status_format per account-hook or folder-hook

2015-09-25 Thread Paul Tansom
; >set status_format = "-%r-Mutt: aptanet.com %f [Msgs:%?M?%M/?%m%?n? > >New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? > >Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---" > > > >in my main muttrc, and then my folder-hook and/or account-h

Re: status_format per account-hook or folder-hook

2015-09-25 Thread Cameron Simpson
On 25Sep2015 17:54, Paul Tansom <p...@aptanet.com> wrote: ** Cameron Simpson <c...@zip.com.au> [2015-09-25 09:22]: On 24Sep2015 12:22, Paul Tansom <p...@aptanet.com> wrote: >Is there a way to change the status_format when you change folders / accounts? [...] It looks lik

Re: status_format per account-hook or folder-hook

2015-09-25 Thread Cameron Simpson
%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---" in my main muttrc, and then my folder-hook and/or account-hook sections, but it never changes on the display. All the other changes I've got in there seem to work fine. Can you show us the account-hook lines, p

status_format per account-hook or folder-hook

2015-09-24 Thread Paul Tansom
>-(%P)---" in my main muttrc, and then my folder-hook and/or account-hook sections, but it never changes on the display. All the other changes I've got in there seem to work fine. All I'm trying to do is put something in there to let me know which account I'm in, so if there's an easier way t

Re: status_format per account-hook or folder-hook

2015-09-24 Thread Suvayu Ali
On Thu, Sep 24, 2015 at 12:22:31PM +0100, Paul Tansom wrote: > Is there a way to change the status_format when you change folders / accounts? > > I currently have lines similar to: > > set status_format = "-%r-Mutt: aptanet.com %f [Msgs:%?M?%M/?%m%?n? > New:%n?%?o? Old:%o?%?d? Del:%d?%?F?

Re: account-hook with same imap server but different authentication

2008-01-24 Thread Alain Bench
Hello Frank, On Wednesday, January 9, 2008 at 21:40:17 +0100, spekul wrote: | account-hook imaps://server1.com 'set folder=imaps://server1.com | imap_user=user1 imap_pass=pass1 BTW account-hooks are intended to configure the connections to various accounts, typically $imap_*, $pop_

Re: account-hook with same imap server but different authentication

2008-01-09 Thread Kyle Wheeler
have to be. what i would like to do is something like the following, what seems to be impossible to me since path-regexp is the same in both cases: account-hook imaps://server1.com 'set folder=imaps://server1.com imap_user=user1 imap_pass=pass1 account-hook imaps://server1.com 'set folder

Re: account-hook with same imap server but different authentication

2008-01-09 Thread spekul
have to be. what i would like to do is something like the following, what seems to be impossible to me since path-regexp is the same in both cases: account-hook imaps://server1.com 'set folder=imaps://server1.com imap_user=user1 imap_pass=pass1 account-hook imaps://server1.com 'set folder=imaps

Re: account-hook with same imap server but different authentication

2008-01-09 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday, January 9 at 10:05 PM, quoth spekul: You could also make those URIs look like this: imaps://user1:[EMAIL PROTECTED] imaps://user2:[EMAIL PROTECTED] When you do that, you don't have to define imap_user or imap_pass. :)

account-hook, imap_pass not used ?

2007-10-24 Thread Nicolas KOWALSKI
Hello, I am trying to use multiple IMAP accounts. Following the Wiki, I use these settings: account-hook . 'unset imap_pass' account-hook imap://[EMAIL PROTECTED]/ 'set imap_pass=secret' account-hook imap://[EMAIL PROTECTED]/ 'set imap_pass=anothersecret' set spoolfile=imap://[EMAIL PROTECTED

Re: account-hook, imap_pass not used ?

2007-10-24 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Nicolas KOWALSKI [EMAIL PROTECTED] [10-24-07 06:26]: I am trying to use multiple IMAP accounts. Following the Wiki, I use these settings: account-hook . 'unset imap_pass' account-hook imap://[EMAIL PROTECTED]/ 'set imap_pass=secret' account

Re: account-hook, imap_pass not used ?

2007-10-24 Thread Patrick Schoenfeld
Hi, On Wed, Oct 24, 2007 at 12:25:03PM +0200, Nicolas KOWALSKI wrote: I am trying to use multiple IMAP accounts. Following the Wiki, I use these settings: I have not yet used this multiple IMAP accounts, so I don't know this for certain, but.. account-hook . 'unset imap_pass' ... my

Re: account-hook, imap_pass not used ?

2007-10-24 Thread Nicolas KOWALSKI
On Wed, Oct 24, 2007 at 06:55:58AM -0400, Patrick Shanahan wrote: * Nicolas KOWALSKI [EMAIL PROTECTED] [10-24-07 06:26]: I am trying to use multiple IMAP accounts. Following the Wiki, I use these settings: account-hook . 'unset imap_pass' account-hook imap://[EMAIL PROTECTED]/ 'set

Re: account-hook, imap_pass not used ?

2007-10-24 Thread Patrick Shanahan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * Nicolas KOWALSKI [EMAIL PROTECTED] [10-24-07 09:31]: On Wed, Oct 24, 2007 at 06:55:58AM -0400, Patrick Shanahan wrote: remove the quote marks enclosing the password: account-hook imap://[EMAIL PROTECTED]/ 'set imap_pass=secret' Unfortunately

Re: account-hook, imap_pass not used ?

2007-10-24 Thread Nicolas KOWALSKI
On Wed, Oct 24, 2007 at 12:25:02PM +0200, Nicolas KOWALSKI wrote: I am trying to use multiple IMAP accounts. Following the Wiki, I use these settings: account-hook . 'unset imap_pass' account-hook imap://[EMAIL PROTECTED]/ 'set imap_pass=secret' account-hook imap://[EMAIL PROTECTED]/ 'set

Re: account-hook

2002-03-20 Thread Michel
On Tue, Mar 19, 2002 at 12:43:59AM +0100, Johan Ekh wrote: Hello! Hi Mutt gives me the following error account-hook: unknown command. Your Mutt version don't has this function :( Any ideas? I use SuSE7.2 and my Mutt installation is the standard rpm that comes with the distribution. Try

Re: account-hook

2002-03-19 Thread David T-G
Johan -- ...and then Johan Ekh said... % % Hello! % I have several pop-accounts and I try to retrieve my mails by using % account-hook as indicated below. ... % Mutt gives me the following error account-hook: unknown command. % % Any ideas? I use SuSE7.2 and my Mutt installation

account-hook

2002-03-18 Thread Johan Ekh
Hello! I have several pop-accounts and I try to retrieve my mails by using account-hook as indicated below. account-hook . 'unset pop_user; unset pop_pass' account-hook pop://mymailserver/ 'set pop_user=myusername pop_pass=mypassword' Mutt gives me the following error account-hook: unknown