[mew-int 2857] how to read mail from several maildir folders

Rodney Price rod at example.com
Thu Mar 25 15:56:15 JST 2010


Hi,

I'm new to mew, and I'm stumped.  Sorry if this is a newbie question.

I'm using offlineimap to copy my mail (gmail, Google Apps so I use my own
domain name) to ~/Mail.  The directory structure I get looks like this:

INBOX  -- the place new mail shows up
inbox  -- the place mew wants to move my new mail to
folder1
folder2
...

All my mail folders from gmail are peers of INBOX, not children of it.

I can't seem to configure mew to read mail from INBOX.  I played around with
incm, thinking that was the problem, and it moved all my mail from
~/Mail/INBOX to ~/Mail, numbering them sequentially.  Alternatively, I can't
seem to get incm to move the mail to inbox, where mew can see it.

The same applies to all the other folders.

Suggestions?  I'm using emacs 23.1, on 64-bit Arch Linux.  Configuration
files are attached below.

Thanks,
-Rod

.mew.el
--
;; Email address
(setq mew-name "Rodney Price")
(setq mew-user "rod")
(setq mew-mail-domain "thirdoption.info")

;; Outgoing mail
(setq mew-smtp-user "rod at example.com")
(setq mew-smtp-server "smtp.gmail.com")
(setq mew-smtp-auth-list '("LOGIN"))   ; "CRAM-MD5", "PLAIN", and "LOGIN"
can be used

;; Incoming mail
(setq mew-mailbox-type 'mbox)
(setq mew-mbox-command "incm")
(setq mew-mbox-command-arg "-u -d /home/rodprice/Mail")


.emacs
--
(add-to-list 'load-path "/usr/share/emacs/site-lisp/mew")

(autoload 'mew "mew" nil t)
(autoload 'mew-send "mew" nil t)

;; Optional setup (Read Mail menu for Emacs 21):
(if (boundp 'read-mail-command)
    (setq read-mail-command 'mew))

;; Optional setup (e.g. C-xm for sending a message):
(autoload 'mew-user-agent-compose "mew" nil t)
(if (boundp 'mail-user-agent)
    (setq mail-user-agent 'mew-user-agent))
(if (fboundp 'define-mail-user-agent)
    (define-mail-user-agent
      'mew-user-agent
      'mew-user-agent-compose
      'mew-draft-send-message
      'mew-draft-kill
      'mew-send-hook))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mew.org/pipermail/mew-int/attachments/20100325/635e5298/attachment.html>


More information about the Mew-int mailing list