all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Marius Hofert <marius.hofert@math.ethz.ch>
To: Emacs help <help-gnu-emacs@gnu.org>
Subject: Gnus: Error on setting up IMAP accounts
Date: Fri, 28 Oct 2011 21:07:01 +0200	[thread overview]
Message-ID: <E16FCD6D-86FB-43AE-AA2A-EB386FB44278@math.ethz.ch> (raw)

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





             reply	other threads:[~2011-10-28 19:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28 19:07 Marius Hofert [this message]
2011-10-28 20:49 ` Gnus: Error on setting up IMAP accounts Tassilo Horn
  -- strict thread matches above, loose matches on Subject: below --
2011-10-29  7:58 Marius Hofert
2011-10-29  8:09 ` Tassilo Horn
2011-10-29  9:45   ` Marius Hofert
2011-10-29 18:33     ` Tassilo Horn
2011-10-29 23:01       ` Marius Hofert
2011-10-31 16:56       ` Marius Hofert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16FCD6D-86FB-43AE-AA2A-EB386FB44278@math.ethz.ch \
    --to=marius.hofert@math.ethz.ch \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.