From owner-freebsd-questions Fri Dec 13 22:41:25 2002 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 A8B4937B401 for ; Fri, 13 Dec 2002 22:41:23 -0800 (PST) Received: from smtp01.wlv.untd.com (smtp01.wlv.untd.com [209.247.163.57]) by mx1.FreeBSD.org (Postfix) with SMTP id EA4DA43EA9 for ; Fri, 13 Dec 2002 22:41:22 -0800 (PST) (envelope-from idiot1@netzero.net) Received: (qmail 22651 invoked from network); 14 Dec 2002 06:41:16 -0000 Received: from dialup-65.58.199.189.dial1.tampa1.level3.net (HELO netzero.net) (65.58.199.189) by smtp01.wlv.untd.com with SMTP; 14 Dec 2002 06:41:16 -0000 Message-ID: <3DFAD312.5090408@netzero.net> Date: Sat, 14 Dec 2002 01:43:30 -0500 From: Kirk Bailey Organization: Silas Dent Memorial Cabal of ERIS Esoteric and hot dog boiling society User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: tutor@python.org, freebsd-questions Subject: automating list deletion Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG OK, I got it to work with the cgi script and the aliases file. 1. Seperated out the aliases for lists into another file, 'aliases.tinylist'. 2. edited sendmail.cf so it referrs to an additional file, /etc/mail/aliases.tinylist, and it works fine. newaliases works with the new file just fine. 3. ok, panick time, take your asprin and calming meditation exercises serious. I assigned ownership of ~/mail dir( that is, '/etc/mail') to 'nobody', the apache identity. Group membership remained the same ('wheel'). I insured all the aliases files are readable by group and world, but only writable by owner. A test run shows the script can now write to the dir and read and write to the files there. I am still getting an error, but it is a different error. Files are being deleted fine, but somehow I still have soem sort of a permissions error going on here. Anyone relly cunning on such matters drop me a line off list and we can swap confusion modes. -- end Respectfully, Kirk D Bailey +---------------------"Thou Art Free." -Eris-----------------------+ | http://www.howlermonkey.net mailto:highprimate@howlermonkey.net | | KILL spam dead! http://www.scambusters.org/stopspam/#Pledge | | http://www.tinylist.org +--------+ mailto:grumpy@tinylist.org | +------------------Thinking| NORMAL |Thinking----------------------+ +--------+ --------------------------------------------- Introducing NetZero Long Distance 1st month Free! Sign up today at: www.netzerolongdistance.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message