<<< Date Index >>>     <<< Thread Index >>>

Re: From variable and multiple account



On 16.11.08, 15:56, Kyle Wheeler wrote:
> On Sunday, November 16 at 10:35 PM, quoth Alberto Rizzi:
> >> You can try something like this:
> >> 
> >> folder-hook imap://user@acct1host/ 'set from=user@domain1'
> >> folder-hook imap://user@acct2host/ 'set from=user@domain2'
> >> folder-hook imap://user@acct3host/ 'set from=user@domain3'
> >> 
> >> The details, of course, depend on exactly what your accounts are.
> 
> >account-hook . 'unset imap_user; unset imap_pass'
> >account-hook imaps://mail.messagingengine.com/ 'set imap_user=user
> >imap_pass=pwd'
> >account-hook imaps://relay.poste.it/ 'set imap_user=user imap_pass=pwd'
> >account-hook imap://lando 'set imap_user=user imap_pass=pwd'
> >account-hook imaps://mail.ethz.ch/ 'set imap_user=user imap_pass=pwd'
> >account-hook imaps://iis-imap.ee.ethz.ch/ 'set imap_user=user imap_pass=pwd'
> 
> 
> so... you can't figure this out yourself?
> 
>      folder-hook imaps://mail.messagingengine.com/ 'set from=user1@domain1'
>      folder-hook imaps://relay.poste.it/ 'set from=user2@domain2'
>      folder-hook imaps://lando/ 'set from=user3@domain3'
>      folder-hook imaps://mail.ethz.ch/ 'set from=user4@domain4'
>      folder-hook imaps://iis-imap.ee.ethz.ch/ 'set from=user5@domain5'
> 
> ~Kyle

Yes, it works. The first time I did a typo in my muttrc and it didn't
match the folder. Now can I also use only one folder-hook to set the
thread sort order under fastmail.

Thanks to all of you