[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Emacs IMAP/MS Exchange
From: |
Andreas Ames |
Subject: |
Re: [h-e-w] Emacs IMAP/MS Exchange |
Date: |
19 Aug 2002 11:57:17 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Hi,
address@hidden writes:
> 5. Enter your login details at the following
> prompts.
you might also note that your login credentials are not as
straightforward to specify as they are with other imap servers. With
exchange your login name has to look like (that's nothing special
about gnus):
<name of login domain>/<your login name for that
domain>/Jonathan.Underwood
where I assume that 'address@hidden' is the name of the
mailbox you want to access. The required password is your domain
password.
You may also want to send mail with gnus which can be achieved via the
smtpmail package. Below are some snippets from my .emacs and .gnus
(using these settings is an alternative to the foreign server method
as described by jasonr):
------------- <.emacs> ------------------------
;; Mail settings
(setq mail-user-agent (quote gnus-user-agent))
(setq read-mail-command (quote gnus))
(setq user-mail-address "address@hidden")
(setq user-full-name "Jonathan Underwood")
(setq-default smtpmail-default-smtp-server "<your exchange server's
hostname>")
(load-library "smtpmail")
(setq send-mail-function 'smtpmail-send-it)
------------- </.emacs> ------------------------
Place a file named '.gnus' in the same folder as your '.emacs'.
------------- <.gnus> ------------------------
;; other mail/news sources
(setq gnus-secondary-select-methods
'(
;; exchange server
(nnimap "Exchange" (nnimap-address "<your exchange server's
hostname>")
(nnimap-user "<name of login domain>/<your
login name for that domain>/Jonathan.Underwood"))))
;; use smtp to send mails
(load-library "message")
(setq message-send-mail-function 'smtpmail-send-it)
------------- </.gnus> ------------------------
Finally you can consider using cygwin's fetchmail/procmail packages
and any of the numerous (emacs) mail readers you'd like; it needn't
have imap support in this case (see http://sources.redhat.com/cygwin).
HTH,
andreas