From owner-freebsd-questions Tue Jan 20 03:30:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27419 for questions-outgoing; Tue, 20 Jan 1998 03:30:42 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from odyssey.apana.org.au (odyssey.apana.org.au [203.11.114.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27407 for ; Tue, 20 Jan 1998 03:30:30 -0800 (PST) (envelope-from dean@odyssey.apana.org.au) Received: from localhost (dean@localhost) by odyssey.apana.org.au (8.8.7/8.8.7) with SMTP id TAA15806; Tue, 20 Jan 1998 19:28:53 +0800 (WST) Date: Tue, 20 Jan 1998 19:28:53 +0800 (WST) From: Dean Hollister To: Wayne G Boyd cc: freebsd-questions@FreeBSD.ORG Subject: Re: mail aliasing In-Reply-To: <199801201107.LAA10643@jce.wintermute.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Tue, 20 Jan 1998, Wayne G Boyd wrote: > I have set up various mail aliases for things like 'sales' in the > /etc/aliases file. However, how do I get the mail arriving for > 'sales' to be copied to a list of users ? You can do this two ways: 1. Put the line into /etc/aliases containing the email addresses. 2. List them in an external file and reference to it from /etc/aliases. For example: # $Id: aliases,v 1.4 1997/06/29 23:09:07 wosch Exp $ # @(#)aliases 5.3 (Berkeley) 5/24/90 # # Aliases in this file will NOT be expanded in the header from # Mail, but WILL be visible over networks. # # >>>>>>>>>> The program "newaliases" must be run after # >> NOTE >> this file is updated for any changes to # >>>>>>>>>> show through to sendmail. # # bash$ newaliases # # # See also RFC 2142, `MAILBOX NAMES FOR COMMON SERVICES, ROLES # AND FUNCTIONS', May 1997 all-users: :include:/etc/mail/all-users Will use all entries in the file /etc/mail/all-users Regards, d. +-------------------------------------------------------+ | Dean Hollister, | dean@odyssey.apana.org.au | | Perth, Western Australia. | deanh@iinet.net.au | +-------------------------------------------------------+