[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 "news.gmane.org")) 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 "news.gmane.org"))
(setq gnus-select-method
'(nnimap "Mail"
(nnimap-address "localhost")
(nnimap-stream network)
(nnimap-authenticator login)))
(setq user-mail-address "name@gmail.com")
(setq gnus-ignored-from-addresses "youruser")
(setq gnus-thread-sort-functions
'((not gnus-thread-sort-by-number)
gnus-thread-sort-by-score))
(setq
;; html things
mm-text-html-renderer 'w3m
)
(setq gnus-select-method '(nntp "news.gmane.org"))
(setq send-mail-function 'smtpmail-send-it)
(setq message-send-mail-function 'smtpmail-send-it)
(setq smtpmail-starttls-credentials '(("smtp.gmail.com" 587 nil nil)))
(setq smtpmail-auth-credentials '(("smtp.gmail.com" 587 "name@gmail.com" nil)))
(setq smtpmail-default-smtp-server "smtp.gmail.com")
(setq smtpmail-smtp-server "smtp.gmail.com")
(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
'(gnus-thread-sort-by-number
gnus-thread-sort-by-most-recent-date))
(setq message-alternative-emails
(regexp-opt '("name2@gmail.com" "x.name2@gmail.com")))
(add-to-list 'gnus-secondary-select-methods
'(nntp "news.gmane.org"))
_________________________________
Thanks in advance.
--
Petro
- nntp and nimap in use together.,
Petro Khoroshyy <=