Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2002 09:11:55 +0200
From:      Bernd Haug <mailinglisten@berndhaug.net>
To:        Bryan Cassidy <bryanc2000@insightbb.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Fetchmail and Mutt
Message-ID:  <3D92B33B.7000306@berndhaug.net>
References:  <20020925184817.A33990@insightbb.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Bryan Cassidy wrote:
> I am using FreeBSD 4.6.2 on my system now. I am new to Unix/Linux
> but liking bsd alot. Anyways. I use fetchmail 5.9.13 and mutt
> 1.2.5.1i and I am using Fluxbox as my window manager. I want to
> know what can I add to my .fluxbox/menu config file to launch
> fetchmail right before it launches mutt or vice versa so I don't
> have to run fetchmail by hand each and everytime viewing my e-mails.
> This is what I have in my .fluxbox/menu configuration file now to
> launch mutt [exec] (Mutt) {Eterm -e mutt} Hope I gave enough
> information.

Would it be possible to write a one-code-liner akin to:

#!/bin/sh
fetchmail && "eterm -e mutt" || "eterm -e mutt"

so that first fetchmail is called, and then, no matter how it dies, 
mutt is called?

I did not try it, so maybe I'm a complete fool here...

The most elegant solution would probably be fetchmail daemon mode, but 
if you're on a non-flatrate dial-up, you might not want regular polling.

By the way, is your line length configured correctly? Maybe it is just 
my mozilla, but your lines seemed awfully long to me.

Yours, Bernd


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D92B33B.7000306>