Forwarding causes all Spam to be Received

Document ID: 10431

Synopsis

If a mail account has forwarding set up all mail including spam is received at the forwarded mail box. Spam that would have gone into the users Junk Mail folder is also forwarded.

More Information

Forwarding causes all Spam to be Received

If a mail account has forwarding set up all mail including spam is received at the forwarded mail box. Spam that would have gone into the users Junk Mail folder is also forwarded.

The spam mail ends up forwarded because the 'Spam Trap' sieve filter runs after the forward action has been taken by MailSite.

A workaround is to change your sieve filter to avoid forwarding the spam mails.

The Solution

For Example: test@example.com wants to forward all his mail (except incoming spam) to test@hotmail.com
  • Check in test@example.com that NO forward is set within its mailbox properties
  • Create a new mailbox level script under the delivery actions tab.
  • Set the criteria to be 'all of the below'
    • If TO: contains test@example.com
    • If spam score less than 8
  • Copy the message to test@hotmail.com
  • Deliver the message, or discard, as required
  • This filter is then complete. Restart SMTPRA and SMTPDA.

Therefore when mail is received which is addressed to test@example.com and the spam score is less than 8, copy the message to our other mailbox (i.e. forwarding the mail)