From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: sroh Newsgroups: gmane.emacs.help Subject: how to read mail (Gnus) Date: Sat, 12 May 2007 00:21:12 +0900 Organization: Dacom News site Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178907221 5290 80.91.229.12 (11 May 2007 18:13:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 18:13:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 11 20:13:40 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HmZcW-0000dS-8G for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 20:13:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmZjx-0001fT-LU for geh-help-gnu-emacs@m.gmane.org; Fri, 11 May 2007 14:21:17 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!newsfeed.berkeley.edu!ucberkeley!nntp.kreonet.re.kr!kreonet.re.kr!newsfeed.dacom.co.kr!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 89 Original-NNTP-Posting-Host: 124.57.93.32 Original-X-Trace: inn2.bora.net 1178896914 9119 124.57.93.32 (11 May 2007 15:21:54 GMT) Original-X-Complaints-To: usenet@inn2.bora.net Original-NNTP-Posting-Date: Fri, 11 May 2007 15:21:54 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) Cancel-Lock: sha1:g5iLcFitcH718E1pHFwz5OPQ0YI= Original-Xref: shelby.stanford.edu gnu.emacs.help:148300 X-Mailman-Approved-At: Fri, 11 May 2007 14:12:05 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43896 Archived-At: i did copy & paste. Gnus News is worked so good. but i don't know to read mail. what is Next step for reading mail? my .emacs ;; The following line is needed when using pop3.el from T-gnus (m17n.org). (eval-after-load "mail-source" '(require 'pop3)) (setq gnus-posting-styles '((".*" (name "aaaa") (address "aaaa@gmail.com")) ("^nnml.*gmail" (address "aaaa@gmail.com")))) (setq mail-sources '((file :path "/var/spool/mail/aaaa") (pop :server "pop.gmail.com" :port 995 :user "aaaa" :connection ssl :leave t) (pop :server "pop.naver.com" ; :port 995 :user "aaaa" :connection ssl :leave t))) (defun fs-change-smtp () "Change the SMTP server according to the current from line." (save-excursion (let ((from (save-restriction (message-narrow-to-headers) (message-fetch-field "from")))) (message "From is `%s', setting `smtpmail-smtp-server' to `%s'" from (cond ((string-match "aaaa@gmail.com" from) ;; Use stmp-auth (message "Using smtp-auth") ;; Sending mail (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 "aaaa" nil))) (setq smtpmail-default-smtp-server "smtp.gmail.com") (setq smtpmail-smtp-server "smtp.gmail.com") (setq smtpmail-smtp-service 587)) ((string-match "aaaa@gmail.com" from) ;; Use local sendmail (message "Using local sendmail") (setq message-send-mail-function `message-send-mail-with-sendmail)) (t (error (concat "Don't know which mail server to use for " from)))))))) (add-hook 'message-setup-hook 'fs-change-smtp) (setq gnus-select-method '(nntp "news.xpeed.com")) ;(add-to-list 'gnus-secondary-select-methods '(nntp "news.gnus.org")) ;;; Main config (setq gnus-home-score-file "/home/aaaa/Mail/gnus.SCORE" gnus-agent-directory "/home/aaaa/Mail/agent/" gnus-directory "/home/aaaa/Mail/News/" gnus-article-save-directory "/home/aaaa/Mail/News" gnus-cache-directory "/home/aaaa/Mail/News/cache" gnus-cache-active-file "/home/aaaa/Mail/News/cache/active" gnus-kill-files-direcotry "/home/aaaa/Mail/News" nndraft-directory "/home/aaaa/Mail/drafts/") (defun my-message-mode-setup () (setq fill-column 72) (turn-on-auto-fill)) (add-hook 'message-mode-hook 'my-message-mode-setup) (setq gnus-thread-sort-functions '(gnus-thread-sort-by-date))