[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Gnus: Error on setting up IMAP accounts
From: |
Marius Hofert |
Subject: |
Gnus: Error on setting up IMAP accounts |
Date: |
Fri, 28 Oct 2011 21:07:01 +0200 |
Hi,
I have trouble setting up Gnus (mail- + newsreader) on GNU Emacs 23.3 (on Mac
OS X 10.7.2) correctly. Here is what I did so far:
1) installed Gnus 5.10.10 (in ~/email)
2) ~/.emacs:
(setq load-path (cons (expand-file-name "~/email/lisp") load-path))
(require 'gnus-load)
(require 'info)
(if (featurep 'xemacs)
(add-to-list 'Info-directory-list "~/email/texi/")
(add-to-list 'Info-default-directory-list "~/email/texi/"))
3) ~/.gnus.el:
(setq gnus-select-method '(nntp "news.gmane.org")); Question 1: what can I put
here if I don't want *any* news?
(setq user-mail-address "my.name@dep.uni.edu")
(setq user-full-name "My Name")
;; setup IMAP accounts
(setq 'gnus-secondary-select-methods
'((nnimap "my.name@dep.uni.edu"; primary email account
(nnimap-address "mail.uni.edu"); mail server address
(nnimap-server-port 993); port
(nnimap-authenticator login); authentication method
(nnir-search-engine imap); enable searching mails
(nnimap-stream ssl); use ssl
(nnimap-logout-timeout 1.0); if a connection to an IMAP server
can't be closed, force close after 1s
)
(nnimap "my.name@googlemail.com"; secondary email account
(nnimap-address "imap.googlemail.com"); mail server address
(nnimap-server-port 993); port
(nnimap-authenticator login); authentication method
(nnir-search-engine imap); enable searching mails
(nnimap-stream ssl); use ssl
(nnimap-logout-timeout 1.0); if a connection to an IMAP server
can't be closed, force close after 1s
))
)
4) ~/.authinfo
machine mail.uni.edu login mylogin port 993
machine imap.googlemail.com login my.name@googlemail.com port 993
When starting Gnus via M-x gnus, I obtain:
"byte-code: Error in ~/.gnus: symbolp"
=> Question: What is wrong?
Cheers,
Marius
PS: As references, I used:
http://www.emacswiki.org/emacs/GnusTutorial#toc1
http://www.emacswiki.org/emacs/GnusGmail
http://www.gnus.org/manual/gnus_208.html#SEC208
- Gnus: Error on setting up IMAP accounts,
Marius Hofert <=