0

On our server we receive malicious email from a specific sender. Is it possible with postfix to:

  1. Forward the emails received from this sender on a specific email (other domain name)
  2. Block these emails on our domain mailboxes
bgtvfr
  • 1,292
curuba
  • 123

1 Answers1

0

According to your question, you want to get rid of spam.

There are many ways to achieve this :

Update : If you really want to receive the mail and take appropriate action about it, like forwarding, archiving or executing a shell script, the best tools for you are procmail or maybe mailfilter :

  • http://www.zer0.org/procmail/quickref.html provides documentation on how to "Forward to other address", "Feed to a shell command pipeline " or " Save to a folder ".
  • mailfilter is my prefered tool for this type or problem, but it is necessary to have one configuration file per recipient
bgtvfr
  • 1,292