block forwarded spam emails

Discussion in 'Installation/Configuration' started by Steffan, Jan 16, 2018.

  1. Steffan

    Steffan Member

    Hello i have clients that have a local mailbox and sends a copy to gmail/hotmail

    the mailbox is set up to place spam in the junk folder
    if header :contains "X-Spam-Flag" "YES" { fileinto "Junk"; stop; }

    But the spam is also forwarded to gmail/hotmail.
    Is there a way to prevent this?

    Hotmail is keeping sending me complaint emails abouth this.
     
  2. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    I think you'd have to delete the forward in ISPConfig, then create sieve filters to handle the forward either by matching that header or by placing it after a rule which moves spam to the junk folder and stops processing.
     
  3. Steffan

    Steffan Member

    that is not a option if you have costumers that have access to there own settings.
    It would be a nice addon future
     
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    True - you could add a feature request in the issue tracker for that. A possibly workable solution is to set up the managesieve daemon and let users manage their sieve filters in roundcube.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    How do you forward these emails to hotmail, with the 'send copy to' field of the mailbox?
     
  6. Steffan

    Steffan Member

    sorry mist your message, yes the put it in the send copy field
     

Share This Page