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 email@example.com
with subject containing "viagra", the email is sent to junk, but I also get a copy of the email in firstname.lastname@example.org
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 email@example.com
but even then, I just emails in junk & sales@mydomain & firstname.lastname@example.org