How to forward all spam emails to another email account

1 post / 0 new
#1 Sat, 12/15/2018 - 04:54
chill_Surf

How to forward all spam emails to another email account

Hi there,

1) I need to be able to forward an email received and marked as spam to another user of my email server. I noticed that all mail filters work only if the email is not spam. If it is spam the mail filters dont work. (mail filters in usermin) If it is possible to achieve the above task for all user mailboxes from virtualmin at once (without having to set each one from usermin), I would be more than glad.

2) If forwarding a spam email to another local user account is not recommended, then I would like to know how to run "php test.php" command when a message is spam.

All I need is to be able to be informed if a new message gets to the spam folder.

Thanks in advance