From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: RMS Setup Date: Sun, 28 Mar 2021 03:40:51 +0100 Message-ID: <87eeg057bg.fsf@robertthorpeconsulting.com> References: <9da81e36-8f5a-a184-50e3-1eeddd596d12@bluehome.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35269"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Caleb Herbert Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 28 04:42:22 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lQLNe-00095F-7S for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 04:42:22 +0200 Original-Received: from localhost ([::1]:49554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQLNd-0005E6-AG for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 27 Mar 2021 22:42:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53238) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQLMv-0005Dv-Ke for help-gnu-emacs@gnu.org; Sat, 27 Mar 2021 22:41:37 -0400 Original-Received: from outbound-smtp14.blacknight.com ([46.22.139.231]:56997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQLMs-0003rD-PZ for help-gnu-emacs@gnu.org; Sat, 27 Mar 2021 22:41:37 -0400 Original-Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp14.blacknight.com (Postfix) with ESMTPS id 2B23E1C591F for ; Sun, 28 Mar 2021 03:41:28 +0100 (IST) Original-Received: (qmail 29689 invoked from network); 28 Mar 2021 02:41:28 -0000 Original-Received: from unknown (HELO rt-inspiron-3480) (rt@robertthorpeconsulting.com@[51.37.90.145]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 28 Mar 2021 02:41:27 -0000 In-Reply-To: <9da81e36-8f5a-a184-50e3-1eeddd596d12@bluehome.net> (message from Caleb Herbert on Sat, 27 Mar 2021 16:02:26 -0500) Received-SPF: pass client-ip=46.22.139.231; envelope-from=rt@robertthorpeconsulting.com; helo=outbound-smtp14.blacknight.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:128730 Archived-At: > This guide is a bit opaque, calling outside scripts and assuming one > has read the man page. It reminds me of the cross-reference-heavy Arch > Wiki, as opposed to the self-contained FreeBSD Handbook. I have no idea exactly what setup RMS used, but I know how to setup Rmail. It's not very difficult to setup these days. Here is the way I recommend: * 1. Install GNU Mailutils. This is because it's much better than the version that comes with Emacs. It handles IMAP and some other things. Your distro will have it, so use your distro's package manager. * 2. Setup Rmail details. Add the following to your init.el file: (setq rmail-primary-inbox-list (cons (concat "" "" "@") nil)) should be pop:// if you use POP or imap:// if you use IMAP> this is the username for your mail server. If it contains the symbol "@" you have to replace that with %40. is your email server (e.g. mail.someisp.com). Now you've setup Rmail which only *receives* mail. * 3. Setup sending mail. This really has nothing to do with Rmail. You can send mail with Emacs even if you don't receive mail with Emacs (and vice versa). (setq send-mail-function 'smtpmail-send-it) (setq smtpmail-smtp-server "") Here will be something like smtp.someisp.com. (setq user-mail-address "") (setq smtpmail-smtp-service ) is the port your ISP uses. That used to always be 25, now it is often something different like 587. .... After all that you can tweak things. You might want to add a ".authinfo" file to contain your SMTP server login details so you don't have to enter them every time you send a mail. You might also want to add a ".mu-tickets" file so you don't have to enter your POP server login details every time you start Rmail. The variables mail-default-headers, rmail-delete-after-output, rmail-output-file-alist and rmail-automatic-folder-directives can be useful for tweaking things. The Rmail section of the Emacs manual describes them all. You also might want to customize send-mail-function to something else. BR, Robert Thorpe