🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.comp.os.linux
Article #10498

��ʵ��û�а취�ˣ���λ�ܷ�����ǵ������ļ��������

#10498
From: anonlmo
Date: Wed, 09 Jul 2003 10:42
83 lines
5627 bytes
�������ҵ�.emacs��.gnus�����ļ�ȫ�ģ���æ������
�ҵ������Dzο���������ҳ��
http://my.gnus.org/html/gnus-tutorial_7.html#SEC29
http://josefsson.org/smtpmail.html

��Ҳ�����е㱿�������Ҿ�Բ�����Ӣ�ĵ��ֲ�Ҳ���ˣ�
�����ļ�����Nʮ�Σ���������emacs\gnusҲ��Nʮ�Σ�
��ʵ��û�취��ͨ��SMTPʹ��163���仹���޷����ʼ���������ԣ���

�����Һ�163��ȥ��ֻ�����ڹ��ڻ���û����������POP3���ŵ�������䣿
��������ʱ��Ҫ���ֻ������룬���ǽ����ѵ��ֻ������ɹ��ġ�
��λ�����п�Ҳ�����163�������ԣ������������÷��Ź��ܵģ�
���ߣ������ǵ����������ļ�Ҳ��������ҿ�����

>>>>>>>>>>>>>>>>>>>>�ҵ�.emacs�ļ�ȫ��<<<<<<<<<<<<<<<<<<<<<<
;; Red Hat Linux default .emacs initialization file  ; -*- mode:
emacs-lisp -*-
(global-set-key [delete] 'delete-char)
(global-set-key [kp-delete] 'delete-char)
(global-font-lock-mode t)
(setq-default transient-mark-mode t)
(setq require-final-newline t)
(setq next-line-add-newlines nil)
(when window-system
  (mwheel-install)
;;������redhat��Ĭ�����ã������������ӵģ�
(set-selection-coding-system 'compound-text-with-extensions))
(setq gnus-group-name-charset-group-alist '((".*" . gb2312 )))
(custom-set-variables
'(current-language-environment "Chinese-GB")
)
(set-keyboard-coding-system 'chinese-iso-8bit)   ; input
(set-selection-coding-system 'chinese-iso-8bit)  ; copy/paste
;;�������������ã���������ö������ˣ���Ϊ��.gnus������һ��Ч��Ҳһ��
;;(setq send-mail-function 'smtpmail-send-it)
;;(setq message-send-mail-function 'smtpmail-send-it)
;;(setq smtpmail-default-smtp-server "smtp.163.com")
;;(setq smtpmail-smtp-server "smtp.163.com")
;;(setq smtpmail-auth-credentials
;;'(("smtp.163.com" "25" "anonlmo" "1234567")))
;;(setq smtpmail-local-domain "163.com")
;;(setq smptmail-sendto-domain "163.com")
����������������������.emacs��������������������������

>>>>>>>>>>>>>>>>>>>>�ҵ�.gnus�ļ�ȫ��<<<<<<<<<<<<<<<<<<<<<<
(setq user-mail-address "anonlmo@163.com")
(setq user-full-name "Anonlmo")
(setq gnus-select-method '(nntp "news.newsfan.net"))
(setq gnus-secondary-select-methods '((nnml "")))
(setq mail-sources '((pop :server "pop.163.com"
                          :user "anonlmo"
                          :password "1234567")))

;;���ʹ����һ�У�����ʱû�г�����ʾ������ʵ����û�з���ȥ
;;��һ����gnus-tutorial��˵��not for gnus��
(setq send-mail-function 'smtpmail-send-it)

;;���ʹ����һ�У�����ʱ������ʾwrong type argument: stringp. nil
;;��һ����gnus-tutorial��˵��for gnus��
;;��һ�з���.emacs�����Ҳ��һ��
;;(setq message-send-mail-function 'smtpmail-send-it)

(setq smtpmail-default-smtp-server "smtp.163.com")

;;��֤�з���.emacs��Ч��Ҳ����.gnus��һ��
(setq smtpmail-auth-credentials
'(("smtp.163.com" 25 "anonlmo" "purepure")))

;;�����������������Ӱ�죬������ɡ�
(setq smtpmail-local-domain "163.com")
(setq smtpmail-sendto-domain "163.com")

(add-to-list 'gnus-secondary-select-methods '(nntp "news.webking.com.cn"))
(add-to-list 'gnus-secondary-select-methods '(nntp "news.yaako.com"))

;;Ϊ�������ɣ����������Ѿ�����
;;(gnus-agentize)
;;(setq gnus-check-new-newsgroups nil)
;;(setq gnus-agent-short-article 300)
;;(setq gnus-agent-long-article 200)
;;(setq message-insert-canlock nil)
;;(setq message-signature-file "~/signature.file")
��������������������������������������������������������
Technical Details
Message-ID: <begrms$jpm$1@news.yaako.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: 10b277,c0349d5e6968e14a,start
X-Google-Attributes: gid10b277,public
X-Google-ArrivalTime: 2003-07-09 03:45:42 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsgate.cuhk.edu.hk!news.cn99.com!news.yaako.com!not-for-mail
From: "anonlmo" <anonlmo@163.com>
Newsgroups: cn.comp.os.linux
Subject: ��ʵ��û�а취�ˣ���λ�ܷ�����ǵ������ļ��������
Date: Wed, 9 Jul 2003 18:42:37 +0800
Organization: Bentium Ltd. (CN99)
Lines: 85
Message-ID: <begrms$jpm$1@news.yaako.com>
NNTP-Posting-Host: 220.173.39.130
X-Trace: news.yaako.com 1057747485 20278 220.173.39.130 (9 Jul 2003 10:44:45 GMT)
X-Complaints-To: usenet@news.yaako.com
NNTP-Posting-Date: Wed, 9 Jul 2003 10:44:45 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400