Simon Brown wrote:
>Hi all,
>I'm currently playing with emacs mail clients as I'd like to try the
>org-mode integration. Some of you may have seen my post on the
>org-mode list a while back. I like the look of wanderlust but I'm
>struggling to get started with my three IMAP accounts. Could someone
>share an example config with multiple IMAP accounts and local mail?
There are two ways to specify a folder in Wanderlust: Relative to
default settings in .wl or absolute with putting username, server and
port in the folder name.
For the format of a absolute notation see Erik's mail message.
A real live example: I do have main accounts defined in Wanderlust
init file (relative notation) and a bunch of other accounts (absolute
notation). These other accounts include local maildir, pop3, shimbun,
nntp and other IMAP accounts.
In my WL init file:
,----
| ;; Default SMTP server
| (setq wl-from "David Maus <dmaus@ictsoc.de>")
| (setq wl-envelope-from "dmaus@ictsoc.de")
| (setq wl-smtp-posting-port 587)
| (setq wl-smtp-authenticate-type "plain")
| (setq wl-smtp-posting-user "dmaus@ictsoc.de")
| (setq wl-smtp-posting-server "mail.xlhost.de")
| (setq wl-local-domain "ictsoc.de")
| (setq wl-smtp-connection-type 'starttls)
|
| ;; Default NNTP server
| (setq elmo-nntp-default-server "news.gmane.org")
| (setq elmo-nntp-default-user nil)
| (setq elmo-nntp-default-port 119)
| (setq elmo-nntp-default-stream-type nil)
|
| ;; Default IMAP server
| (setq elmo-imap4-default-server "mail.xlhost.de")
| (setq elmo-imap4-default-port 993)
| (setq elmo-imap4-default-authenticate-type 'clear)
| (setq elmo-imap4-default-user "dmaus@ictsoc.de")
| (setq elmo-imap4-default-stream-type 'ssl)
`----
And my .folders (obfuscated some parts):
,----
| /flag:digest/%Inbox "Inbox (digest)"
| %Inbox:"USERNAME"/clear@SERVER:993! "Inbox X"
| %Inbox
| %Inbox.Keep "Old"
| .drafts "Drafts"
| .queue "Queue"
| .spam "Spam"
| .archive "Archive"
| NNTP{
| -gmane.emacs.help
| -thur.org.lug:thurnews@news.thur.de
| }
| Shimbun{
| @atom-hash.GitHub
| @atom-hash.PlanetEmacsen
| @emacswiki.changes
| }
| Other{
| %Inbox:XXXXXX:993! "XXXX"
| &XXXXXXXX@pop.XXXX.XX:995! "XX"
| .uwimap-archive "uw-imap archives"
| }
|
| # petname definition (access group, folder in access group)
|
| # end of file.
`----
HTH
-- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de
Attachment:
pgpjCP66aTOGE.pgp
Description: PGP signature