Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Cyprian Laskowski <cyp@ling.ed.ac.uk>
To: info-gnus-english@gnu.org
Subject: reading the same server's mail from different client machines' gnus (with tramp's help?)
Date: Sun, 30 Sep 2007 00:17:11 +0100	[thread overview]
Message-ID: <tcohmyv53vuw.fsf@ithil.ling.ed.ac.uk> (raw)

Hi,

My primarily email is stored unix-fashion in /var/mail/blahblah on my
university's server, and I usually (but not always) read it by sshing
from my laptop into my university account, running an emacs from
there, from which I read my email with gnus.  This works fine, but it
would be even nicer if I could read my mail from my laptop emacs gnus
directly.  I know that one can set up the mail-sources to do
ssh-fetching stuff, but the thing is, I don't want to actually fetch
the mail onto my laptop, because sometimes I do login on university
machines, and, unlike my laptop, these are always running.  And I
certainly don't want some mail stored on one machine and the rest on
another.  What I'm after instead is a way to sometimes run gnus from
the university machines directly, and sometimes from my laptop, but
for the mail to always be stored on the university machines.  Thus
ideally running 'M-x gnus' should yield identical results (at a
particular time of course) if run from laptop or university machine.
Having passwordless ssh and tramp working on my laptop, I wonder: is
this feasible without too much hassle?

For example, suppose I specify tramp filenames for mail-sources and
mail-source-directory, e.g.,

(setq mail-sources '((file :path "remote.host.blah.blah:/var/mail/blahblah)))
(setq mail-source-directory "remote.host.blah.blah:Mail")

in my laptop emacs config.  But I'm not sure what sort of thing I
would need to do to get *writing* mail to work (e.g., I imagine this
means setting up the mail buffer contents to save on the remote
machine and then invoking the sendmail or whatever commands remotely
somehow, all with one keybinding hopefully)?

Am I on the right track to success here, or am I going to hit a dead
end soon?


Any help would be greatly appreciated.

cyp

                 reply	other threads:[~2007-09-29 23:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tcohmyv53vuw.fsf@ithil.ling.ed.ac.uk \
    --to=cyp@ling.ed.ac.uk \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).