Filter on CC

Discussion in 'ISPConfig 3 Priority Support' started by jon, Nov 23, 2017.

  1. jon

    jon Member

    I really love the sieve plugin for ISPConfig and RoundCube. It's easy to make rules and they work via webmail or IMAP/POP3. My problem is I'd like to be able to filter on CC as well as To/From/Subject. Is that possible in a similar way?
     
  2. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    It should be able the same way as Cc is a header entry just like To and From. Only Bcc won't work as it does not appear as a real header inside the mail.
     
  3. jon

    jon Member

    Sorry, I don't exactly understand. It could work with some programming, or it should work like that as it is right now?
     
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    It means it is possible by using custom filter rules but not using the easy select boxes.
    You should be able to add a custom filter like
    Code:
    if anyof
    (
    address :is ["To"] "[email protected]"
    address :is ["Cc"] "[email protected]"
    )
    {
    fileinto "FolderXY";
    stop;
    }
    
     
  5. jon

    jon Member

    Where do I add a custom filter?
    Can I make a feature request? Many email lists use CC and it seems like a feature that should be included.
     
  6. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    jon likes this.
  7. jon

    jon Member

    Thank you!
     

Share This Page