all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Gnus: get emails from a remote server via SSH
@ 2012-09-03 20:25 .
  2012-09-05  1:01 ` Lowell Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: . @ 2012-09-03 20:25 UTC (permalink / raw)
  To: help-gnu-emacs

Hello there,

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.

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've already tried to ask here [3].

[1] http://www.gnu.org/software/emacs/manual/html_node/gnus/Mail-Source-Specifiers.html#Mail-Source-Specifiers
[2] https://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/013fd87d1f1238ac
[3] https://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/09e2b771ea9102ad

Thanks


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gnus: get emails from a remote server via SSH
  2012-09-03 20:25 Gnus: get emails from a remote server via SSH .
@ 2012-09-05  1:01 ` Lowell Gilbert
  2012-09-05  1:36   ` .
  0 siblings, 1 reply; 3+ messages in thread
From: Lowell Gilbert @ 2012-09-05  1:01 UTC (permalink / raw)
  To: help-gnu-emacs

"." <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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gnus: get emails from a remote server via SSH
  2012-09-05  1:01 ` Lowell Gilbert
@ 2012-09-05  1:36   ` .
  0 siblings, 0 replies; 3+ messages in thread
From: . @ 2012-09-05  1:36 UTC (permalink / raw)
  To: help-gnu-emacs

> 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.

> Another scenario would be you trying to read work mail from
> home, which would offer a different set of challenges.

This scenario is similar to mine. The server is a VPS* and the client
is my home machine.
What do you suggest in this case?

* That's my I don't want to store emails there (for a long time). I
have a root on the VM, but I don't control the physical machine.

Thanks


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-05  1:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-03 20:25 Gnus: get emails from a remote server via SSH .
2012-09-05  1:01 ` Lowell Gilbert
2012-09-05  1:36   ` .

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.