From owner-freebsd-mobile Sun Jul 9 13: 9:34 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from emu.prod.itd.earthlink.net (emu.prod.itd.earthlink.net [207.217.121.31]) by hub.freebsd.org (Postfix) with ESMTP id A6B8A37BA1E for ; Sun, 9 Jul 2000 13:09:31 -0700 (PDT) (envelope-from cjc@pool0548.cvx21-bradley.dialup.earthlink.net) Received: from pool0548.cvx21-bradley.dialup.earthlink.net (pool0548.cvx21-bradley.dialup.earthlink.net [209.179.194.38]) by emu.prod.itd.earthlink.net (8.9.3-EL_1_3/8.9.3) with ESMTP id NAA26357; Sun, 9 Jul 2000 13:09:28 -0700 (PDT) Received: (from cjc@localhost) by pool0548.cvx21-bradley.dialup.earthlink.net (8.9.3/8.9.3) id NAA00544; Sun, 9 Jul 2000 13:07:51 -0700 (PDT) Date: Sun, 9 Jul 2000 13:05:00 -0700 From: "Crist J. Clark" To: Harry Putnam Subject: Re: Ssh from FreeBSD laptop to view mail Message-ID: <20000709130459.A394@dialin-client.earthlink.net> Reply-To: cjclark@alum.mit.edu References: <20000708144300.D183@dialin-client.earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from reader@newsguy.com on Sat, Jul 08, 2000 at 04:33:24PM -0700 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, Jul 08, 2000 at 04:33:24PM -0700, Harry Putnam wrote: > "Crist J. Clark" writes: > > > [This is not really a -mobile question. Redirecting to -questions.] > > Someone please correct me if I'm wrong here. I haven't read a charter > for this group, but was under the impression that questions concerning > mobil machines running FreeBSD were fair game here. They are, but your question was about syncing a file between two systems which is a topic not specific to mobile machines. I thought you might get a better answer from the broader audience in -questions. > > OpenSSH is part of the base system of FreeBSD 4.0. No need to install > > the ssh-1.2.27 port. > > Already installed and fully running.. I'm familiar with it from past > practice ... why go to something I'm not familiar with? It's added complexity to the system. The ssh-1.2.x versions have known bugs and restrictive licensing. It does not support SSH protocol 2. > > > Now I want to have a laptop running FreeBSD 4.0 networked to desktop > > > running Redhat linux, be able to view/manipulate mail on the parent machine > > > but don't want to setup pop, imap or special sendmail stuff. > > > > [snip] > > > > > What would be nice is to just say `mutt' and a ssh connection is > > > started and mail in PARENT:/var/spool/mail/$NAME is viewed, deleted > > > saved etc. > > [...] > > > > > Why don't you just connect to the other machine and run mutt? > > Unless I'm really missing the boat here, any manipulations done with > mutt in that way would be executed on that machine. If I saved a > file it would be saved to the wrong machine. If I deleted mail it > would be missing from the parent not the laptop. If I split the mail > in a different way, etc etc. > > You snipped the part that explained why, or at least inferred it. In the part I left above, you say that you want the mail on the parent to be viewed, deleted, saved, etc. That's what I understood. > >> Then both machines will have full access to the mail without scewing > >> up the others spool. > > What I'm after here is to manipulate the incoming mail spool in anyway > I want without changing the parent machines own spool. The results of > any actions taken to be executed on the laptop. That did not come across to me in the first mail. So a wrapper script, #!/bin/sh REMOTE=${0:-defaulthost} scp $REMOTE:/var/spool/mail/$USER Mail/inbox mutt -f Mail/inbox Would do the trick? -- Crist J. Clark cjclark@alum.mit.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message