From owner-freebsd-questions Wed Jan 17 20:56:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail2.wmptl.com (mail2.wmptl.com [216.94.6.26]) by hub.freebsd.org (Postfix) with ESMTP id B4C8037B400 for ; Wed, 17 Jan 2001 20:56:04 -0800 (PST) Received: (from apache@localhost) by mail2.wmptl.com (8.9.3/8.9.3) id AAA80894; Thu, 18 Jan 2001 00:10:31 -0500 (EST) (envelope-from webmaster@wmptl.com) Date: Thu, 18 Jan 2001 00:10:31 -0500 (EST) Message-Id: <200101180510.AAA80894@mail2.wmptl.com> From: "Nathan Vidican" To: questions@freebsd.org Subject: best way to alias an email address to a filename X-Mailer: NeoMail 1.20 X-IPAddress: 216.8.128.39 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What is the best way to alias an email address directly to a filename? I have tried: tester1: /usr/local/htdocs/tester1.txt But I get an error from sendmail stating that it cannot open output file. If I chmod that file to 666, then it works fine. Seeing as how I'd rather NOT leave a file chmod'd 666 sitting on a publically accessable webserver, any ideas how else I should be going about this? Perhaps some sort of pipe to the cat command? Or could this be fixed using a simple ownership/permissions change? -- Nathan Vidican webmaster@wmptl.com Windsor Match Plate & Tool Ltd. http://www.wmptl.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message