I do not have any experience with sendmail and googling around didn't help me so far.
I need to redirect every email that goes to a specific address to another address in the same domain. For example, email@example.com should be redirected to firstname.lastname@example.org, while every other mail for that domain should be directly be sent.
I have added following entry in the /etc/mail/virtusertable file:
and added an info alias, pointing to the specific mail in /etc/aliases:
However, when I try to send a mail to email@example.com, sendmail does not redirect the mail. I ran newaliases and make. What am I doing wrong?
Thanks in advance for your help