From owner-freebsd-questions Wed Sep 25 17:30: 1 2002 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 51F4E37B401 for ; Wed, 25 Sep 2002 17:29:58 -0700 (PDT) Received: from nycsmtp1out.rdc-nyc.rr.com (nycsmtp1out.rdc-nyc.rr.com [24.29.99.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F0AF43E6A for ; Wed, 25 Sep 2002 17:29:57 -0700 (PDT) (envelope-from scottro@nyc.rr.com) Received: from nyc.rr.com (66-108-172-188.nyc.rr.com [66.108.172.188]) by nycsmtp1out.rdc-nyc.rr.com (8.12.1/Road Runner SMTP Server 1.0) with SMTP id g8Q0Tu1U024545 for ; Wed, 25 Sep 2002 20:29:56 -0400 (EDT) Date: Wed, 25 Sep 2002 20:29:54 -0500 From: Scott Robbins To: freebsd-questions@FreeBSD.ORG Subject: Re: Fetchmail and Mutt Message-ID: <20020926012954.GA10898%scottro@despammed.com> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <20020925184817.A33990@insightbb.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" Content-Disposition: inline In-Reply-To: <20020925184817.A33990@insightbb.com> User-Agent: Mutt/1.4i-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 --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 25, 2002 at 06:48:17PM -0500, Bryan Cassidy wrote: > I am using FreeBSD 4.6.2 on my system now. I am new to Unix/Linux but lik= ing bsd alot. Anyways. I use fetchmail 5.9.13 and mutt 1.2.5.1i and I am us= ing Fluxbox as my window manager. I want to know what can I add to my .flux= box/menu config file to launch fetchmail right before it launches mutt or v= ice versa so I don't have to run fetchmail by hand each and everytime viewi= ng my e-mails. This is what I have in my .fluxbox/menu configuration file n= ow to launch mutt=20 > [exec] (Mutt) {Eterm -e mutt} Hope I gave enough information. There's a few ways to do it. You could simply run fetchmail as a daemon, by putting it in your .shrc or .bashrc (depending upon your shell) so that each time you log in fetchmail begins. Something like fetchmail -d 300 which will run fetchmail every five minutes. (the 300 is for seconds). Or, you could make a little script called muttx or something that goes fetchmail && Eterm -e mutt and put it somewhere, such as /home/bin, make it executable=20 chmod 755 ~/bin/muttx and then just invoke it by typing muttx at a command prompt every once in awhile. You can invoke fetchmail while in Mutt by using G (that is shift+G) although you have to add a line to your .muttrc there. I use a similar combination. I have my fluxbox keys set to Mod4 m: ExecCommand rxvt -g 80x29 -e mutt =20 (I like it larger than default as I have a lot of mailboxes). I use xbuffy and have it start upon starting X, by putting in my =2Exinitrc, BEFORE the exec fluxbox line xbuffy & I usually have fetchmail running as daemon, whether or not I'm in X. So, if xbuffy tells me I have email, I hit the MS key and m and mutt opens up for me. I've put pages up (mostly as reminders to myself, but other beginners have found them helpful) and I'll give the links in case they're of use to you (most have links to better docs anyway). For fluxbox and menu possibilities http://home.nyc.rr.com/computertaijutsu/fluxbox.html For various tricks with mutt and fetchmail http://home.nyc.rr.com/computertaijutsu/mutt.html For xbuffy http://home.nyc.rr.com/computertaijutsu/xbuffy.html HTH --=20 Scott PGP keyID EB3467D6 ( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 D575 EB34 67D6 ) gpg --keyserver pgp.mit.edu --recv-keys EB3467D6 Angel: Buffy, careful with this gift. Lots of things that seem=20 strong and good and powerful, they can be painful.=20 Buffy: Like, say, immortality?=20 Angel: Exactly. I'm dying to get rid of that.=20 Buffy: Funny.=20 Angel: I'm a funny guy.=20 --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9kmMS+lTVdes0Z9YRAltlAJ4sIuvOJUfTTZwv40moELm4BffJrACfWudz 638SL/hqOkuVibzXBZJdyFQ= =Z9wW -----END PGP SIGNATURE----- --envbJBWh7q8WU6mo-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message