From getmail@discworld.dyndns.org  Sun Sep 28 08:34:07 2003
Return-Path: <getmail@discworld.dyndns.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7D9E416A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Sep 2003 08:34:07 -0700 (PDT)
Received: from discworld.dyndns.org (h24-78-210-69.ss.shawcable.net [24.78.210.69])
	by mx1.FreeBSD.org (Postfix) with SMTP id EA53B44025
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 28 Sep 2003 08:34:05 -0700 (PDT)
	(envelope-from getmail@discworld.dyndns.org)
Received: (qmail 15344 invoked by uid 500); 28 Sep 2003 15:38:53 -0000
Message-Id: <20030928093851.A15285@discworld.dyndns.org>
Date: Sun, 28 Sep 2003 09:38:51 -0600
From: Charles Cazabon <getmail@discworld.dyndns.org>
To: Alex de Kruijff <freebsd-reply@akruijff.dds.nl>
Cc: FreeBSD-gnats-submit@freebsd.org, sergei@kolobov.com
In-Reply-To: <200309281216.h8SCGYLS013556@Intranet.lan>; from freebsd@akruijff.dds.nl on Sun, Sep 28, 2003 at 02:16:34PM +0200
Subject: Re: trouble running mail/getmail from cron
References: <200309281216.h8SCGYLS013556@Intranet.lan>

>Number:         57317
>Category:       ports
>Synopsis:       Re: trouble running mail/getmail from cron
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    sergei
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 28 08:40:08 PDT 2003
>Closed-Date:    Sat Oct 25 14:43:48 PDT 2003
>Last-Modified:  Sat Oct 25 14:43:48 PDT 2003
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Alex de Kruijff <freebsd@akruijff.dds.nl> wrote:
 > 
 > >Synopsis:	trouble running mail/getmail from cron
 [...]
 > 	http://www.freebsd.org/cgi/query-pr.cgi?pr=53843
 
 I'm the author of getmail; first I've heard of this.  In fact, I don't recall
 any communication from a FreeBSD port maintainer, although I regularly
 correspond with the Debian package maintainer.
 
 > Gettamil use to work from cron. After is have updated my sources on 26/27
 > jun 2003 it stopped working.
 
 It would be nice to know what versions were involved, and what changes to the
 native versions the FreeBSD port makes.  Otherwise, it's very difficult for me
 to know what broke.
 
 > 	The error message: "exec: : permission denied"
 
 That looks like something as simple as a broken she-bang line.
 
 > You can add these two lines you your crontab as a work around:
 > SHELL=/bin/sh
 > PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
 > 
 > This does, in my view, open up the potential to securtiy problems because 
 > the PATH applies to all cron entries.
 
 If only one cron job needs a different PATH, why not start it with env to
 accomplish that?  i.e.
 
   env PATH=added-path:$PATH /path/to/getmail
 
 ?
 
 Charles
 -- 
 -----------------------------------------------------------------------
 Charles Cazabon                          <getmail@discworld.dyndns.org>
 GPL'ed software available at:     http://www.qcc.ca/~charlesc/software/
 -----------------------------------------------------------------------
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 29 17:53:34 PDT 2003 
Responsible-Changed-Why:  
Fix category 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57212 
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 29 17:53:34 PDT 2003 
Responsible-Changed-Why:  
Fix category 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57213 
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 29 17:53:34 PDT 2003 
Responsible-Changed-Why:  
Fix category 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57214 
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 29 17:53:34 PDT 2003 
Responsible-Changed-Why:  
Fix category 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57215 
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 29 17:53:34 PDT 2003 
Responsible-Changed-Why:  
Fix category 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57245 
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 29 17:53:34 PDT 2003 
Responsible-Changed-Why:  
Fix category 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57266 
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 29 17:53:34 PDT 2003 
Responsible-Changed-Why:  
Fix category 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57317 
Responsible-Changed-From-To: freebsd-ports-bugs->sergei 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Oct 24 22:58:42 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer (although this may simply be a misplaced 
followup to ports/53843 and/or ports/57312, both of which 
have already been closed due to a fix being committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57317 
State-Changed-From-To: open->closed 
State-Changed-By: sergei 
State-Changed-When: Sat Oct 25 14:31:53 PDT 2003 
State-Changed-Why:  
Follow-up to ports/53843, misfiled as a new PR. 
Fixed with ports/57325. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57317 
>Unformatted:
