From owner-freebsd-questions@FreeBSD.ORG Tue Sep 7 23:04:06 2004 Return-Path: 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 13E3A16A4CE for ; Tue, 7 Sep 2004 23:04:06 +0000 (GMT) Received: from gandalf.pelennor.net (user-12l2o04.cable.mindspring.com [69.81.96.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E327443D54 for ; Tue, 7 Sep 2004 23:04:05 +0000 (GMT) (envelope-from mdr@pelennor.net) Received: by gandalf.pelennor.net (Butterbur, from userid 1000) id 25F771AD; Tue, 7 Sep 2004 18:04:05 -0500 (CDT) Date: Tue, 7 Sep 2004 18:04:05 -0500 From: Matthew Rench To: freebsd-questions@freebsd.org Message-ID: <20040907230404.GB74422@gandalf.pelennor.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: pam_mail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 23:04:06 -0000 Hello, I would like an ssh login to produce the same check for new mail that /usr/bin/login does. (That is, "You have new mail." or similar printed out after login, unless ~/.hushlogin exists.) On my linux box, this is achieved using the pam_mail module. If I run "locate pam_mail" on my FreeBSD 4.10 box, I get the following: % locate pam_mail /usr/src/contrib/libpam/modules/pam_mail /usr/src/contrib/libpam/modules/pam_mail/README Have I forgotten to install part of the source tree that I don't have any source for this module? Is there an easier way to get this module installed (e.g. one of the ports)? Or should I be going about this an altogether different way? Thanks for the help, mdr