* Reading remote emails in gnus
@ 2016-03-04 10:34 Sharon Kimble
2016-03-04 10:15 ` tomas
0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2016-03-04 10:34 UTC (permalink / raw)
To: help-emacs
[-- Attachment #1: Type: text/plain, Size: 1201 bytes --]
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---
Which doesn't seem to be read by gnus at all! Although this does work -
╭────
│(setq mail-sources '((file :path "/var/mail/boudiccas")
╰────
How then can I read the emails from "norwich" using gnus on "london"
please?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.3, fluxbox 1.3.7, emacs 25.0.92
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Reading remote emails in gnus
2016-03-04 10:34 Reading remote emails in gnus Sharon Kimble
@ 2016-03-04 10:15 ` tomas
0 siblings, 0 replies; 2+ messages in thread
From: tomas @ 2016-03-04 10:15 UTC (permalink / raw)
To: help-gnu-emacs
-----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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-04 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-04 10:34 Reading remote emails in gnus Sharon Kimble
2016-03-04 10:15 ` tomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).