[Linux-disciples] /var/mail/$USER

Stephen R Laniel steve at laniels.org
Thu Jan 5 17:12:14 EST 2006


On Thu, Jan 05, 2006 at 05:00:02PM -0500, Adam Rosi-Kessel wrote:
> I also can't tell you what the better way is off the top of my head, but I
> can tell you that there is a better way that should be readily googlable. I
> suppose one way is with .procmailrc, and just tell it to deliver everything
> that isn't caught by another filter to inbox. But I believe all MDA's have
> some way of recognizing when mail is supposed to be delivered to a user's
> home directory rather than the mail spool. It happens sometimes on
> bostoncoop by accident.

Yeah, the procmail approach is probably the best. You just
change $DEFAULT and you're done. I was changing $ORGMAIL, a
la procmailrc(5)

       ORGMAIL		     /var/mail/$LOGNAME
			     (Unless -m has been specified, in which case it is unset)

but that wasn't working. $DEFAULT did, though. Thanks, Adam.

-- 
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20060105/dbe0dd87/attachment.pgp


More information about the Linux-disciples mailing list