Forwarding email filter based on object

Discussion in 'General' started by dnut, Nov 11, 2021.

  1. dnut

    dnut New Member

    Hello there,
    I searched both in the forum and around the web but I didn't found how to impement this function.

    I would like to set a filter to forward certain emails received on a emailbox to other (external) email boxes, depending on the content of the object.
    So, as example, if the object contains "xyz" the email will be forwarded to [email protected]

    Roundcube filters don't allow me to do that, they just allow to set and forward all messages to email address.
    The same I can do on ISP Config management panel.

    Any suggestions?

    Thank you
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You can do that with a custom sieve filter (see last tab of the mailbox). Search at google e.g. for "sieve filter body contains" to get examples.
  3. Mangesh Thakur

    Mangesh Thakur New Member

    By default, the Sieve body check presents the message body as a single line string that contains no carriage returns or line feeds, allowing you to easily match regex rules against the entire message as in the “body :regex” example above.
    Server Name: IMAP Server:
    Server Port: 4190 (Default)
  4. Jesse Norell

    Jesse Norell Well-Known Member Staff Member Howtoforge Staff

    Roundcube has a nice sieve filter editor with managesieve support that you can setup if you want to use that as the interface.

Share This Page