From owner-freebsd-chat Sun Feb 3 11:36: 8 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mail1.zer0.org (klapaucius.zer0.org [204.152.186.45]) by hub.freebsd.org (Postfix) with ESMTP id 5865637B405 for ; Sun, 3 Feb 2002 11:35:56 -0800 (PST) Received: by mail1.zer0.org (Postfix, from userid 1001) id 48E3C239A05; Sun, 3 Feb 2002 11:35:56 -0800 (PST) Date: Sun, 3 Feb 2002 11:35:56 -0800 From: Gregory Sutter To: Chip Wiegand Cc: chat@FreeBSD.ORG Subject: Re: email, email, email, :-( Message-ID: <20020203193556.GA67207@klapaucius.zer0.org> References: <3C5BA9B8.7070606@wiegand.org> <20020202135508.B9530@xor.obsecurity.org> <20020202214136.31377fa3.chip@wiegand.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <20020202214136.31377fa3.chip@wiegand.org> User-Agent: Mutt/1.3.25i Organization: Zer0 X-Purpose: For great justice! Mail-Copies-To: poster Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2002-02-02 21:41 -0800, Chip Wiegand wrote: >=20 > SHELL=3D/usr/bin/sh #Use the Bourne shell (check your path!) > MAILDIR=3D${HOME}/Mail #First check what your mail directory i= s! > LOGFILE=3D${MAILDIR}/procmail.log > LOG=3D"--- Logging ${LOGFILE} for ${LOGNAME}, " Your $SHELL is wrong. The $LOG line is superfluous too. Finally,=20 you haven't set a $DEFAULT. Man procmailrc for info on all of these. Here are some recommended settings; this is a complete working =2Eprocmailrc that you can add on to after you have your setup working: =3D=3D=3D=3D=3D SHELL=3D/bin/sh PATH=3D"$HOME/bin:/usr/local/bin:/usr/local/sbin:/bin:/usr/bin:/sbin:/usr/s= bin" MAILDIR=3D$HOME/Mail DEFAULT=3D"inbox" LOGFILE=3D$MAILDIR/log LOGABSTRACT=3Dall # Explicitly catch mail in $DEFAULT, even though procmail does it too. :0 : $DEFAULT =3D=3D=3D=3D=3D > I also tried the following line in .forward (without the above line), and= it didn't work either - Taken from the http://www.uwasa.fi/~ts/info/procti= ps.html site again --- >=20 > "|IFS=3D''&& exec /usr/local/bin/procmail || exit 75 #myid" This isn't quite right either. Use this, exactly like it is here (quotes and all): "|IFS=3D' ' && exec /usr/local/bin/procmail -f- || exit 75 #chip" > When I start Mutt I get the error ---- >=20 > /var/mail/chip: no such file or directory (errorno =3D 2) You need to set the 'mailboxes' variable in your .muttrc to point to your new inbox location, $HOME/Mail/inbox. Once you've got all this working, you can add FreeBSD-list mailbox filtering by placing the contents of the file below in your =2Eprocmailrc (before the $DEFAULT recipe). http://zer0.org/~gsutter/tmp/bsd.rc Greg --=20 Gregory S. Sutter Frotz! mailto:gsutter@zer0.org=20 http://www.zer0.org/~gsutter/=20 hkp://wwwkeys.pgp.net/0x845DFEDD --6TrnltStXW4iwmi0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD4DBQE8XZEcIBUx1YRd/t0RAlixAJUW+vChw0FhetQvXwS/JHP2Sih9AJ0U0Z/8 /LSK1RCv9iKbZZQJYELJ/w== =T55Q -----END PGP SIGNATURE----- --6TrnltStXW4iwmi0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message