From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Reading remote emails in gnus Date: Fri, 4 Mar 2016 11:15:00 +0100 Message-ID: <20160304101500.GA30077@tuxteam.de> References: <87ziueil9o.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1457088602 11508 80.91.229.3 (4 Mar 2016 10:50:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Mar 2016 10:50:02 +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 Mar 04 11:50:00 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1abnJ2-0004gH-4s for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Mar 2016 11:50:00 +0100 Original-Received: from localhost ([::1]:40239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abnJ0-00032s-7f for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Mar 2016 05:49:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abnIm-0002zZ-28 for help-gnu-emacs@gnu.org; Fri, 04 Mar 2016 05:49:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abnIi-0005W3-OR for help-gnu-emacs@gnu.org; Fri, 04 Mar 2016 05:49:44 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:47714 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abnIi-0005Vx-9d for help-gnu-emacs@gnu.org; Fri, 04 Mar 2016 05:49:40 -0500 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1abmlA-0007ux-GZ for help-gnu-emacs@gnu.org; Fri, 04 Mar 2016 11:15:00 +0100 In-Reply-To: <87ziueil9o.fsf@skimble.plus.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109437 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Mar 04, 2016 at 10:34:59AM +0000, Sharon Kimble wrote: > > > My main machine is called "london" and gets its system emails from > '(setq mail-sources '((file :path "/var/mail/boudiccas")'. > > I have a second machine functioning as a fileserver called "norwich". It > is generating system emails, but how do I access them using gnus please? > I've looked at the gnus manual and this seemed to fit - > > --8<---------------cut here---------------start------------->8--- > (setq mail-sources '((pop :server "norwich" :user "boztu"))) > --8<---------------cut here---------------end--------------->8--- > > except its not a pop server. > > So I've tried this - > > --8<---------------cut here---------------start------------->8--- > (setq mail-sources '((file :server "norwich" :path "/var/mail/boztu"))) > --8<---------------cut here---------------end--------------->8--- I'd guess that gnus doesn't "understand" file servers directly (how should it), but if norwich is a file server chances are that it is exporting (parts of) its file system somehow and london is possibly mounting some of those exports anyway. If norwich's /var/mail/boztu is one of those lucky locations which end up mounted in london, say under /net/norwich/var/mail/boztu (this is just an example!), then it should be visible as ╭──── │(setq mail-sources '((file :path "/net/norwich/var/mail/boztu") ╰──── i.e. as seen from gnus it's just a regular file; the fact that it's mounted from norwich should be irrelevant. If that's not the case yet, you can arrange norwich's exports to include the relevant mailboxes and london's mounts to mount them somewhere. Alternatively, you can set up a server (IMAP or POP) on norwich in a way that it's accessible from london. Even more alternatively, you can configure norwich's SMTP server (which most probably is there) to forward its mails to london, and london's SMTP server to drop those mails into a convenient mailbox. I think it's a matter of taste which flavour you choose. I'd tend to the third one, on the principle that all admin related mails from your network end up in one place (mailbox or set of mailboxes), independently of your mail user agent. regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbZYCQACgkQBcgs9XrR2kbX+ACfY29W5+3m1WhqTa87eIOErDsm brwAn14sDDDK55rMSQdaTgZL3kQsRywh =PG8r -----END PGP SIGNATURE-----