I have tried procmailrc, but it still does not solve my problem.
Let me give you an example:
My aliases file has this:
This is working fine.
My /etc/procmailrc has a filter as follows:
Now, if I get any email to firstname.lastname@example.org
with subject containing "viagra", the email is sent to junk, but I also get a copy of the email in email@example.com
It seems like the procmailrc & aliases both are working on the email.
What I would like is the mail to be deliered to junk only and aliases should not be processed.
I have tried using /home/sales/.forward for forwarding emails to firstname.lastname@example.org
but even then, I just emails in junk & sales@mydomain & email@example.com