From owner-freebsd-questions@FreeBSD.ORG Mon Nov 24 03:34:33 2003 Return-Path: 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 5BA5C16A4CE for ; Mon, 24 Nov 2003 03:34:33 -0800 (PST) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20C3443FCB for ; Mon, 24 Nov 2003 03:34:31 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) hAOBXrqt016011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 24 Nov 2003 11:33:58 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id hAOBXoOU016006; Mon, 24 Nov 2003 11:33:50 GMT (envelope-from matthew) Date: Mon, 24 Nov 2003 11:33:50 +0000 From: Matthew Seaman To: Anthony Carmody Message-ID: <20031124113350.GB14538@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Anthony Carmody , freebsd-questions@freebsd.org References: <1069660340.3904.10.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <1069660340.3904.10.camel@localhost.localdomain> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: Quick Mailing List Solution X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Nov 2003 11:34:33 -0000 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 24, 2003 at 05:52:21PM +1000, Anthony Carmody wrote: > I just got handed a job to do that involves me mailing 6000 people. I > was wondering if there was a way i could use my FreeBSD server to do > this that wont upset my ISP.. You would be well advised to discuss what you're going to do with your ISP before hand, and convince them it's all legitimate lest they descend upon you from a great height waving AUP's and threatening to cut you off. > LDAP? > Scripts? It's fairly easy to write a small shell script that sends the same message in turn to each address in a list of addresses. There's all sorts of niceties, like you can substitute the recipient address into the message headers and personalises the message to the recipient. Something a bit like this (completely untested, and probably full'o'bugs): #!/bin/sh recipients=3D'charlie@chaplain.com stanley@laurel.com oliver@hardy.com vladimir.ilyich@lenin.com' =20 for r in $recipients ; do /usr/sbin/sendmail -t -oi -oee < To: $r Subject: Circular E-mail Dear Correspondent, Here is a circular e-mail message for you. E_O_MESSAGE done Another trick is to use the aliases(5) system on your machine. Since you've got so many recipients, you should use an external include list for the recipient names. eg: Create an entry like this in /etc/mail/aliases: my-mailing-list: :include: /etc/mail/my-mailing-list.entries Then list the addresses to send to one per line in that file. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/weyedtESqEQa7a0RAmGSAJ9cUe1JOfa0sqTN53NA3jmlF4zGuACfabx1 rzqrnDXwsDkuP96FI1LKZjU= =z56y -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--