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

set up multiple account



(I apologise that I once saw a thread on this subject but could not
locate it,)

I got several gmail accounts that have to be set up inside muttrc like:

folder-hook "imaps://cfoobar@xxxxxxxxxxxxxx" '\
set from="cfoobar@xxxxxxxxx" ; \
set folder="imaps://cfoobar@xxxxxxxxxxxxxx" ; \
set spoolfile="+INBOX" ; \
set timeout=300 ; \
set mail_check=300 '

folder-hook "imaps://ifoobar@xxxxxxxxxxxxxx" '\
set from="ifoobar@xxxxxxxxx" ; \
set folder="imaps://ifoobar@xxxxxxxxxxxxxx" ; \
set spoolfile="+INBOX" ; \
set timeout=300 ; \
set mail_check=300 '

Instead of copy and paste and edit the whole group again and again,
how to do it in a shorter way?

Thanks.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩299 李商隱  寄令狐郎中
    嵩雲秦樹久離居  雙鯉迢迢一紙筆  休問梁園舊賓客  茂陵秋雨病相如