Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Sendmail auto forwarding to many addresses

Posted on 2008-11-14
Medium Priority
Last Modified: 2012-05-05
How can I setup sendmail so it will auto forward mail from one address to another or a number of addresses, but still keep the original copy in the users inbox?

Thanks for any help.
Question by:dr34m3rs

Accepted Solution

Iced-evil earned 2000 total points
ID: 22965805

You can do this in the aliases file.
Little example :
adding the below line will forward all mail to user1@hostname to user1 his mailbox, user2 his mailbox and to the external email user1@gmail.com

user1: user1, user2, user1@gmail.com

You can add as many aliases as you want.

Hope this helps
LVL 14

Expert Comment

ID: 22965807

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An analysis of the phishing scam that has been affecting Google users, along with steps to take for protection, as well as what to do if you receive one of the emails.
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month11 days, 19 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question