all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lowell Gilbert <lgusenet@be-well.ilk.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Gnus: get emails from a remote server via SSH
Date: Tue, 04 Sep 2012 21:01:26 -0400	[thread overview]
Message-ID: <44392xth95.fsf@lowell-desk.lan> (raw)
In-Reply-To: f0f0dc20-7297-4c91-99dd-9c87a9f0ca13@q20g2000vbx.googlegroups.com

"." <nkwerk@gmail.com> writes:

> I have two machines: a server that uses Postfix and a client. (The
> latter doesn't have a static ip.)
>
> I'd like to use Gnus on the client to read / send / store emails.
> Looks like that the easiest (and secure) way to do this is to use SSH.
> There is a related guide [1], but I know neither Emacs Lisp nor sh.

Nor should you need to. The advice there, which I would reiterate, is to
use IMAP (or even POP) if you can. 

Getmail over ssh can be made to work, but it's really a last-ditch
approach, not something anybody would call "easy."

> I also want emails to be automatically deleted from the server after
> the synchronization.
>
> Could you help me with this?
> (Please provide code if possible.)
>
> My server-side configuration can be found here [2].

I don't think so. That configuration is for running Gnus on the same
machine that the files are on. That's certainly the easiest thing to set
up (you just ssh to the server and run your Gnus there), but it's not
what you asked for.

There are lots of options that might help (fetchmail is one that occurs
to me), but we don't know enough about your specific situation to sort
through them.

One possible (and very common) scenario that may describe your situation
is a home LAN, with the mail coming into the one machine with a static
IP address and being read from machines without static addresses. I do
this myself, with IMAP running on the server and no special
authentication needed for sending mail (because it's a private
network). Another scenario would be you trying to read work mail from
home, which would offer a different set of challenges.

Good luck.


  reply	other threads:[~2012-09-05  1:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03 20:25 Gnus: get emails from a remote server via SSH .
2012-09-05  1:01 ` Lowell Gilbert [this message]
2012-09-05  1:36   ` .

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=44392xth95.fsf@lowell-desk.lan \
    --to=lgusenet@be-well.ilk.org \
    --cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.