From owner-freebsd-questions@FreeBSD.ORG Sun Apr 11 06:14:49 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8F001065670 for ; Sun, 11 Apr 2010 06:14:49 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id 878188FC12 for ; Sun, 11 Apr 2010 06:14:49 +0000 (UTC) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 0470B508B3 for ; Sun, 11 Apr 2010 08:14:48 +0200 (CEST) Received: from [10.10.10.71] (acheron.webrz.net [10.10.10.71]) by webrz.xs4all.nl (Postfix) with ESMTP id DC28250884 for ; Sun, 11 Apr 2010 08:14:47 +0200 (CEST) Message-ID: <4BC168D8.7080900@webrz.net> Date: Sun, 11 Apr 2010 08:14:48 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Cc: Subject: Auto update X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2010 06:14:49 -0000 Can someone tell me if there is a way of generating an email on the moment that someone logs in to my FreeBSD server? The mail part (phpmail) will be easy; I don't know yet how to trigger and pass parameter to this script or redirect info to a file (that I then send by email). Thanks. Jos Chrispijn