From owner-freebsd-questions@FreeBSD.ORG Sat Oct 24 07:15:07 2009 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 912C71065693 for ; Sat, 24 Oct 2009 07:15:07 +0000 (UTC) (envelope-from kellymartin@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 502018FC17 for ; Sat, 24 Oct 2009 07:15:07 +0000 (UTC) Received: by qyk6 with SMTP id 6so4217837qyk.3 for ; Sat, 24 Oct 2009 00:15:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=XnzrNMae7QbxDkgbRPn+OrDqMYl29siyWXHJaEyeycU=; b=aocvYrdZS9hqAEQudLDvtQtcsgsajMVxrQUdK7WaDMR7yJxhnf8/HBRlBHUX2/L95l xrPLJnz4OOJ0ItEed/alaJNBJkKFfK8XDiWgajKOy07TNMnTqFKSKGHpXshUuXiUUnLw ty/T4AUYQqSSeYgMVpEKmunNHr4eFGUDnbVD8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=l7s6vhLYMh5HlHXe8JyY4GFn9jOomgknb8m7pt/SwlLu567r6qOpxJb9uBIOQkW5u2 T34Ra38tkhDttGR/QLXp380r130uwbsOVNHZweR/5877Mei7pI1wP15UCl4nTz/bNsPE ungQEd2z5xnPCyDFdx0I0G5X1KnSj9QLAKacM= MIME-Version: 1.0 Received: by 10.224.64.224 with SMTP id f32mr5982715qai.315.1256368101241; Sat, 24 Oct 2009 00:08:21 -0700 (PDT) Date: Sat, 24 Oct 2009 01:08:21 -0600 Message-ID: <1338880b0910240008h5d5e7846q8ccf184728d9e036@mail.gmail.com> From: Kelly Martin To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Subject: changing cron's From: address in emails 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: Sat, 24 Oct 2009 07:15:07 -0000 Greetings, here's a simple question for the FreeBSD gurus out there. I have several servers running cron scripts daily for me, and they all send me e-mail with their output. Regardless of which server it is, each of these e-mails have the From: address looking exactly the same. They all say they are from the "Cron Daemon". Fine, but I'd like to know more clearly which server the cron output is from. How can I change the From: address of these emails to "Myserver Cron Daemon" instead? I know cron runs as the user, so it's not immediately obvious to me how to change the From: field. Already the subject line says something like "Cron ..." but this doesn't stand out enough for my tired eyes. thanks, Kelly