My site uses sendmail. Of course it is not an open relay.
I want for 3 or 4 email addresses to forward a copy of all incoming mails to an external address (ex: a copy of all emails to user@local to be forwarded to email@example.com
I've tried to do this adding an entry in aliases file
The problem is that this works only for email generated local but not for emails sent from the outside.
What is the problem? I am sure there is something related to relaying, but I don't figure exactly what. What can I do?