From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-51004-garchives=archives.gentoo.org@gentoo.org>)
	id 1GNz5J-0007hw-KY
	for garchives@archives.gentoo.org; Thu, 14 Sep 2006 21:49:26 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8ELmA8A022620;
	Thu, 14 Sep 2006 21:48:10 GMT
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8ELhYZc018113
	for <gentoo-user@lists.gentoo.org>; Thu, 14 Sep 2006 21:43:34 GMT
Received: from localhost (localhost [127.0.0.1])
	by smtp.gentoo.org (Postfix) with ESMTP id C3575644C0
	for <gentoo-user@lists.gentoo.org>; Thu, 14 Sep 2006 21:43:33 +0000 (UTC)
Received: from smtp.gentoo.org ([127.0.0.1])
 by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 20927-04 for <gentoo-user@lists.gentoo.org>;
 Thu, 14 Sep 2006 21:43:32 +0000 (UTC)
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174])
	by smtp.gentoo.org (Postfix) with ESMTP id E22BD643C5
	for <gentoo-user@gentoo.org>; Thu, 14 Sep 2006 21:43:31 +0000 (UTC)
Received: by ug-out-1314.google.com with SMTP id h2so186918ugf
        for <gentoo-user@gentoo.org>; Thu, 14 Sep 2006 14:43:31 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:to:subject:mime-version:content-type;
        b=eygr9rYhpyHD/GrufXcLHdc1bYzgdzq4uaivXD5yD+R5HuofEd6ChaZOK2n2TODYt9d/GuI8l4/ek0kxL7hXNaMRUuYEIWwEkGG4+l2tOVFQqqXJjOmmH09Ac7iAFR2SxtFOHgpe6EOvIa9F3wwsAwMYdSE/E/V4veIltd35UGM=
Received: by 10.67.97.7 with SMTP id z7mr5072014ugl;
        Thu, 14 Sep 2006 14:43:30 -0700 (PDT)
Received: by 10.66.245.16 with HTTP; Thu, 14 Sep 2006 14:43:30 -0700 (PDT)
Message-ID: <d18977190609141443i73b77b5flc6e03007f120884c@mail.gmail.com>
Date: Thu, 14 Sep 2006 14:43:30 -0700
From: "David Grant" <davidgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] vixie-cron and ssmtp
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_204163_2539471.1158270210775"
X-Virus-Scanned: amavisd-new at gentoo.org
X-Spam-Status: No, score=-1.21 required=5.5 tests=[AWL=-0.173,
 BAYES_00=-2.599, DNS_FROM_RFC_ABUSE=0.2, DRUGS_SLEEP=0.01, HTML_10_20=1.351,
 HTML_MESSAGE=0.001]
X-Spam-Score: -1.21
X-Spam-Level: 
X-Archives-Salt: 0ee9bac2-037b-4db9-92c5-421090b9de03
X-Archives-Hash: 38939758b83fc7d9228883e40261e9e4

------=_Part_204163_2539471.1158270210775
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Cron is sending out an email for jobs run as user root, but not for cron
jobs run as my normal user? Yet the funny thing is, when cron runs jobs as
normal user, it still actually sends the mail to root (see /etc/crontab).
And on the command line, I see the same thing either way:

Sep 14 14:43:01 sonata cron[16727]: (david) CMD
(/home/david/scripts/encryptPass.pl)
Sep 14 14:43:01 sonata cron[16725]: (root) CMD
(/home/david/scripts/encryptPass.pl)
Sep 14 14:43:02 sonata sSMTP[16728]: Sent mail for
root@smtp.vc.shawcable.net (221 2.3.0 Bye received. Goodbye.)
Sep 14 14:43:02 sonata sSMTP[16729]: Sent mail for
root@smtp.vc.shawcable.net (221 2.3.0 Bye received. Goodbye.)

Can anyone else repeat this behaviour?

-- 
David Grant
http://www.davidgrant.ca

------=_Part_204163_2539471.1158270210775
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Cron is sending out an email for jobs run as user root, but not for cron jobs run as my normal user? Yet the funny thing is, when cron runs jobs as normal user, it still actually sends the mail to root (see /etc/crontab). And on the command line, I see the same thing either way:
<br><br>Sep 14 14:43:01 sonata cron[16727]: (david) CMD (/home/david/scripts/encryptPass.pl)<br>Sep 14 14:43:01 sonata cron[16725]: (root) CMD (/home/david/scripts/encryptPass.pl)<br>Sep 14 14:43:02 sonata sSMTP[16728]: Sent mail for 
<a href="mailto:root@smtp.vc.shawcable.net">root@smtp.vc.shawcable.net</a> (221 2.3.0 Bye received. Goodbye.)<br>Sep 14 14:43:02 sonata sSMTP[16729]: Sent mail for <a href="mailto:root@smtp.vc.shawcable.net">root@smtp.vc.shawcable.net
</a> (221 2.3.0 Bye received. Goodbye.)<br><br>Can anyone else repeat this behaviour?<br clear="all"><br>-- <br>David Grant<br><a href="http://www.davidgrant.ca">http://www.davidgrant.ca</a>

------=_Part_204163_2539471.1158270210775--
-- 
gentoo-user@gentoo.org mailing list