Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2002 11:35:56 -0800
From:      Gregory Sutter <gsutter@zer0.org>
To:        Chip Wiegand <chip@wiegand.org>
Cc:        chat@FreeBSD.ORG
Subject:   Re: email, email, email,  :-(
Message-ID:  <20020203193556.GA67207@klapaucius.zer0.org>
In-Reply-To: <20020202214136.31377fa3.chip@wiegand.org>
References:  <3C5BA9B8.7070606@wiegand.org> <20020202135508.B9530@xor.obsecurity.org> <20020202214136.31377fa3.chip@wiegand.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <chip@wiegand.org> 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




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