Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 1998 22:40:03 +0800 (SGT)
From:      chas <panda@peace.com.my>
To:        freebsd-questions@FreeBSD.ORG
Subject:   But what if the alias name is already in use ? Re: mail aliasing
Message-ID:  <3.0.32.19980120224703.009171b0@peace.com.my>

next in thread | raw e-mail | index | archive | help
We have many mail aliases on our machines - no problem to date.
However, one day management wanted to be bcc'ed a copy of every
mail sent to info@ourdomain.com. My problem was that
info was not already an alias but an actual mail account (The
reason being that the person answering this mail prefered
to keep this mail separate from her own personal mail account
and so didn't want the info@ mail aliased to herself).

So, given that an account already exists info@ourdomain.com and
that it is not an alias, how can you then arrange for mail 
arriving to be forwarded to another account as well as being
available for pick up from info@ourdomain.com ?

In my case, I removed the "info" account and created a traditional
alias in /etc/aliases but am curious if I overlooked something 
more obvious.

TIA,

chas


 
>
>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        |
>+-------------------------------------------------------+
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.32.19980120224703.009171b0>