[Top][All Lists]

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

nntp and nimap in use together.

From: Petro Khoroshyy
Subject: nntp and nimap in use together.
Date: Sun, 11 Dec 2011 08:53:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi all
I have been using offlineimap and dovecot to read emails from my gmail
account. Now I want to use gmail to read some mailing lists from gmane
server. But, after I have added (add-to-list
'gnus-secondary-select-methods '(nntp "")) into .gnus
file, I cannot see the imap account.

What am I doing wrong?
Here is my onfiguration file:

(add-to-list 'gnus-secondary-select-methods
             '(nntp ""))
(setq gnus-select-method
      '(nnimap "Mail"
               (nnimap-address "localhost")
               (nnimap-stream network)
               (nnimap-authenticator login)))
(setq user-mail-address "")
(setq gnus-ignored-from-addresses "youruser")

(setq gnus-thread-sort-functions
      '((not gnus-thread-sort-by-number)

 ;; html things
 mm-text-html-renderer 'w3m

(setq gnus-select-method '(nntp ""))

(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-starttls-credentials '(("" 587 nil nil)))
(setq smtpmail-auth-credentials '(("" 587 "" nil)))
(setq smtpmail-default-smtp-server "")
(setq smtpmail-smtp-server "")
(setq smtpmail-smtp-service 587)

;; Don't hide read email
(setq gnus-fetch-old-headers t)

;; Sort by date, newest first.
(setq gnus-thread-sort-functions

(setq message-alternative-emails
      (regexp-opt '("" "")))

(add-to-list 'gnus-secondary-select-methods
             '(nntp ""))
Thanks in advance.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]