How to configure sendmail user to forward to itself and another user

I am running RedHat, Sendmail and have the following setup:

users: forwards to and

All three of thse have mailboxes that they can login to and view their mail.

the problem is that i want the emails to stay on so that support can log in and view the email.  When I add forwarding, the mail is moved to and and is removed from

How can I set this up so that the email stays on>
Who is Participating?
arrkerr1024Connect With a Mentor Commented:
Ahhh, you're using a control panel.  Can you not do this through the control panel?

If not, do this:
in /etc/mail/virtualusertable you should see support_at_me_com

and then in /etc/mail/aliases you should see:
support_at_me_com: /var/spool/vmail/, /var/spool/vmail/
just add /var/spool/vmail/ to the end (comma-separated).
Do you have the aliases set up in /etc/aliases?  If so, just add the user to the list of forwards, like this:
support:    joe,sally,support
then run "newaliases"

It only runs through the aliases file once, so you won't get stuck in a loop.
Hanno P.S.IT Consultant and Infrastructure ArchitectCommented:
It sounds you have a .forward in support's HOME directory.
If you enter (logged in as "support", using bash or ksh)
  # echo "joe,sally,\support" > ~/.forward
you will get incoming emails copied  to all three users' mailboxes
acrocatAuthor Commented:
/etc/aliases has stuff like:
## ----- Begin HSPC generated text. Do not edit! -----
admin_at_me_com: /var/spool/vmail/
joe_at_me_com: /var/spool/vmail/
sally_at_me_com: /var/spool/vmail/

/etc/mail/virtualusertable has things like: joe_at_me_com admin_at_me_com sally_at_me_com

How should I proceed?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.