Re: alias for pop account
* neologix@xxxxxxx <neologix@xxxxxxx> [05-02-06 13:53]:
> I use mutt to access a POP server.
> It works well, except that I have to type the whole mailbox name when opening
> the pop mailbox.
>
> I mean, I have to press 'c', then enter:
> pop://pop.a_server_with_a_very_long_dns_name
>
> It's rather annoying.
> Is there any way to define an alias for pop mailboxes (servers), so that I'd
> just have to type:
> 'c'
> short_name
in ~/.muttrc add a mailbox:
mailboxes 'pop://pop.a_server_with_a_very_long_dns_name'
and an account-hook:
account-hook pop://<log_name@a_server_with_a_very_long_dns_name> \
'set pop_user=<log_name> pop_pass=<password>'
then 'c'<tab> and select the appropriate mailbox from the list
--
Patrick Shanahan Registered Linux User #207535
http://wahoo.no-ip.org @ http://counter.li.org
HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2