[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] how to add hidden bcc?



On 13 Mar 2003 at 13:27, Peter Smith wrote:

<snip>

> I have a client (on a RaQ4 with sendmail) who wishes to have a new user
> added, but requires the functionality that ALL email sent by this new
> user should be bcc to another user.

<snip>

So, the customer is sending mail through YOUR server ?

If so, it can be done.

I am not familiar with the email gui, since I don't use it on our 
raqs, but this how you can do it by editing the config files.

First of all edit the aliases file:

	/etc/mail/aliases

Create a new unique alias like this:

bcc1:	user@xxxxxxxxxxx,bccaddress@xxxxxxxxxxx

where bcc1 is a name which doesn't already appear in this file.

You then need to issue this command to update the sendmail alias db:

# newaliases

Next edit the virtual user table:

	/etc/mail/virtusertable

add / edit the line for the new user to:

newuser@xxxxxxxxxxxxxxxxxx		bcc1

Then you have to update the sendmail virtusertable db:

# makemap hash /etc/mail/virtusertable.db < /etc/mail/virtusertable

Then you must restart sendmail:

If you have mailscanner installed:

	/etc/rc.d/init.d/mailscanner restart

otherwise:

	/etc/rc.d/init.d/sendmail restart

If anyone knows how to do this through the gui, please post.


Regards

Ian
--