update .sieve files

Discussion in 'Installation/Configuration' started by Steffan, May 14, 2018.

  1. Steffan

    Steffan Member

    Hello,

    i have 100+ mailboxes with .sieve files in there home directory
    These files hase old values in it:
    require ["fileinto", "regex", "date", "relational", "vacation"];
    keep;

    Newly created mailboxes are symlinked
    .sieve -> sieve/ispconfig.sieve

    With new content:
    require ["fileinto", "regex", "date", "relational", "vacation"];

    # Move spam to spam folder
    if header :contains "X-Spam-Flag" "YES" {
    fileinto "Junk";
    # Stop here so that we do not reply on spams
    stop;
    }
    keep;

    Is there a way to update the old files.
    I try-ed the sync mailbox and sync mailfilter options but nothing happens
    I try-ed to delete the file for one box and sync mailfilter, no new file created.

    When uncheck the redirect email to Junk, and enable it again regenereated the file.
    Im looking for a way to do this for all mailboxes so i dont need to update them one by one.

    Any idees?
     

Share This Page