set up multiple account
- To: mutt-users <mutt-users@xxxxxxxx>
- Subject: set up multiple account
- From: bill lam <cbill.lam@xxxxxxxxx>
- Date: Thu, 12 Feb 2009 19:04:06 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:mime-version:content-type :content-disposition:content-transfer-encoding:user-agent; bh=U6AR5sY4xxQpQrK2uiltxO6p+JgimFwiWqlZNlPB2Bo=; b=azsSUQ4CDBXLA+D3RP8cy8XCumjNZAGIb1OughHd3mmVZUp1HTtElwqV1JbadWr0+/ onUQCLhwlZIiI23vZP/SFRBM49enn9mYCFQ9pOoqZ3mAxTWmMt53cVhBbkGDgtMA+qns VfqajYTVGKfPWdiSGEMIqDv4PXm6ccDs0GTs0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:content-transfer-encoding :user-agent; b=gBSioIfP0arAOJr0wgcwmDVzWbgrvkMJef7yOCpU6YI8s1B8N/Xx2RbQ2Jbz/fyRrl abibHZV+yU4vwYEvLZJp55qgMoKxROc55TzWnb0oj9GsOvUCfJCpID5Pt18S8gjZMMWl s+mXvMq/5eAM7E6L2jav+GOVe7oTKdE4ua/vs=
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users <mutt-users@xxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-01-27)
(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 李商隱 寄令狐郎中
嵩雲秦樹久離居 雙鯉迢迢一紙筆 休問梁園舊賓客 茂陵秋雨病相如