Gnus development mailing list
 help / color / mirror / Atom feed
From: Ulf Betlehem <flu@iki.fi>
Subject: Re: mail-sources on a different machine?
Date: 11 Nov 1999 18:45:52 +0200	[thread overview]
Message-ID: <87yac5ugcf.fsf@lemon.tky.hut.fi> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "25 Sep 1999 09:59:36 +0200"

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> "Rene Matteau" <matteau@vnet.ibm.com> writes:
> 
> > (setq mail-sources '(
> >         (file :path "/matteau@matteau:/var/spool/mail/matteau")
> >         ))
> 
> I don't think this will work.  We use movemail to move mail, and it
> doesn't understand ange-ftp file names.  One could use `rename-file',
> but that wouldn't do file locking, which means that You Would Lose
> Mail Sooner Or Later, which is not nice.

        I'm using the following mail-sources for retrieving mail from
        my local spool as well as fetching mail from my primary mail-
        host.  Maybe not that elegant, but its fast and authentication
        is conveniently handled by ssh-agent.

        (setq mail-sources
              '((file)
                (file :prescript "ssh host bin/getmail >%t")))

------------------------------------------
#!/bin/sh
#
#  getmail - move mail from spool to stdout
#
#  flu@iki.fi
#
MOVEMAIL=/usr/lib/emacs/20.3/i386-redhat-linux/movemail
TMP=~/Mail/tmp
rm -f $TMP; $MOVEMAIL $MAIL $TMP >/dev/null && cat $TMP
------------------------------------------


-- 
 flu


  reply	other threads:[~1999-11-11 16:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-02  0:35 Rene Matteau
1999-09-25  7:59 ` Lars Magne Ingebrigtsen
1999-11-11 16:45   ` Ulf Betlehem [this message]
1999-11-12  7:18     ` Lars Magne Ingebrigtsen
1999-11-24  1:55   ` [PATCH] " Carsten Leonhardt
1999-09-26  1:55 matteau
1999-09-27 17:35 ` Lars Magne Ingebrigtsen

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=87yac5ugcf.fsf@lemon.tky.hut.fi \
    --to=flu@iki.fi \
    /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).