From owner-freebsd-questions Wed Mar 12 10:21:38 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F71D37B401 for ; Wed, 12 Mar 2003 10:21:36 -0800 (PST) Received: from MX2.estpak.ee (mta1.mail.neti.ee [194.126.101.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19DF443F75 for ; Wed, 12 Mar 2003 10:21:34 -0800 (PST) (envelope-from kalts@estpak.ee) Received: from kevad.internal (80-235-35-92-dsl.mus.estpak.ee [80.235.35.92]) by MX2.estpak.ee (Postfix) with ESMTP id 6E956734CA; Wed, 12 Mar 2003 20:20:09 +0200 (EET) Received: (from vallo@localhost) by kevad.internal (8.12.6/8.12.6/Submit) id h2CILRM2004412; Wed, 12 Mar 2003 20:21:27 +0200 (EET) (envelope-from vallo) Date: Wed, 12 Mar 2003 20:21:26 +0200 From: Vallo Kallaste To: Dan Langille Cc: freebsd-questions@FreeBSD.org Subject: Re: FreeBSD for Mom Message-ID: <20030312182126.GA3974@kevad.internal> Reply-To: kalts@estpak.ee References: <3E6F2EA7.8164.53EAFA7@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E6F2EA7.8164.53EAFA7@localhost> User-Agent: Mutt/1.5.1i-ja.1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Mar 12, 2003 at 12:57:11PM -0500, Dan Langille wrote: > My mom uses FreeBSD. More precisely, she uses Pine to send/receive > email. At present, she has a DSL connection. She's soon to change > to a dial up account. > > What I'm planning to do is provide her with a shell script which will > send/receive email for her. She'll run it to check for mail and when > she's done composing her outgoing mail. > > My initial untested idea is: > > - ppp --dial HerISP, > - wait for the connection to come up > - then flush the mail queue > - run fetchmail to grab anything waiting > - kill the connection > > Someone must have already done something similar. I had this setup some years ago. The only preliminary thing was Postfix, because I couldn't configure sendmail to work without DNS resolution, which caused unneeded callouts. The mail went to deferred queue when sent and everything else was bound to callout phase, /etc/ppp/ppp.linkup did everything. Set time with ntpdate, flushed queue and fetched new mail. Very convenient after setup, but I _do_ remember the horrible fight with sendmail and that it took an hour to set up postfix as I wanted (did it the first time ever).. -- Vallo Kallaste To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message