Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 05:01:02 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Eric Brueggmann <brueggma@students.uiuc.edu>
Cc:        freebsd-questions@FreeBSD.ORG, freebsd-isp@FreeBSD.ORG
Subject:   Re: sendmail+procmail --> ~/.INBOX
Message-ID:  <20000614050102.B2941@hades.hell.gr>
In-Reply-To: <Pine.GSO.4.10.10006121713170.15400-100000@ux4.cso.uiuc.edu>; from brueggma@students.uiuc.edu on Mon, Jun 12, 2000 at 05:23:49PM -0500
References:  <Pine.GSO.4.10.10006121713170.15400-100000@ux4.cso.uiuc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 12, 2000 at 05:23:49PM -0500, Eric Brueggmann wrote:
> 
> My name is Eric Brueggmann and I was wondering if there is a
> RECENT/relevant "HOWTO" on how to get sendmail to use procmail
> to deliver mail into ~/.INBOX instead of /var/spool/mail/$ (FBSD
> 4.0-STABLE)?  Or is it easier to just use qmail, that puts the inbox
> into "~/"?

First of all, you ought to configure your sendmail to forward all mail
to the procmail delivery agent.  This is done by creating a .forward
file that contains

	% cat ~/.forward
	|/usr/local/bin/procmail

Then, you can create a .procmailrc file that uses the HOME environment
variable to set up a default mailbox.  For instance, I use:

	% cat ~/.procmailrc
	DEFAULT=$HOME/Mailbox
	MAILDIR=$HOME/Mail

	:0
	* ^delivered-to:.*questions@freebsd.org
	freebsd.questions

	...

Then, procmail will promptly deliver all the mail that does not match
one of my mailing lists filters to $DEFAULT which is the same as the
~/Mailbox file used by qmail.

-- 
Giorgos Keramidas, < keramida @ ceid . upatras . gr >
For my public key: finger keramida@ceid.upatras.gr


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




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