[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple imap servers/addresses



On 10/14/2009 03:21 PM Vitaly Mayatskikh wrote:
At Wed, 14 Oct 2009 15:02:36 -0400, Steven Knight wrote:


Hi,

I've trying to switch to Emacs + Wanderlust as my email client.  I
current have two imap servers I speak to (one for work and one for
personal usage).

I'd like to have a single wanderlust rather then two and so I've setup
my ~/.folders to have both work and personal servers  -- that it
currently working.  My current problem is that I can't figure out how to
set From, signature, etc for each email address.

Does anyone have any suggestions?

(setq
  wl-template-alist
  '(("default"
     (bottom . "\n-- \nwbr, Vitaly")))
  wl-draft-config-matchone t
  wl-draft-config-alist
  '(((string-match "company" wl-draft-parent-folder)
     ("From" . "Vitaly Mayatskikh<user@company.com>")
     (wl-envelope-from . "user@company.com")
     ("Fcc" . "%Sent:user@mail.company.com:993")
     (template . "default")
     (wl-smtp-posting-user . "user")
     (wl-smtp-posting-server . "smtp.company.com")
     (wl-smtp-posting-port . 25)
     (wl-smtp-connection-type . nil)
     (wl-smtp-authenticate-type . nil))
    ((string-match "gmx" wl-draft-parent-folder)
     ("From" . "Vitaly Mayatskikh<mvu@gmx.com>")
     (wl-envelope-from . "mvu@gmx.com")
     ("Fcc" . "%Sent:mvu@imap.gmx.com:993")
     (template . "default")
     (wl-smtp-posting-user . "mvu@gmx.com")
     (wl-smtp-posting-server . "smtp.gmx.com")
     (wl-smtp-posting-port . 587)
     (wl-smtp-connection-type . 'starttls)
     (wl-smtp-authenticate-type . "plain"))
    ((string-match "gmail" wl-draft-parent-folder)
     ("From" . "Vitaly Mayatskikh<v.mayatskih@gmail.com>")
     (wl-envelope-from . "v.mayatskih@gmail.com")
     ("Fcc" . "%Sent:v.mayatskih@imap.gmail.com:993")
     (template . "default")
     (wl-smtp-posting-user . "v.mayatskih")
     (wl-smtp-posting-server . "smtp.gmail.com")
     (wl-smtp-posting-port . 587)
     (wl-smtp-connection-type . 'starttls)
     (wl-smtp-authenticate-type . "plain"))))

Hierarchy in ~/.folders:

company{
...
}
gmail{
...
}
gmx{
...
}


Hi,

Thank you for your suggestion. I did as you suggestion, but it isn't working.

The warning buffer contains:
Warning (elmo): Please set `wl-message-id-domain' to get valid Message-ID string.

Version Info: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.7 Emacs/23.1 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)


(setq
    wl-draft-config-matchone t
    wl-draft-config-alist
    '(((string-match "work" wl-draft-parent-folder)
       ("From" . "Steven Knight <skk@work.com>")
       (wl-envelope-from . "skk@work.com")
       (wl-message-id-domain . "server")
       ("Fcc" . "%Sent:skk@work.com")
       (wl-smtp-posting-server . "localhost")
       (signature-file-name "~/.dotfiles/signature.work")
       (signature-insert-at-eof t)
       (signature-delete-blank-lines-at-eof t))
      ((string-match "personal" wl-draft-parent-folder)
       ("From" . "Steven Knight <skk@home.com>")
       (wl-envelope-from . "skk@home.com")
       (wl-message-id-domain . "server")
       ("Fcc" . "%Sent:skk@home.com")
       (wl-smtp-posting-server . "localhost")
       (signature-file-name "~/.dotfiles/signature.personal")
       (signature-insert-at-eof t)
       (signature-delete-blank-lines-at-eof t))))



Thanks,

--
--------------------------------------------------------------------------------
Steven Knight  steven.knight@unh.edu
-------------------------------------------------------------------------------