From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bijan Soleymani Newsgroups: gmane.emacs.help Subject: Re: How do I set up rmail Date: 02 Apr 2003 14:36:34 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <878yusbsjh.fsf@server.crasseux.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049314079 6318 80.91.224.249 (2 Apr 2003 20:07:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 2 Apr 2003 20:07:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 02 22:07:57 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 190oWa-0001dT-00 for ; Wed, 02 Apr 2003 22:07:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 190nxp-0003oJ-08 for gnu-help-gnu-emacs@m.gmane.org; Wed, 02 Apr 2003 14:32:01 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!snoopy.risq.qc.ca!wesley.videotron.net!wagner.videotron.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 46 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 24.201.123.149 Original-X-Complaints-To: abuse@videotron.ca Original-X-Trace: wagner.videotron.net 1049311563 24.201.123.149 (Wed, 02 Apr 2003 14:26:03 EST) Original-NNTP-Posting-Date: Wed, 02 Apr 2003 14:26:03 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:111620 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8123 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8123 Mikey writes: > I am trying to use emacs as a mail client. > > How do I point it to my mail server? > > Do I need to have a .mail file setup? > > What should I put in the file? > > M This is described somewhat cryptically in the emacs manual (which kind of assumes you are getting your mail from a unix mailspool). What it seems to say is that there is a list called rmail-primary-inbox-list which should contain the list of mailboxes you want to use. This should be set in your .emacs file (this is the file that keeps any changes changes to emacs that shouldn't be reset when you quit emacs.) Assuming your copy of emacs supports pop (very likely) you can simply use po:USERNAME:SERVER as a mailbox in the list rmail-primary-inbox-list. You can either specify your password in your .emacs file (not a good idea from a security point of view). Or you can set rmail-pop-password-required to a value that is not nil (usually it is a good idea to use t for true), and you will be asked for it when you run rmail. If you are new to emacs and emacs lisp (the language that most of emacs is written in, and which is used for customizations) then all you have to add to your .emacs file (which you can open by doing C-x C-f ~/.emacs): (setq rmail-primary-inbox-list '("po:USERNAME:SERVER")) (setq rmail-pop-password-required t) If you have any problems with this feel free to ask. P.S. Don't forget to replace USERNAME and PASSWORD with your username and password :) Hope that helps, Bijan