LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Simple automatic CC using aliases? (http://www.linuxquestions.org/questions/red-hat-31/simple-automatic-cc-using-aliases-805866/)

glt 05-04-2010 11:12 AM

Simple automatic CC using aliases?
 
Hi All,

I am trying to do a simple automatic CC from a target
mailbox to another mailbox:

mail to
sales@domain.com
needs to be automatically *copied* to
scott@domain.com

Naively I thought I might be able to do this using aliases:

I created an alias:
scott: sales

...but now mail no longer reaches sales. I guess the alias
hides the sales mailbox.

The only other way I know to do this is using vacation,
but then I have to silence the auto replies somehow.
Is there another simple way to do this?

Cheers,
Geoff

Env:
Redhat Linux Release 9
2.4.20-30.9
Yes. Its way old! Nothing I can do about that.
We are using sendmail as the MTA.

bathory 05-04-2010 11:38 AM

Hi,

You have to create the aliases like this:
Code:

sales: \sales, scott
Don't forget to run newaliases

Regards

glt 05-04-2010 12:46 PM

Hi bathory,

Perfect! Works like a charm.

Cheers,
Geoff


All times are GMT -5. The time now is 11:42 PM.