Date: Sun, 9 Jul 2000 13:05:00 -0700 From: "Crist J. Clark" <cristjc@earthlink.net> To: Harry Putnam <reader@newsguy.com> Subject: Re: Ssh from FreeBSD laptop to view mail Message-ID: <20000709130459.A394@dialin-client.earthlink.net> In-Reply-To: <m2d7kokxiz.fsf@reader.ptw.com>; from reader@newsguy.com on Sat, Jul 08, 2000 at 04:33:24PM -0700 References: <m2r994l5em.fsf@reader.ptw.com> <20000708144300.D183@dialin-client.earthlink.net> <m2d7kokxiz.fsf@reader.ptw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 08, 2000 at 04:33:24PM -0700, Harry Putnam wrote: > "Crist J. Clark" <cristjc@earthlink.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000709130459.A394>