Forward Email via Custom Rules

Discussion in 'General' started by hiroroii, Jan 16, 2019.

  1. hiroroii

    hiroroii New Member

    I followed the steps on forwarding email through custom rules.

    filling up the custom rules field with:

    redirect '<myemail>';
    keep;

    but it won't forward and shows these errors in the log:
    sieve: info: started log at Jan 16 19:00:14.
    main script: line 13: error: unexpected character(s) starting with '''.
    main script: line 13: error: expected end of command ';' or the beginning of a compound block '{', but found unknown characters.
    main script: line 13: error: unexpected character(s) starting with '@'.
    main script: line 13: error: unexpected character(s) starting with '.'.
    main script: line 13: error: unexpected character(s) starting with '''.
    main script: error: parse failed.

    Server is config to dovecot / sieve.

    Please help. Thanks.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Try using double quotes to encapsulate the email address and not single quotes and ensure that <myemail> is just the email address and does not contain any quotes. If this does not help, then please post the complete generated .sieve file that you can find in the Maildir of the user.
     

Share This Page