From owner-freebsd-questions Wed May 1 4:38:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from router.darlow.co.uk (pc2-bigg2-0-cust101.ltn.cable.ntl.com [213.107.35.101]) by hub.freebsd.org (Postfix) with ESMTP id 55B8D37B404 for ; Wed, 1 May 2002 04:38:31 -0700 (PDT) Received: from there (neil@ideal.darlow.co.uk [192.168.0.2]) by router.darlow.co.uk (8.11.6/8.11.6) with SMTP id g41BcUr54531 for ; Wed, 1 May 2002 12:38:30 +0100 (BST) (envelope-from neil@darlow.co.uk) Message-Id: <200205011138.g41BcUr54531@router.darlow.co.uk> Content-Type: text/plain; charset="iso-8859-1" From: Neil Darlow To: freebsd-questions@freebsd.org Subject: RE: virtusertable Date: Wed, 1 May 2002 12:38:29 +0100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 On 05/01/2002 at 02:19:14, Ian Barnes said: > in my virtusertable file i would like it that when an email is sent to a > specific email address, it should be delivered to a few local accounts. > > how do i set that up, would i just add each user in the file, separated by > commas or semi-colons ? The usefulness of /etc/mail/virtusertable is in translating e-mail addresses from one format to another, e.g. delivering wildcarded domain addresses to multiple local mailboxes. Although what you describe can be done using virtusertable, this is a good example for the use of /etc/mail/aliases. Look at /etc/mail/aliases for the required syntax. You can put multiple names on the right-hand-side of an alias separated by a space. Placing a comma after a name on the right-hand-side of an alias prevents that entry being parsed as an alias itself. Regards, Neil Darlow M.Sc. -- 1024D/531F9048 1999-09-11 Neil Darlow GPG Fingerprint = 359D B8FF 6273 6C32 BEAA 43F9 E579 E24A 531F 9048 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message