From owner-freebsd-questions Sun Feb 11 23: 3:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id 5EC9F37B401 for ; Sun, 11 Feb 2001 23:03:12 -0800 (PST) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f1C730310655; Sun, 11 Feb 2001 23:03:00 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Brennan Stehling" , Subject: RE: a temporary mail alias Date: Sun, 11 Feb 2001 23:03:09 -0800 Message-ID: <000e01c094c1$db637060$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG What you have described is exactly how majordomo operates. Basically, in the alias file you make an alias entry that points to a file. In this file is a list of names. You only have to run newaliases once, after that you can manipulate the list of names how you like. Majordomo does it by parsing e-mail sent to it but you can use a CGI program to do the same thing. Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Brennan > Stehling > Sent: Sunday, February 11, 2001 10:01 PM > To: freebsd-questions@FreeBSD.ORG > Subject: a temporary mail alias > > > I am avoiding creating a majordomo system and would like to know if there > is a way to create a temporary mail alias. I have aliases in > /etc/mail/aliases but in order to create more aliases the only way I know > to do it is edit that file to add a new alias with a list of addresses and > then run newaliases. > > I am wondering if there is another way to do it. Any sendmail buffs out > there? I have used bulk_mailer in the past to send mailings out to > friends for summer parties and such, but what I want to do is build a nice > web interface which can leverage sendmail as a delivery agent. Since the > web server will never run as root it will not have access to edit the > alias file. This web interface would allow users to add and remove > themselves for the list easily. > > Previously I have sent an email to each user one by one, and that is > inefficient. It is also prone to problems and it also takes longer than > it should. > > I need to come up with a better solution. > > Any help is appreciated. > > Brennan Stehling - software developer and system administrator > my projects: > home.offwhite.net (free personal hosting) > www.greasydaemon.com (bsd search) > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message